Closed sabotendaaaa closed 1 year ago
I can't reproduce the popup on desktop after adding the filter, but I have adjusted it to work on mobile.
maybe on pause is necessary this too:
asianclub.tv###player_ad
Download > Link Still Has PopUps
The site uses window.location
to redirect to ads site
r.a.createElement(o, null), r.a.createElement("a", {
className: "".concat(n.text_container),
onClick: function() {
window.open("http://".concat(i), "_blank"), window.location = "https://remorsefulindependence.com/bR3/Vv0hP.3dpQvCbMmXVLJ-ZMDD0N0QN/DKQk1/NEznks5/L/TPQq0SNOD-Uw4dMiDLAd"
}
}
so I don't think we can do much with it except blocking that domain.
It requires modifying local storage and modifying content response (not possible yet due to security risk).
Test link=
NSFW
https://www.jpvhub.com/download?link=streamtape.com/v/ZDykQMqbRYsyYl
@gorhill will you see
random adserver redirections when clicking click me to download
detail what is happening = https://github.com/uBlockOrigin/uAssets/issues/16699#issuecomment-1426587477
window.location
used for ad redirect.
##+js(aopw, location)
or ##+js(aopw, location.href)
doesn't work?
##+js(aopw, location)
or##+js(aopw, location.href)
doesn't work?
no, did you try yourself?
window.location
is read-only, it can't be trapped.
so what will be solution here/generally as much no of nsfw sites/other file hosting sites uses window.location to redirect to ads & they are randomised ad servers
@gorhill It's read-only but it can still be changed?
window.location.href = "https://example.com"
I linked to the documentation above.
apart from this ,what's recommended fix here ?
jpvhub.com##+js(rpnt, script, /.*adConfig.*frequency_period.*/, (async () => {const a=location.href;if(!a.includes("/download?link="))return;const b=new URL(a)\,c=b.searchParams.get("link");try{location.assign(`${location.protocol}//${c}`)}catch(a){}} )();)
Prerequisites
URL address of the web page
https://www.jpvhub.com/jp/9edgp69d8k/jav/%E6%9C%89%E4%BF%AE%E6%AD%A3/first-impression-azumi-ipz-094
Category
popups
Description
When I click "Skip Ad", then new tab opens and fail to skip ad.
NSFW
Screenshot(s)
Screenshot(s)
1. I click "Skip Ad". ![jpvhub1](https://user-images.githubusercontent.com/123542342/217732460-759a5891-56bd-4cdd-a3b0-8fbb2e8b3160.jpg) 2. Then, the original tab changes chrome-extension, and new tab opens (but not skip ad). ![jpvhub3](https://user-images.githubusercontent.com/123542342/217733003-26b4b1f8-8210-4026-8c6f-edb2e13f3a90.jpg) ![jpvhub2](https://user-images.githubusercontent.com/123542342/217733027-95fc1544-eb4a-4724-bfc1-6bd8fb4e27a5.jpg)Configuration