Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

Allow custom resource versions from user specific folder #174

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Eissturmvogel
Copy link

Loading custom resources from a folder specified in addon options by user. Depends on resources.js paths, so its only for adding new versions of supported resources at the moment.

README.md Outdated
@@ -5,6 +5,11 @@ A [web browser extension](https://decentraleyes.org) that emulates Content Deliv

> **Note:** Decentraleyes is no silver bullet, but it does prevent a lot of websites from making you send these kinds of requests. Ultimately, you can make Decentraleyes block requests for any missing CDN resources, too.

## Custom Resources

You can set a folder path to a custom resource folder in Addon options menu. Place your versions of supported resources, complying with the sheme of bundeled resources (without .dec extension). See resources.js paths for currently supported resources and file names.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean "complying with the scheme of bundled resources"?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, thanks.

@Synzvato
Copy link
Owner

Synzvato commented Jul 7, 2017

Hi @Eissturmvogel and first of all many thanks for your contribution! You might be wondering why I haven't responded to this earlier. The answer is, I'm (still) not sure what to do with this. Not because I do not like the idea of custom resources, but because this add-on is currently being rewritten.

Mozilla will be dropping support for non-WebExtensions in Firefox 57. This means that introducing this feature now, would mean that we would have to take it out in the next version. However, once the port is finished (and stable), we could definitely look into the possibilities of introducing it there.

If we manage to implement it in the new version, I would be happy to use your contribution to bring the same feature to Firefox < 57 and, more importantly, alternative browsers (like Pale Moon).

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

Successfully merging this pull request may close these issues.

None yet

3 participants