Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filmy4wap.co.in #25859

Closed
10 of 11 tasks
ghajini opened this issue Oct 31, 2024 · 15 comments
Closed
10 of 11 tasks

filmy4wap.co.in #25859

ghajini opened this issue Oct 31, 2024 · 15 comments

Comments

@ghajini
Copy link
Collaborator

ghajini commented Oct 31, 2024

Prerequisites

  • This is NOT a YouTube, Facebook, Twitch or a shortener/hosting site report. These sites MUST be reported by clicking their respective links.
  • I read and understand the policy about what is a valid filter issue.
  • I verified that this issue is not a duplicate. (Search here to find out.)
  • I did not remove any of the default filter lists, or I have verified that the issue was not caused by removing any of the default lists.
  • I did not enable additional filter lists, or I have verified that the issue still occurs without enabling additional filter lists.
  • I do not have custom filters/rules, or I have verified that the issue still occurs without custom filters/rules.
  • I am not using uBlock Origin along with other content blockers.
  • I have verified that the web browser's built-in content blocker/tracking protection, network wide/DNS blocking, or my VPN is not causing the issue.
  • I have verified that other extensions are not causing the issue.
  • If this is about a breakage or detection, I have verified that it is caused by uBlock Origin and isn't a site issue.
  • I did not answer truthfully to ALL the above checkboxes.

URL(s) where the issue occurs.

filmy4wap.co.in

Description

there's ad popups on this site
when i use filters like

  1. For chrome/firefox
    filmy4wap.co.in##+js(refresh-defuser)
    filmy4wap.co.in##+js(nowoif)
    Images/thumbnails does not load, to reproduce you have to browse the page to different movies

  2. For firefox when i use filmy4wap.co.in##^meta[http-equiv="refresh"]
    sometimes not work & i can see from view-source:

<meta http-equiv="refresh" content="1; URL=https://amusementchillyforce.com/nk7fjajv?key=c52e851e3a3a68fb55fea6ca84277129"/>

is not removed by html filtering

Other extensions used

none

Screenshot(s)

Screenshot(s)

Configuration

Details
uBlock Origin: 1.60.0
Firefox Mobile: 131
filterset (summary):
 network: 142263
 cosmetic: 59425
 scriptlet: 25385
 html: 2341
listset (total-discarded, last-updated):
 added:
  ublock-annoyances: 5945-39, 2h.14m Δ
 default:
  user-filters: 1454-4, never
  ublock-filters: 41292-686, 2h.14m Δ
  ublock-badware: 11755-7, 2h.14m Δ
  ublock-privacy: 1378-23, 2h.14m Δ
  ublock-unbreak: 2554-9, 2h.14m Δ
  ublock-quick-fixes: 228-13, 2h.14m Δ
  adguard-mobile: 9934-104, 1d.4h.31m
  easylist: 80162-341, 2h.14m Δ
  easyprivacy: 53214-76, 2h.14m Δ
  urlhaus-1: 20480-0, 3h.33m
  plowe-0: 3542-1072, 1d.4h.31m
filterset (user): [array of 1122 redacted]
trustedset:
 added: [array of 6 redacted]
switchRuleset:
 removed:
  no-csp-reports: * true
userSettings:
 advancedUserEnabled: true
 userFiltersTrusted: true
 webrtcIPAddressHidden: true
hiddenSettings:
 filterAuthorMode: true
 trustedListPrefixes: ublock- user-
supportStats:
 allReadyAfter: 1710 ms
 maxAssetCacheWait: 770 ms
 cacheBackend: indexedDB
popupPanel:
 blocked: 23
 network:
  addthis.com: 2
  arvigorothan.com: 1
  brightcriticism.com: 1
  cank.xyz: 1
  d2klx87bgzngce.cloudfront.net: 1
  dcbbwymp1bhlf.cloudfront.net: 3
  googletagmanager.com: 2
  hollow-love.com: 1
  hygeistagua.com: 1
  intelligenceadx.com: 1
  popcash.net: 2
  shebudriftaiter.net: 1
  slight-tooth.com: 1
  uakarisigneur.com: 4
  zovidree.com: 1
 extended:
  ##[href^="https://www.highcpmrevenuegate.com/"]
  ##+js(prevent-refresh)
  ##+js(no-window-open-if)
@ghajini
Copy link
Collaborator Author

ghajini commented Oct 31, 2024

URL=
https://filmy4wap.co.in/page-download/264/PT-Sir-2024-Hindi-Tami-Dual-Audio-UnCut-South-Movie-HD-ESub
https://filmy4wap.co.in/

With

