Closed GyomeiHimejima9906 closed 2 months ago
You need the overlay because when you click on it, the site will append the video source to the player. Removing it will just make the video buffering due to no source.
You can test by using this custom filter
streamtape.com##.play-overlay
the site will append the video source to the player.
We need a scriptlet which can discharge specific events related to the button, then you will be able to block the overlay. AdGuard already has this scriptlet.
I reported this because adguard remove the overlay with defoults filters
@ShinobuKocho9906 are they using trusted-dispatch-event scriptlet ?
No I don't know not it enable it
That's the only way you can have a working player with video source and also block the overlay
I mean, you can totally mimic their script using rpnt
streamtape.com##.play-overlay
streamtape.com##+js(rpnt, script, /^.+$/s, document.getElementById("mainvideo").src=$("#botlink").text()+"&stream=1";player.currentTrack = 0;, condition, srclink)
I just don't see much point to having risk of adding more filters for just an annoyance like this.
trusted scriptlets are not for shady sites like this imo
trusted scriptlets are not for shady sites like this imo
All video hosting sites are shady in some way, not point in deciding on this basis.
totally mimic their script using rpnt
haha so the event is inline sourced ?
adding more filters for just an annoyance like this.
For everyday visitors of that video hosting site, it's a frustrating annoyance.
Yeah, it's just inline script. I don't mind trusted scriptlets though, if they are needed for ads, but I'm just refraining of adding more filters that could potentially cause more breakages (hiding and replacing a whole script tag) when they just serve the purpose of removing an overlay (that doesn't cause popups).
when it just serves the purpose of removing an overlay (that doesn't cause popups).
How many times you have to click for the video source to load and render ? I remember being 3 the number, hence the annoyance.
It's just one to remove the overlay, and one to play the video (which is needed with no overlay too).
@stephenhawk8054 Need 2 clicks for removing the overlay at https://streamtape.com/v/x9XP266Zz2fkg0Q/
(NSFW)
Also the rpnt filter doesn't work there.
Edt: modified the filter - streamtape.com##+js(rpnt, script, /^.+$/s, document.getElementById("mainvideo").src=$("#norobotlink").text();player.currentTrack = 0;, condition, srclink)
It's because that link uses #captchalink
instead of #botlink
so you'll need to add another one:
streamtape.com##.play-overlay
streamtape.com##+js(rpnt, script, /^.+$/s, document.getElementById("mainvideo").src=$("#botlink").text()+"&stream=1";player.currentTrack = 0;, condition, #botlink)
streamtape.com##+js(rpnt, script, /^.+$/s, document.getElementById("mainvideo").src=$("#captchalink").text()+"&stream=1";player.currentTrack = 0;, condition, #captchalink)
I mean, if anyone is willing to monitor the site for potential issues with new filters, feel free to add.
If you want to combine both into 1 filter, maybe
streamtape.com##.play-overlay
streamtape.com##+js(rpnt, script, /\$\("\.play-overlay"\).+/s, document.getElementById("mainvideo").src=srclink;player.currentTrack=0;})}), condition, play-overlay)
If you want to combine both into 1 filter, maybe
streamtape.com##.play-overlay streamtape.com##+js(rpnt, script, /\$\("\.play-overlay"\).+/s, document.getElementById("mainvideo").src = srclink;player.currentTrack=0;})}), condition, srclink)
That looks better, we should add that
what is this?
what is this?
Tick the button that starts with the text "Consenti"
the player is stuck
@stephenhawk8054 video has been removed, I disabled both the filters and same result. Not related to this.
I can reproduce. The script node is replaced with no link
as source so the video can't play on my side
It's because this link doesn't use overlay so there's only $(".play-overlay").click
.
This is the original script tag
<script>$(document).ready(function() {
$(".play-overlay").hide();
var srclink = $('#botlink').text() + '&stream=1';
document.getElementById("mainvideo").src = srclink;player.currentTrack=0;});</script>
So why does the video doesn't play ? Add streamtape.to#@#+js()
and the video will still not load.
Could be network. The video plays normally for me here after I disabled 2 filters:
Could be network.
Not for me, otherwise https://streamtape.com/v/x9XP266Zz2fkg0Q/
wouldn't work either for me.
Well, I updated to new ones: https://github.com/uBlockOrigin/uAssets/commit/b2b759fb7000c7c4cf9e63d9e4e8e136c5f5c121
I won't address this site again. As said, I'm very refraining of adding new filters just for some annoyances and causing breakages that are not reproducible easily for everyone.
Prerequisites
URL address of the web page
https://www.animesaturn.cx/watch?file=9DUix2WqlbTbC&server=1
Category
nuisance
Description
the filter block ads but don't remove the invisible overlay. (it don't create popups and remove it self when cliked)
Other extensions used
"proton pass: free password manager", "lettore di testo (testo in voce)" ()
Screenshot(s)
Screenshot(s)
Configuration