[TS] Citrus GFork

NOW with version number in Listing!! Advance table view for Greasy Fork. Fixes display bugs. 100 scripts display at a time, favoured user count, remembers last sort order used on Script Listing, "My" Profile Listing, and third Party Listing. Able to distinguish between, Library, Unlisted and Deleted scripts using text icons. Beside FireFox, it now supports Opera and Chrome.

< Feedback on [TS] Citrus GFork

Question/comment

§
Posted: 2019-11-19
Edited: 2019-11-19

Need Update for [Beta] User CSS support - There is now a JS/CSS switch in the sidebar script lists.

[Beta] User CSS support I don't see the switch with Citrus enable...

For test i created a User CSS : Flickr WideScreen - BigONE v.107 - TEST UserCSS style

I can't see it in the the script listing because - with Citrus enable - the switcher CSS / Javascript is not present.

Can you find a way to add this switcher or/and filter the list to show all ( User CSS + Javascipt).... and add a different style for displaying User CSS script ? ?

§
Posted: 2019-12-21
Edited: 2019-12-21

For: Userstyles / Greasy Fork Enhancer Dark-Grey As workaround about your script and User CSS JS ( New Functionality of GreasyFork). To see the SELECT LANGUAGE (CSS or JS) : I have ediedt the script : remove line (or better, put // before it) // TSL.removeNode("script-list-option-groups");

and added some CSS ( at the beginning of my Userstyle)

§
Posted: 2020-01-15

I continue to test some tweaks by adding: 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 += '<span class="lang-' + lang + '" />';
                row.setAttribute(lang, "");
            }
// OK - TEST 3 - USERCSS / JS ADD TAG LANG data-css-available-as-js="true" - 
            function AddScriptUserCss(install)
            {
                el.innerHTML += '<span class="usercssjs-' + install + '" />';
                row.setAttribute(install, "");
            }

The results with Citrus and my: Userstyles / Greasy Fork Enhancer Dark-Grey

https://i.imgur.com/LC4nL7p.png

Without Citrus:

https://i.imgur.com/ur3mrgC.png

Post reply

Sign in to post a reply.