uBlockOrigin / uBlock-issues

This is the community-maintained issue tracker for uBlock Origin
https://github.com/gorhill/uBlock
945 stars 81 forks source link

nosiif in firefox android #3452

Open ghajini opened 7 hours ago

ghajini commented 7 hours ago

Prerequisites

I tried to reproduce the issue when...

Description

when i use goflix.sbs##+js(nosiif) on firefox android, it does not log setInterval call

 <script>
        setInterval(function(){
            $("form").submit();
        }, 2000);
    </script>

when i set breakpoint at setInterval , i see the script Unt

A specific URL where the issue occurs.

https://goflix.sbs/en/mirror/96e887fdaeb95099124dfdae16748ef0

Steps to Reproduce

  1. Add in my filters
    goflix.sbs##+js(nosiif)
    ||goflix.sbs^$document,csp=sandbox allow-same-origin allow-scripts allow-modals allow-orientation-lock allow-pointer-lock allow-presentation allow-top-navigation allow-popups,badfilter
  2. navigate to https://goflix.sbs/en/mirror/96e887fdaeb95099124dfdae16748ef0
  3. ad redirect is seen

Expected behavior

i could see logging in ublock logger & thus foil ad redirect with goflix.sbs##+js(nosiif, /\.submit/, 2000)

Actual behavior

can't see setInterval call being logged

uBO version

1.61

Browser name and version

firefox android 132.0

Operating System and version

android 12

gorhill commented 7 hours ago

Do you see it when forcing a reload of the page?

ghajini commented 7 hours ago

i don't see even when forcing reload of the page i checked with firefox android 132.0 ,firefox android nightly 134.0a1

gorhill commented 10 minutes ago

With Firefox 128, it became possible to inject the scriptlets directly into the MAIN world, so the solution is probably to avoid going through a blob for Firefox 128+.