filmy4wap.co.in##+js(refresh-defuser)
filmy4wap.co.in##+js(nowoif)

page looks like below
https://github.com/user-attachments/assets/cacdb908-7577-4765-abed-bf4a0436e073
https://github.com/user-attachments/assets/2e26997b-caaa-4dcd-9d9e-bf6940916b4e

@stephenhawk8054
Copy link
Member

stephenhawk8054 commented Oct 31, 2024

refersh-defuser uses window.stop so it will stop all of websites' resources loading as a result.

@ghajini
Copy link
Collaborator Author

ghajini commented Oct 31, 2024

yeah seems so but can this be improved for chrome?
@gorhill

@stephenhawk8054
Copy link
Member

An approach is maybe reloading the images by appending ?, but this is only for images

filmy4wap.co.in##+js(refresh-defuser)
filmy4wap.co.in##+js(rpnt, script, window.dataLayer =, 'setTimeout(()=>{document.querySelectorAll("img[src^=\"http\"]").forEach(img=>{img.src+="?"})},2000);window.dataLayer =', sedCount, 1)

@stephenhawk8054
Copy link
Member

Oh, a silly solution is reloading body.innerHTML?

filmy4wap.co.in##+js(refresh-defuser)
filmy4wap.co.in##+js(rpnt, script, window.dataLayer =, 'setTimeout(()=>{document.body.innerHTML=document.body.innerHTML},2000);window.dataLayer =', sedCount, 1)

ghajini added a commit that referenced this issue Oct 31, 2024
@ghajini
Copy link
Collaborator Author

ghajini commented Oct 31, 2024

pls address for chrome, 2nd approach is good
this website changes tld frequently & ad ridden website

stephenhawk8054 added a commit that referenced this issue Oct 31, 2024
@ghajini
Copy link
Collaborator Author

ghajini commented Oct 31, 2024

As it's fixed
how to avoid breakage with only refresh-defuser for chrome?

@stephenhawk8054
Copy link
Member

Will need an update for the scriptlet itself I guess. Maybe a vararg to reload elements selected? I can't guarantee it works on all sites, but at least it works with this site.

@gorhill
Copy link
Member

gorhill commented Oct 31, 2024

yeah seems so but can this be improved for chrome?

I think it can. This is a very old scriptlet which I haven't revisited in a while. The documentation re. <meta http-equiv="refresh" ...> says:

The timer starts when the page is completely loaded, which is after the load and pageshow events have both fired.

The scriptlet currently acts x seconds after the page becomes interactive, which is earlier than page load event. I should change this to load event. Additionally, I will make the scriptlet report the content of the content attribute when it actually calls window.stop().

@stephenhawk8054
Copy link
Member

Related Adguard's issue: AdguardTeam/Scriptlets#464

@gorhill
Copy link
Member

gorhill commented Nov 1, 2024

I should change this to load event

This doesn't work. Backtracking, I think window.stop() works because it prevents the load event from being fired, and this event is necessary for the meta-refresh to take effect. So there is no real solution to this as far as I can tell.

Anyway, the problematic page is not really made to be used if it always redirect to something else, it's just a placeholder, not real, actual content. Is there a point to try to fix this page?

@ghajini
Copy link
Collaborator Author

ghajini commented Nov 1, 2024

there is real content, this is movie downloading website

also if i use below filter in adguard it works

filmy4wap.co.in#%#window.addEventListener("load",(()=>{window.stop()}));

@gorhill
Copy link
Member

gorhill commented Nov 1, 2024

there is real content, this is movie downloading website

Their meta-refresh prevents the site from being used.

@ghajini
Copy link
Collaborator Author

ghajini commented Nov 1, 2024

Their meta-refresh prevents the site from being used.

that's true (bad website code)
but if meta refresh is foiled it becomes usable again
i just want to prevent malicious ad from loading

gorhill added a commit to gorhill/uBlock that referenced this issue Nov 1, 2024
@ghajini
Copy link
Collaborator Author

ghajini commented Nov 6, 2024

@gorhill
https://filmy4wap.co.in/page-download/265/Vedaa-2024-Bollywood-Hindi-Movie-HD-ESub?
iam seeing that ad again when website is refreshed using logger window
STR=

1)Go to https://filmy4wap.co.in/page-download/265/Vedaa-2024-Bollywood-Hindi-Movie-HD-ESub

  1. remain in that tab, refresh page , no ad redirect
  2. now go to logger, wait 10-15 sec, use logger's refresh button for that site => no ad redirect
  3. do 3rd step again => ad redirect seen

ubo 1.61, opera

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@gorhill @ghajini @uBlock-user @stephenhawk8054 and others