-
Notifications
You must be signed in to change notification settings - Fork 122
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
usercentrics.eu on srf.ch #404
Comments
I found similar issues. The CMP idea is a great idea, however, each CMP tries to be generic, but the issue is many web sites use different button IDs and also consent buttons. I did get rsonline working for postoffice by using conditional css statements (see pull request for details: #405 ). I suspect if there are many web sites that try to use the same CMP but fail, the best solution is to make the CMPs specific to the web site by checking the URL, otherwise trying to get it work for so many web sites is just too complicated and we lose track of which web sites it is meant to handle. My thoughts are with srf.ch if the differences are small you can try to modify the usecentrics.eu CMP with some ifcssactions, otherwise make the usecentrics.eu CMP check the URL, and create a new CMP for srf.ch. |
The site srf.ch uses the CMP
usecentrics.eu
. Just hiding the consent banner without giving consent disables video playback. Thus it would be nice if Consent-O-Matic would support the site out of the box.A rule for
usecentrics.eu
was added in #167 and updated in #317. Unfortunately this rule doesn't work on srf.ch. It needs different CSS selectors to work.I tried adapting the existing
usecentrics.eu
rule but got stuck. So far I figured we probably need to[data-testid="uc-app-container"]
tousercentrics.detectors[0].presentMatcher.target.selector
and tousercentrics.detectors[0].showingMatcher.target.selector
[data-testid="uc-tab-content-container"]
tousercentrics.methods[2].action.actions[1].target.selector
("type": "waitcss"
)[data-testid="uc-toggle-toggle-custom-category]
tousercentrics.methods...
("type": "list"
->"type": "consent"
->"type": "B"
)[data-testid="social-media-und-externe-drittsysteme"]
tousercentrics.methods...
("type": "list"
->"type": "consent"
->"type": "X"
)Would be glad if someone more proficient could take over from here 🙏
The text was updated successfully, but these errors were encountered: