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

Enable users to create their own custom scriptlets #2267

Closed
rjkpa opened this issue Dec 25, 2016 · 9 comments

Comments

@rjkpa
Copy link

@rjkpa rjkpa commented Dec 25, 2016

Describe the issue

Enable users to create their custom java scriptlets by offering user-interface similar to My filters in uBO to build their own scriptlets namely My resources, that way they can build their scriptlets in no time without having to rely solely on resources.txt as it is not customisable to a user's needs.

Use-case

I came across a website where it was using a variable canRunAds which is not present in /resources.txt, so I cannot use the scriptlets available there and I have no way of inserting a new scriptlet in that file and retaining it as it would be erased with the extension update AND I have no way of creating a custom scriptlet by myself since there's no interface where I can create it. This is only one example as you can see numerous websites modify their own variables and use it, so a custom interface would be of great help where users can create their scriptlets in accordance to their needs without having to depend on Easylist or you or anyone else.

@gorhill

This comment has been minimized.

Copy link
Owner

@gorhill gorhill commented Dec 25, 2016

Greasemonkey or Tampermonkey.

@gorhill gorhill closed this Dec 25, 2016
@rjkpa

This comment has been minimized.

Copy link
Author

@rjkpa rjkpa commented Dec 25, 2016

Yes, I know about those extensions already, however I didn't want to install another extension for this functionality, hence my suggestion.

@gorhill gorhill added the declined label Dec 25, 2016
@gorhill gorhill reopened this Feb 18, 2017
@gorhill gorhill removed the declined label Feb 18, 2017
@gorhill gorhill closed this in 5015826 Mar 5, 2017
@gorhill

This comment has been minimized.

Copy link
Owner

@gorhill gorhill commented Mar 5, 2017

There is a new advanced setting, userResourcesLocation.

@TPS

This comment has been minimized.

Copy link

@TPS TPS commented Mar 7, 2017

Any idea if this could be used for, e.g., AdsBypasser's or AAK's JS to be a single integrated solution for adblock?

@uBlock-user

This comment has been minimized.

Copy link
Contributor

@uBlock-user uBlock-user commented Mar 7, 2017

Yes, that's what I'm wondering too. Can we load userscripts ?

@gorhill

This comment has been minimized.

Copy link
Owner

@gorhill gorhill commented Mar 7, 2017

It does no more than what it says it does, there is no reason to think otherwise. In case these questions are disguised feature requests, the answer is no, I do not intend to make it more than it is now.

@rjkpa

This comment has been minimized.

Copy link
Author

@rjkpa rjkpa commented Mar 11, 2017

Not like the one I was expecting, but still thanks for considering it after all.

@seanrand

This comment has been minimized.

Copy link
Contributor

@seanrand seanrand commented May 3, 2017

@gorhill, the (hidden) advanced settings don't seem to get applied to the incognito instance of uBlock when opening an incognito window in Chromium. Is this intended behaviour?

@gorhill

This comment has been minimized.

Copy link
Owner

@gorhill gorhill commented May 3, 2017

@seanrand Not by design, an unforeseen side effect of the current implementation. This needs its own issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.