Skip to content
Permalink
Browse files
Use native implementation of :nth-ancestor(n)
  • Loading branch information
JustOff committed Jul 11, 2020
1 parent b24637a commit 02ab9bb2a9069dd68a9ba69ca00f00477e7d139f
Showing with 1 addition and 10 deletions.
  1. +0 −9 src/js/assets.js
  2. +1 −1 src/js/start.js
@@ -352,15 +352,6 @@ api.fetchFilterList.legacy = {
'(norafif,': '(no-requestAnimationFrame-if.js,',
'(noeval)': '(noeval.js)',
'(nowebrtc)': '(nowebrtc.js)',
':nth-ancestor(1)': ':xpath(..)',
':nth-ancestor(2)': ':xpath(../..)',
':nth-ancestor(3)': ':xpath(../../..)',
':nth-ancestor(4)': ':xpath(../../../..)',
':nth-ancestor(5)': ':xpath(../../../../..)',
':nth-ancestor(6)': ':xpath(../../../../../..)',
':nth-ancestor(7)': ':xpath(../../../../../../..)',
':nth-ancestor(8)': ':xpath(../../../../../../../..)',
':nth-ancestor(9)': ':xpath(../../../../../../../../..)',
':upward(1)': ':xpath(..)',
':upward(2)': ':xpath(../..)',
':upward(3)': ':xpath(../../..)',
@@ -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.21") <= 0 ) {
if ( vAPI.app.compareVersions(lastVersion, "1.16.4.22") <= 0 ) {
µb.assets.purge(/./, 'public_suffix_list.dat');
}

0 comments on commit 02ab9bb

Please sign in to comment.