Skip to content

Commit

Permalink
Finalize converting resources.txt into immutable resources
Browse files Browse the repository at this point in the history
With hindsight, I revised decisions made earlier during
this development cycle:

Un-redirectable scriptlets have been removed from
/web_accessible_resources and instead put in the new
/assets/resources/scriptlets.js, which contains all
scriptlets used for web page injection purpose.

uBO will no longer fetch a remote version of built-in
resources.

Advanced setting `userResourcesLocation` will still be
honoured by uBO, and if set, will be fetched every
time at least one asset is updated.
  • Loading branch information
gorhill committed Jul 6, 2019
1 parent 813b390 commit 6f5aa94
Show file tree
Hide file tree
Showing 21 changed files with 1,088 additions and 973 deletions.
5 changes: 1 addition & 4 deletions assets/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
"ublock-resources": {
"content": "internal",
"updateAfter": 7,
"contentURL": [
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/resources.txt",
"assets/ublock/resources.txt"
]
"contentURL": "assets/ublock/resources.txt"
},
"ublock-filters": {
"content": "filters",
Expand Down
Loading

0 comments on commit 6f5aa94

Please sign in to comment.