xcv58 / Custom-JavaScript-for-Websites-2

Run custom JavaScript on any website
https://xcv58.xyz/inject-js
MIT License
180 stars 46 forks source link

Allow same script be set in multiple domains. #872

Closed marcussacana closed 1 year ago

marcussacana commented 1 year ago

Hi, I use this extension to help me reading, I like to set some changes in sites that I read things like the text color, size, background color and etc... But after keep using the extension for a while it became a copy and paste of the same script in many sites, and I achieved to reach the storage limit of domains one day.

I think if we can set a same script multiple domains to be actived will increase a my limit in this tool. Maybe even if it auto detect duplicate scripts and automatically merge in the same one will help too.

ohh, this isn't something really required, but consider a feature to do a early script injecting, currently the scripts seems to be one of the lasts in the page to be executed, then if I need a early injection I need go all my way to create a trampemonkey one... and I like more this tool.

marcussacana commented 1 year ago

after look the readme, it seems you aren't the official creator, therefore I think I'm using a old version from the store. So, my issue may be invalid, do you haven't send the tool for edge extension store?, I'm not the original author of a extension but they accept my one like as you can see: https://github.com/marcussacana/VNDB-Extender-2020

xcv58 commented 1 year ago

I think if we can set a same script multiple domains to be actived will increase a my limit in this tool.

You can use the regular expression to apply the same script to multiple domains.

And if you just need to customize the styles, I suggest you use this https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en. It's more reliable and specific for update website styles.

do you haven't send the tool for edge extension store?

No I haven't. I have published another to Edge store but haven't got a chance to upload this one: https://github.com/xcv58/Tab-Manager-v2#download-links

marcussacana commented 1 year ago

Fine, thx, but you have builds of the extension signed?