Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Ready User Script #36

Open
dnmTX opened this issue Jun 2, 2021 · 5 comments
Open

[feature request] Ready User Script #36

dnmTX opened this issue Jun 2, 2021 · 5 comments

Comments

@dnmTX
Copy link

dnmTX commented Jun 2, 2021

Hi there 👋 Any chance to provide here ready user script with ability to be fetched and updated,something like:
// @version .....
// @license .......
// @downloadURL ......
// @updateURL .....
The extension works like charm,i just want to offload some to my adblocker which is perfectly capable to run it and in this case,at least on my end no interaction is needed whatsoever. It's just works 😄
Thank you for considering it 👍

@gregsadetsky
Copy link
Owner

Hey, that's a great idea but unfortunately I don't think that this extension could be converted to an adblocker format. It does/has JavaScript logic to detect (and modify) the fields that are typically considered by browsers when considering whether to add a search engine automatically or not.

As far as I understand, adblockers typically rely on static rules i.e. css selectors and regex rule around script file names for instance, right?

@dnmTX
Copy link
Author

dnmTX commented Jun 2, 2021

@gregsadetsky it's a UserScript same as the ones in greasyfork.org. No difference whatsoever.
You can read about what's required in general: https://kb.adguard.com/en/general/userscripts but other then that there is nothing else to worry about. AdGuard happens to have a option to run UserScript(s) from it's interface,so why the heck not 😄

@dnmTX
Copy link
Author

dnmTX commented Jun 8, 2021

Greg @gregsadetsky don't mean to rush or anything,just curious,are you still up for it,or gave up on the idea?
It needs to be much simpler,no options,just whatever is required to run quietly in the background 😉

@gregsadetsky
Copy link
Owner

Thanks for the reminder -- I apologize, unfortunately I wouldn't have time to look into adapting the extension at this time.

@dnmTX
Copy link
Author

dnmTX commented Jun 8, 2021

Eh well... 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants