This commit is contained in:
Alex
2017-06-13 13:39:44 +03:00
parent b6514e2188
commit 301bf9554a
2 changed files with 80 additions and 2 deletions

View File

@@ -57,4 +57,83 @@ focus.de#%#AG_onLoad(function() { $('div[class^="surftippTitle"]').closest('div[
! https://forum.adguard.com/index.php?threads/12079/
multiup.org##div[class^="span"] > div[class="well"][style^="height"]
! https://github.com/AdguardTeam/AdguardForAndroid/issues/718
pocketnow.com##div+center > small
pocketnow.com##div+center > small
!
!##############################################################
!##############################################################
!##############################################################
!
! https://github.com/AdguardTeam/AdguardFilters/issues/3708
! Hints testing
!
!+ HINT_NAME1(PARAMS) HINT_NAME2(PARAMS)
!
! List of existing platforms:
!
! windows -- Adguard for Windows (https://filters.adtidy.org/windows/filters/5.txt)
! mac -- Adguard for Mac (https://filters.adtidy.org/mac/filters/5.txt)
! android -- Adguard for Android (https://filters.adtidy.org/android/filters/5.txt)
! ios -- Adguard for iOS (https://filters.adtidy.org/ios/filters/5.txt)
! ext_chromium -- Adguard browser extension for Chrome (https://filters.adtidy.org/extension/chromium/filters/5.txt)
! ext_ff -- Adguard browser extension for Firefox (https://filters.adtidy.org/extension/firefox/filters/5.txt)
! ext_safari -- Adguard browser extension for Safari (https://filters.adtidy.org/extension/safari/filters/5.txt)
! ext_android_cb -- Adguard Content Blocker (https://filters.adtidy.org/extension/android-content-blocker/filters/5.txt)
! Examples:
! This rule will be available for Windows, Mac, and Android only:
! !+ PLATFORM(windows,mac,android)
! ||example.org^
! This rule will be available for every platform except Safari extension, iOS, and Android content blocker:
! !+ NOT_PLATFORM(ext_safari, ext_android_cb, ios)
! ||example.org^
!
!
!+ PLATFORM(windows)
||test-windows.org^
!+ PLATFORM(mac)
||test-mac.org^
!+ PLATFORM(android)
||test-android.org^
!+ PLATFORM(ios)
||test-ios.org^
!+ PLATFORM(ext_chromium)
||test-ext_chromium.org^
!+ PLATFORM(ext_ff)
||test-ext_ff.org^
!+ PLATFORM(ext_safari)
||test-ext_safari.org^
!+ PLATFORM(ext_android_cb)
||test-ext_android_cb.org^
!
!
!+ NOT_PLATFORM(windows)
||test-NOT-windows.org^
!+ NOT_PLATFORM(mac)
||test-NOT-mac.org^
!+ NOT_PLATFORM(android)
||test-NOT-android.org^
!+ NOT_PLATFORM(ios)
||test-NOT-ios.org^
!+ NOT_PLATFORM(ext_chromium)
||test-NOT-ext_chromium.org^
!+ NOT_PLATFORM(ext_ff)
||test-NOT-ext_ff.org^
!+ NOT_PLATFORM(ext_safari)
||test-NOT-ext_safari.org^
!+ NOT_PLATFORM(ext_android_cb)
||test-NOT-ext_android_cb.org^
!
!
!+ PLATFORM(windows,mac,android)
||test-windows-mac-android.org^
!
!
!+ NOT_PLATFORM(windows,mac,android)
||test-NOT-windows-mac-android.org^
!
!
!+ NOT_PLATFORM(ext_android_cb, ext_ff, ext_safari, ios)
||test-NOT-ext_android_cb-ext_ff-ext_safari-ios^
!
!
!+ PLATFORM(ext_android_cb, ext_ff, ext_safari, ios)
||test-ext_android_cb-ext_ff-ext_safari-ios^

View File

@@ -4,4 +4,3 @@
! antiblock.org test page
antiblock.org#%#var AG_AntiAntiBlock = function() { var baseCreateElement = document.createElement; document.createElement = function(name) { if (name && name.match(/div|font|center/i)) { return null; } else { return baseCreateElement(name); } } };
antiblock.org#%#AG_onLoad(function() { AG_AntiAntiBlock(); });
!------------------------------------------------