Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avotoko/ubo-resource

uBlock Origin Experimental Scriptlets Resource
https://github.com/avotoko/ubo-resource

Last synced: 14 days ago
JSON representation

uBlock Origin Experimental Scriptlets Resource

Awesome Lists containing this project

README

        

## **NOTE: This repository will not be maintained in the future.**

# uBOXSR: uBlock Origin Experimental Scriptlets Resource
uBlock Origin scriptlets for anti anti-adblock
Tested with firefox and chrome on Windows.

## Installation
Add uBOXSR URL to end of 'userResourcesLocation' in 'advanced settings'
e.g. `userResourcesLocation unset https://raw.githubusercontent.com/avotoko/ubo-resource/main/avotoko-ubo-resource.txt`
## Usage
#### examples
```
! https://www.reddit.com/r/uBlockOrigin/comments/p29y3w/these_guys_boast_combatting_all_adblocks/
! https://github.com/uBlockOrigin/uAssets/issues/9754
! https://github.com/AdguardTeam/AdguardFilters/issues/90634
! https://github.com/AdguardTeam/AdGuardExtra/issues/236
! https://ygosu.com/
! Ads appeared in firefox at Mon, 16 Oct 2023 01:18:16 GMT.
! The following filters do not require avotoko-ubo-resource.txt
!#if env_firefox
! Remove ad placeholder at the top of the top page
ygosu.com###contain > div[style*="height:"]
! block ad-shield scripts
/[a-z0-9]{50,}/$script,domain=ygosu.com
script.min.js$script,xhr,domain=ygosu.com
! disable removing tag
ygosu.com##+js(aost, document.getElementsByTagName, loader.min.js)
!#endif

! Prevent ad-shield loading alternative ads.
! maple.inven.co.kr,ppss.kr,ygosu.com##+js(avotoko-abort-on-mutation, Promise, /attr IMG\.\S+ src old:data:\S+ new:https:(?!.*?loading(_m)?\.gif$).*$/)
! Prevent ad-shield unloading content images.
! maple.inven.co.kr,ppss.kr,ygosu.com##+js(avotoko-abort-on-mutation, Element.prototype.removeAttribute, /attr IMG\.\S+ src old:data:\S+ new:https:(?!.*?loading(_m)?\.gif$).*$/)
! To output the mutation log, append ',,log:1' to the end.
! ppss.kr,ygosu.com##+js(avotoko-abort-on-mutation, Promise, /attr IMG\.\S+ src old:data:\S+ new:https:(?!.*?loading(_m)?\.gif$).*$/,,log:1)

! https://github.com/uBlockOrigin/uAssets/issues/8489
! https://github.com/uBlockOrigin/uAssets/issues/14426
! Update at Wed, 02 Aug 2023 08:38:15 GMT.
! Currently uBO's native scriptlets can solve the issue.
! block ad network
||adskeeper.com^$script,domain=forum.release-apk.com
! Hide top ad placeholder.
forum.release-apk.com##div[data-phpbb-ads-id]
! Disable ad display status judgment code.
forum.release-apk.com##+js(rpnt, script, /\(\n\s+(.|\n)+?\n\s+\)/, true)
! Disable brute-force time elapsed wait functions.
forum.release-apk.com##+js(rpnt, script, /\b\w{10}\(\d{4}\)/, true)

! https://www.reddit.com/r/uBlockOrigin/comments/n71ene/this_website_can_detect_that_i_am_using/
! https://thehouseofportable.com/download/?id=351&k=6
! June 7 2021 update
! Bypass the anti-adblock.
thehouseofportable.com##+js(avotoko-fake-promise, resolve, false, 'on/favicon')
! Increase the speed of generating links.
thehouseofportable.com##+js(avotoko-fake-object-property, setTimeout, hasOwnProperty: false)
thehouseofportable.com##+js(avotoko-fake-object-property, setTimeout, toString: "function(){[native code]}")
thehouseofportable.com##+js(nano-stb,, 1000)
thehouseofportable.com##+js(nano-stb,, 2000)
thehouseofportable.com##+js(nano-stb,, 3000)
thehouseofportable.com##+js(nano-stb,, 4000)
thehouseofportable.com##+js(nano-stb,, 5000)
thehouseofportable.com##+js(nano-stb,, 6000)

! https://github.com/uBlockOrigin/uAssets/issues/7320
! https://www.joysound.com/web/search/song/746956
! May 19 2021
joysound.com##body:style(-moz-user-select:text!important; -webkit-user-select:text!important; user-select:text!important)
joysound.com##+js(avotoko-on-handler-defuser, body, copy|selectstart|contextmenu)
```