// ==UserScript== // @name Droid Arabic Naskh for Google, Facebook, twitter... // @namespace DroidArabicNaskh // @description Droid Arabic Naskh for Google, Facebook, twitter, wikipedia... // @author adil // @include https://www.bbc.com/* // @include https://www.google.com/search* // @include https://www.dw.com/* // @include https://maktoob.yahoo.com/* // @include https://arabicpost.net/* // @include https://www.google.com/#* // @include http://mail.google.com/* // @include https://mail.google.com/* // @include http://*.mail.google.com/* // @include https://translate.google.com/* // @include https://mawdoo3.com/* // @include https://*.reuters.com/* // @include https://kooora.com* // @include https://*.kooora.com/* // @include http://news.google.com/* // @include https://news.google.com/* // @include http://*.news.google.com/* // @include https://*.news.google.com/* // @include https://*.wikipedia.org/* // @include https://twitter.com/* // @include http://facebook.com/* // @include https://facebook.com/* // @include http://*.facebook.com/* // @include https://*.facebook.com/* // @include https://www.youtube2.com/* // @include http://reddit.com/* // @include https://reddit.com/* // @include http://*.reddit.com/* // @include https://*.reddit.com/* // @run-at document-start // @version 6 // @grant GM_addStyle // @downloadURL none // ==/UserScript== (function() {var css = "* {font-family: \'Droid Arabic Naskh\' !important; font-size:18px !important; line-height: 30px !important;}"; GM_addStyle ('.r-o96wvk {width: 275px !important;}'); GM_addStyle ('.css-1dbjc4n.r-obd0qt.r-16y2uox.r-1g40b8q {width: 160px !important;}'); GM_addStyle ('.r-1hycxz {width: 250px !important;}'); GM_addStyle ('.r-1ye8kvj {width: 660px !important; max-width: 700px !important;}'); GM_addStyle ('.css-1dbjc4n.r-1awozwy.r-18kxxzh.r-5f2r5o {flex-basis: 5px !important;}'); GM_addStyle ('.pzfvarvs {max-width: 200px !important;}'); GM_addStyle ('.ji3y4fs9, .qtcz87ob, .taafd4c5, .h3ox8jsk, .q7g9yagz.q7g9yagz, .tukc5711.tukc5711 {width:704px !important;}'); GM_addStyle ('._6cuq {bottom: -28px;}'); GM_addStyle ('.gderk4og, .tn7ubyq0, .bsq9mrxq.bsq9mrxq {width:1100px !important; max-width: 1100px !important;}'); GM_addStyle ('.o387gat7 {flex-basis: 5px !important;}'); GM_addStyle ('.qmfd67dx {max-width: 800px !important;}'); GM_addStyle ('.oh7imozk {width: 780px !important;}'); GM_addStyle ('.ecyo15nh {width: 1200px !important;}'); GM_addStyle ('.r9c01rrb {max-height: calc(3em * (20/17) * 2) !important;}'); GM_addStyle ('@media {max-width: 620px !important;}'); if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof PRO_addStyle != "undefined") { PRO_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); var heads = document.getElementsByTagName("head"); if (heads.length > 0) { heads[0].appendChild(node); } else { // no head yet, stick it whereever document.documentElement.appendChild(node); } } })();