cavi-au / Consent-O-Matic

Browser extension that automatically fills out cookie popups based on your preferences
Other
2.53k stars 123 forks source link

Adding rule for site healthy.gg #434

Open nezred opened 4 months ago

nezred commented 4 months ago

This is just a really simple cookie settings popup that didnt seem to work, so i added this rule

AUToelboell commented 4 months ago

Hi, thank you for showing interest in the project. The rule you have submitted doesn't work. The rule isn't detected when the website is being loaded, also remember to use the "ShowingMatcher" instead of 2 matchers in "presentMatcher". None of the selectors you are using can be found on the site at all. to press accept you try to match on "button.modal-confirm.header5", but you should match on this instead "#hs-eu-confirmation-button". This example is representative for the other selectors aswell.

nezred commented 4 months ago

I apologize, I made a mistake in the website in the title, it should be healthygamer.gg and not healthy.gg, and upon closer observation it seems that i should make the link filter be within coaching.healthygamer.gg and not healthygamer.gg

I will fix the issue with ShowingMatcher

AUToelboell commented 4 months ago

Since this only works on coaching.healthygamer.gg, the name needs a change. the "Displayfilter" in the "showingmatcher" needs to be toggled, and the "IfAllowAllAction" needs to be moved down in the "save_consent" method. otherwise it looks good.