Coder Social home page Coder Social logo

Comments (5)

xiaoxiaoflood avatar xiaoxiaoflood commented on May 22, 2024

I don't know subscript tabmixplus.

In fact, UCJS in subfolders were loaded in previous version, but I've removed this feature to simplify the code and because I don't see the point of not having all the UCJS in root. Some complex UCJS may need extra files, which should be placed in subfolders, but this is handled by the UCJS itself. Why do you need UCJS in subfolders?

Previous version with subfolders support (very bloated and old):
https://github.com/xiaoxiaoflood/firefox-scripts/blob/6aec93b50ae0ced692fcdd152cf17ceed848397b/chrome/userChrome.js
Forked from the original:
https://github.com/alice0775/userChrome.js/blob/master/userChrome.js

Current version:
https://github.com/xiaoxiaoflood/firefox-scripts/blob/master/chrome/utils/userChrome.jsm

rebuild_userChrome.uc.js was also very simplified and optimized:
c644d19#diff-afcd442200122c2173e71f7f2bfee5b3
Forked from the original:
https://github.com/alice0775/userChrome.js/blob/master/rebuild_userChrome.uc.js

from firefox-scripts.

GoogleBeEvil avatar GoogleBeEvil commented on May 22, 2024

subscript tabmix were build-in folders that will be load *.uc.js in them
https://github.com/alice0775/userChrome.js/blob/master/userChrome.js#L79
the reason i need this is i can put uc.js in diffrent folder classified by diffrent function,if putting too much script .in root dir, the uc.js manager will have a long list that maybe need scroll to show which i wana turn on /of

from firefox-scripts.

GoogleBeEvil avatar GoogleBeEvil commented on May 22, 2024

BTW: there some uc.js file are not loaded whilesome other modified 57+ userchrome.js did.i am not code,maybe missing some jsm file? the addonpage as eg(add an icon in addon page to show uc.js file ).

https://github.com/GoogleBeEvil/userChrome.js/blob/master/files.7z

from firefox-scripts.

xiaoxiaoflood avatar xiaoxiaoflood commented on May 22, 2024

Your AddonsPage.uc.js has compatibility restricted to alice0775's userChrome.js, as you can see by some references to userChrome_js, which inexist in my updated userChrome.jsm.

For instance, userChrome_js.scripts now is _uc.scripts. But you can't simply replace them, the structure has changed (mine is Object, alice0775's is Array, also Firefox no longer supports overlays...).

Sorry, but I made my userChrome.jsm to integrate with the UCJS I use (and vice versa). Other UCJS that are intended to be used with my userChromeJS should take this into account OR be generic enough to work without fixes.

And I don't see the point of use AddonsPage.uc.js when rebuild_userChrome.uc.js is better and does the same (toggle on/off, edit, delete).

In the long run I might implement UCJS autoupdate (like Greasemonkey's userscript updater and Stylish's userstyle updater), then I would recover something like AddonsPage.uc.js. Just maybe.

Back to the issue, sorry but at least for now I have no plan to rebuild subfolders support. But I'll keep it open because I can change my mind.

from firefox-scripts.

GoogleBeEvil avatar GoogleBeEvil commented on May 22, 2024

ok.

from firefox-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.