Merge branch 'master' of github.com:AdguardTeam/AdguardFilters

This commit is contained in:
zloyden
2024-02-19 15:58:31 +03:00
4 changed files with 8 additions and 1 deletions

View File

@@ -1056,6 +1056,10 @@ pornhub.com,pornhub.org,pornhub.net#%#//scriptlet('prevent-setTimeout', '\x41\x6
!
! NOTE: Regular rules
!
! https://github.com/AdguardTeam/AdguardFilters/issues/173052
uflash.tv#%#//scriptlet('prevent-fetch', '/code.js')
uflash.tv#%#//scriptlet('prevent-window-open', 'adblock', '1')
uflash.tv#%#//scriptlet('set-constant', 'popBlocked', 'falseFunc')
! https://github.com/AdguardTeam/AdguardFilters/issues/173118
aviationsourcenews.com##body div.mfp-wrap
aviationsourcenews.com##body div.mfp-bg

View File

@@ -2394,7 +2394,7 @@ telsu.fi#$#.pb_t { display: none !important; }
ylilauta.org##.card.a
ylilauta.org#%#//scriptlet('prevent-fetch', 'es.ylilauta')
ylilauta.org#$#iframe.a { position: absolute !important; left: -3000px !important; }
ylilauta.org#%#!function(){const t={Reflect:window.Reflect,includes:String.prototype.includes,match:String.prototype.match,append:Element.prototype.append,Error:window.Error},e=new Set(["Error","confirm","setTimeout","String.prototype.match","String.prototype.includes","Element.prototype.append","Object.defineProperty"]),n=(t,e)=>{t.forEach((t=>{const n=t.split(".");n.reduce(((t,e,c)=>(c===n.length-1&&(t[e]=u(t[e])),t[e])),e)}))},c=/(( ){4})?(at Reflect\.get \(<anonymous>\)\n|at Object\.(get|apply)[\s\S]*?\n|at Object\.(wrapper)?[Cc]onstruct[\s\S]*?<anonymous>[\s\S]*?\n)/g,r="Proxy.<anonymous>",a="Proxy.value",o="Function.value",l=/Proxy\.((?!.*(value|<anonymous>)).*?) /,s="checkTampering";let i;const u=d=>{const p={apply:(l,i,d)=>{const p=(new t.Error).stack,m=d[0],f=i;switch(l.name){case"confirm":if(m&&t.includes.call(m.toString(),"Error loading advertisements"))return;break;case"setTimeout":if(m&&(t.includes.call(m.toString(),"this.#test")||t.includes.call(m.toString(),"this.#showFail")))return;break;case"match":case"includes":if(f)return"string"==typeof f&&(i=i?.replaceAll?.(c,"")),t.Reflect.apply(l,i,d);break;case"append":{const c=t.Reflect.apply(l,i,d);if(t.includes.call(p,s)&&m&&m.matches("iframe")){const r=document.createElement("iframe");return t.append.call(document.body,r),n(e,r.contentWindow),y=e,k=d[0].contentWindow,g=r.contentWindow,y.forEach((t=>{let e=g;const n=t.split(".");n.reduce(((t,c,r)=>(e=e[c],r===n.length-1&&(t[c]=e),t[c])),k)})),r.remove(),c}break}case"defineProperty":t.includes.call(p,s)&&d[2]?.value&&d[2].value instanceof Object&&(d[2].value=u(d[2].value))}var y,k,g;try{return t.Reflect.apply(l,i,d)}catch(t){throw t instanceof Error&&(t.stack=t.stack.replaceAll(c,""),t.stack=t.stack.replace(r,"Function.caller"),t.stack=t.stack.replace(a,o)),t}},get:(e,n,s)=>{if("toString"===n)return e.toString.bind(e);try{return t.Reflect.get(e,n,s)}catch(e){if(e instanceof Error&&(!i||i===e?.stack||t.includes.call(e?.stack,"Super constructor may only be called once"))){let n,s;t.match.call(e.stack,l)&&(s=t.match.call(e.stack,l)[0],n=`Function.${t.match.call(e.stack,l)[1]}`);const i=n||"Function.<anonymous>",u=s||r;e.stack=e.stack.replaceAll(c,""),e.stack=e.stack.replace(u,i),e.stack=e.stack.replace(a,o)}throw e}},construct:(e,n,c)=>{const r=(new t.Error).stack;if("Error"===e.name)if(t.includes.call(r,s)){const r=t.Reflect.construct(e,n,c);return i=r?.stack,r}return t.Reflect.construct(e,n,c)}};return new Proxy(d,p)};n(e,window),document.addEventListener("load",(function(t){"IFRAME"===t.target.nodeName&&"about:blank"===t.target.src&&n(e,t.target.contentWindow)}),!0);new MutationObserver(((t,c)=>{const r=document.querySelector("body > iframe");r&&(c.disconnect(),n(e,r.contentWindow),r.addEventListener("load",(function(t){n(e,t.target.contentWindow)}),!0))})).observe(document,{attributes:!0,childList:!0,subtree:!0})}();
ylilauta.org#%#!function(){const t=()=>{},e={Reflect:window.Reflect,includes:String.prototype.includes,match:String.prototype.match,append:Element.prototype.append,Error:window.Error},c=new Set(["Error","confirm","setTimeout","String.prototype.match","String.prototype.includes","Element.prototype.append","Object.defineProperty"]),n=(t,e)=>{t.forEach((t=>{const c=t.split(".");c.reduce(((t,e,n)=>(n===c.length-1&&(t[e]=d(t[e])),t[e])),e)}))},r=/(( ){4})?(at Reflect\.get \(<anonymous>\)\n|at Object\.(get|apply)[\s\S]*?\n|at Object\.(wrapper)?[Cc]onstruct[\s\S]*?<anonymous>[\s\S]*?\n)/g,a="Proxy.<anonymous>",o="Proxy.value",l="Function.value",s=/Proxy\.((?!.*(value|<anonymous>)).*?) /,i="checkTampering";let u;const d=p=>{const m={apply:(s,u,p)=>{const m=(new e.Error).stack,f=p[0],y=u;switch(s.name){case"confirm":if(f&&e.includes.call(f.toString(),"Error loading advertisements"))return;break;case"setTimeout":f&&(e.includes.call(f.toString(),"this.#test")||e.includes.call(f.toString(),"this.#showFail"))&&(p[0]=t);break;case"match":case"includes":if(y)return"string"==typeof y&&(u=u?.replaceAll?.(r,"")),e.Reflect.apply(s,u,p);break;case"append":{const t=e.Reflect.apply(s,u,p);if(e.includes.call(m,i)&&f&&f.matches("iframe")){const r=document.createElement("iframe");return e.append.call(document.body,r),n(c,r.contentWindow),k=c,g=p[0].contentWindow,h=r.contentWindow,k.forEach((t=>{let e=h;const c=t.split(".");c.reduce(((t,n,r)=>(e=e[n],r===c.length-1&&(t[n]=e),t[n])),g)})),r.remove(),t}break}case"defineProperty":e.includes.call(m,i)&&p[2]?.value&&p[2].value instanceof Object&&(p[2].value=d(p[2].value))}var k,g,h;try{return e.Reflect.apply(s,u,p)}catch(t){throw t instanceof Error&&(t.stack=t.stack.replaceAll(r,""),t.stack=t.stack.replace(a,"Function.caller"),t.stack=t.stack.replace(o,l)),t}},get:(t,c,n)=>{if("toString"===c)return t.toString.bind(t);try{return e.Reflect.get(t,c,n)}catch(t){if(t instanceof Error&&(!u||u===t?.stack||e.includes.call(t?.stack,"Super constructor may only be called once"))){let c,n;e.match.call(t.stack,s)&&(n=e.match.call(t.stack,s)[0],c=`Function.${e.match.call(t.stack,s)[1]}`);const i=c||"Function.<anonymous>",u=n||a;t.stack=t.stack.replaceAll(r,""),t.stack=t.stack.replace(u,i),t.stack=t.stack.replace(o,l)}throw t}},construct:(t,c,n)=>{const r=(new e.Error).stack;if("Error"===t.name)if(e.includes.call(r,i)){const r=e.Reflect.construct(t,c,n);return u=r?.stack,r}return e.Reflect.construct(t,c,n)}};return new Proxy(p,m)};n(c,window),document.addEventListener("load",(function(t){"IFRAME"!==t.target.nodeName||"about:blank"!==t.target.src&&""!==t.target.src||n(c,t.target.contentWindow)}),!0);new MutationObserver(((t,e)=>{const r=document.querySelector("body > iframe");r&&(e.disconnect(),n(c,r.contentWindow),r.addEventListener("load",(function(t){n(c,t.target.contentWindow)}),!0))})).observe(document,{attributes:!0,childList:!0,subtree:!0})}();
!#endif
! ruutu.fi - video ads
||nelonenmedia-pmd-ads-*.nm-stream.nelonenmedia.fi/*.mp4$media,redirect=noopmp4-1s,domain=ruutu.fi

View File

@@ -290,6 +290,8 @@ kat.*,kickass.*,kickass2.*,kickasstorrents.*,kat2.*,kattracker.*,thekat.*,thekic
!
!
!
! https://github.com/AdguardTeam/AdguardFilters/issues/173052
uflash.tv#%#//scriptlet('abort-current-inline-script', 'String.prototype.concat', 'sessionStorage')
! https://github.com/AdguardTeam/AdguardFilters/issues/172857
moviekhhd.biz#%#//scriptlet('prevent-setTimeout', 'ads/Ads')
! https://github.com/AdguardTeam/AdguardFilters/issues/172609

View File

@@ -311,6 +311,7 @@ $script,third-party,denyallow=linkvertise.com|fastly.net|statically.io|sharecast
!
! NOTE: Specific rules
!
uflash.tv##div[id^="ad-float-"]
luxtimes.lu##div[id^="ad_leaderboard"]
luxtimes.lu##div[id^="ad_rectangle"]
fappeningbook.com##a[href="https://w1.fappeningbook.com/"]