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

www.surfline.com #198209

Closed
adguard-bot opened this issue Feb 9, 2025 · 6 comments
Closed

www.surfline.com #198209

adguard-bot opened this issue Feb 9, 2025 · 6 comments

Comments

@adguard-bot
Copy link

Issue URL (Ads)

https://www.surfline.com/surf-report/manly-north-steyne/5d7ac1f48b90df000129e6ca?camId=5d4832cbc4a6ab7cfc18fdcc
Username: @TesterMan247

Screenshots

Screenshot 1

Screenshot 1

System configuration

Information Value
AdGuard product: AdGuard for Windows v7.20.0 Beta 2 (4928)
System version: Microsoft Windows NT 10.0.22000.0
Browser: Chrome
License type: paid
AdGuard driver: WFP
Tracking protection: disabled
DNS filtering: disabled
Filters: Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads

Annoyances:
AdGuard Cookie Notices,
AdGuard Popups,
AdGuard Mobile App Banners,
AdGuard Other Annoyances,
Adblock Warning Removal List

Other:
AdGuard Experimental
Custom filters: User rules (url: none)
Browsing Security: enabled
Browsing Security statistics: disabled
Userscripts: AdGuard Assistant (Beta) (url: https://userscripts.adtidy.org/beta/assistant/4.3/assistant.user.js)
AdGuard Extra (Beta) (url: https://userscripts.adtidy.org/beta/adguard-extra/1.0/adguard-extra.user.js)
AdGuard Popup Blocker (Beta) (url: https://userscripts.adtidy.org/beta/popup-blocker/2.5/popupblocker.user.js)
Userstyles: disabled
Referrer: https://www.earthcam.com/

Issue configuration

Import

@ntnguyen1234
Copy link
Member

As far as I see, the ads will be gone if we can remove timeupdate event only when the ads video occur, i.e when the video has CSS selector .quiver-cam-player--ad-not-running.quiver-cam-player--free video, but currently I don't know how to do it with current scriptlets. Can prevent-addEventListener target specific DOM element?

@AdguardTeam/filters-maintainers Sorry, can anyone take a look?

@AdamWr
Copy link
Member

AdamWr commented Feb 10, 2025

Can prevent-addEventListener target specific DOM element?

As far as I know, it's not possible with current implementation.
But as another solution we probably can use these rules:

surfline.com#%#//scriptlet('set-constant', 'Object.prototype.adVastTagUrl', 'null')
surfline.com#%#//scriptlet('set-constant', 'Object.prototype.adSettings', 'emptyObj')

@ntnguyen1234
Copy link
Member

Confirm it works 👍

@AdamWr
Copy link
Member

AdamWr commented Feb 10, 2025

I have added these rules.
Thank you for checking it out.


Regarding prevent-addEventListener, I have opened issue about that - AdguardTeam/Scriptlets#480

@TesterMan247
Copy link

I just updated and tried it, and there have been no changes.
The ads timer is still there.

The rules have been added because they are there.

@AdamWr
Copy link
Member

AdamWr commented Feb 10, 2025

I'm not able to reproduce it with up to date filters.
Please try to clear website data (cache, cookies) and then check again.

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

No branches or pull requests

4 participants