Userstyles / Greasy Fork Enhancer Dark-Grey v.245

Custom Widescreen CSS theme for and

< Feedback on Userstyles / Greasy Fork Enhancer Dark-Grey v.245

Question/comment

decembrePembuat
§
Posted: 17 Januari 2021

[TS] Citrus GFork
NOTE (01.2020):
Workaround about it and User CSS JS (a New Functionality of GreasyFork).

▶ ▶ [TS] Citrus GFork is broken since 2020.12.
But there is a fix:
If you want a temporary fix (before its author come back to us), try : Unofficial fix of the "Citrus GFork" script

▶▶ Others modifications it need:

▶ 1 - To see the SELECT LANGUAGE (CSS or JS) :

You need Edit the "[TS] Citrus GFork" script.
Remove the line (or better, put "//" before it), like that:
// TSL.removeNode("script-list-option-groups");

▶ 2 - To see ICONS for USERCSS scripts ( add these lines):
// TEST 1 - GET LANGUAGE
//data-script-language="css" data-css-available-as-js="true"
script.language = li.getAttribute("data-script-language");
script.Usercssjs = li.getAttribute("data-css-available-as-js");

// OK - TEST 2 - AddScriptLang(lang) - data-script-language="css" - data-script-language="css" data-css-available-as-js="true" -
if (script.language == "css") AddScriptLang("css");
else if (script.language == "js") AddScriptLang("js");
// OK - TEST 3 - JS + CSS - data-css-available-as-js="true"
if (script.Usercssjs == "true") AddScriptUserCss("true");
// OK - TEST 3 - USERCSS/ JS ADD TAG LANG
function AddScriptLang(lang)
{
el.innerHTML += '';
row.setAttribute(lang, "");
}
// OK - TEST 3 - USERCSS / JS ADD TAG LANG data-css-available-as-js="true" -
function AddScriptUserCss(install)
{
el.innerHTML += '';
row.setAttribute(install, "");
}

Post reply

Sign in to post a reply.