Skip to content

Commit

Permalink
Add nowoif alias for window.open-defuser scriptlet
Browse files Browse the repository at this point in the history
Related upstream change:
- gorhill/uBlock@6259f88
  • Loading branch information
JustOff committed Jul 4, 2020
1 parent 3524cbc commit 9f972e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/js/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ api.fetchFilterList.legacy = {
'(nostif)': '(no-setTimeout-if.js)',
'(window.open-defuser,': '(window.open-defuser.js,',
'(window.open-defuser)': '(window.open-defuser.js)',
'(nowoif,': '(window.open-defuser.js,',
'(nowoif)': '(window.open-defuser.js)',
'(json-prune,': '(json-prune.js,',
'(json-prune)': '(json-prune.js)',
'(set,': '(set-constant.js,',
Expand Down
2 changes: 1 addition & 1 deletion src/js/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ var onVersionReady = function(lastVersion) {
µb.assets.purge('ublock-resources');

// Force updating all filters due to filter syntax converter update.
if ( vAPI.app.compareVersions(lastVersion, "1.16.4.20") <= 0 ) {
if ( vAPI.app.compareVersions(lastVersion, "1.16.4.21") <= 0 ) {
µb.assets.purge(/./, 'public_suffix_list.dat');
}

Expand Down

0 comments on commit 9f972e0

Please sign in to comment.