@duckduckgo/autoconsent 4.1.2 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/dist/addon-firefox/content.bundle.js +3 -2
  3. package/dist/addon-firefox/manifest.json +1 -1
  4. package/dist/addon-firefox/rules.json +826 -36
  5. package/dist/addon-mv3/content.bundle.js +3 -2
  6. package/dist/addon-mv3/manifest.json +1 -1
  7. package/dist/addon-mv3/rules.json +826 -36
  8. package/dist/autoconsent.cjs.js +1 -1
  9. package/dist/autoconsent.esm.js +1 -1
  10. package/dist/autoconsent.playwright.js +1 -1
  11. package/lib/cmps/trustarc-top.ts +4 -3
  12. package/package.json +2 -2
  13. package/rules/autoconsent/bbb.json +12 -0
  14. package/rules/autoconsent/canva.json +25 -0
  15. package/rules/autoconsent/civic-cookie-control.json +12 -0
  16. package/rules/autoconsent/clustrmaps-com.json +12 -0
  17. package/rules/autoconsent/coinbase.json +3 -2
  18. package/rules/autoconsent/cookiefirst.json +41 -0
  19. package/rules/autoconsent/dailymotion-us.json +9 -0
  20. package/rules/autoconsent/delta-com.json +12 -0
  21. package/rules/autoconsent/dmgmedia-us.json +20 -0
  22. package/rules/autoconsent/geeks-for-geeks.json +12 -0
  23. package/rules/autoconsent/healthline-media.json +18 -0
  24. package/rules/autoconsent/ketch.json +28 -17
  25. package/rules/autoconsent/midway-usa.json +12 -0
  26. package/rules/autoconsent/onlyFans.json +18 -0
  27. package/rules/autoconsent/paypal-us.json +25 -0
  28. package/rules/autoconsent/pmc-cmp.json +9 -0
  29. package/rules/autoconsent/pornpics.json +9 -0
  30. package/rules/autoconsent/samsung-com.json +12 -0
  31. package/rules/autoconsent/theverge.json +2 -1
  32. package/rules/autoconsent/tractor-supply.json +12 -0
  33. package/rules/autoconsent/true-car.json +12 -0
  34. package/rules/autoconsent/truyo.json +17 -0
  35. package/rules/autoconsent/whitepages.json +12 -0
  36. package/rules/autoconsent/wpcc.json +9 -0
  37. package/rules/autoconsent/xhamster-us.json +12 -0
  38. package/rules/autoconsent/youporn.json +9 -0
  39. package/rules/rules.json +826 -36
  40. package/tests/bbb.spec.ts +5 -0
  41. package/tests/canva.spec.ts +5 -0
  42. package/tests/civic-cookie-control.spec.ts +8 -0
  43. package/tests/clustrmaps-com.spec.ts +5 -0
  44. package/tests/cookiefirst.spec.ts +7 -0
  45. package/tests/dailymotion-us.spec.ts +6 -0
  46. package/tests/delta.spec.ts +6 -0
  47. package/tests/dmgmedia-us.spec.ts +7 -0
  48. package/tests/geeks-for-geeks.spec.ts +6 -0
  49. package/tests/healthline-media.spec.ts +6 -0
  50. package/tests/ketch.spec.ts +1 -0
  51. package/tests/midway-usa.spec.ts +6 -0
  52. package/tests/onlyFans.spec.ts +5 -0
  53. package/tests/paypal-us.spec.ts +5 -0
  54. package/tests/pmc-cmp.spec.ts +7 -0
  55. package/tests/pornpics.spec.ts +5 -0
  56. package/tests/samsung.spec.ts +6 -0
  57. package/tests/tractor-supply.spec.ts +6 -0
  58. package/tests/true-car.spec.ts +6 -0
  59. package/tests/truyo.spec.ts +5 -0
  60. package/tests/whitepages.spec.ts +5 -0
  61. package/tests/wpcc.spec.ts +10 -0
  62. package/tests/xhamster-us.spec.ts +11 -0
  63. package/tests/youporn.spec.ts +5 -0
  64. package/rules/autoconsent/metoffice-gov-uk.json +0 -8
  65. package/tests/metoffice-gov-uk.spec.ts +0 -7
@@ -302,6 +302,38 @@
302
302
  }
303
303
  ]
304
304
  },
305
+ {
306
+ "name": "bbb.org",
307
+ "runContext": {
308
+ "urlPattern": "^https://www\\.bbb\\.org/"
309
+ },
310
+ "cosmetic": true,
311
+ "prehideSelectors": [
312
+ "div[aria-label=\"use of cookies on bbb.org\"]"
313
+ ],
314
+ "detectCmp": [
315
+ {
316
+ "exists": "div[aria-label=\"use of cookies on bbb.org\"]"
317
+ }
318
+ ],
319
+ "detectPopup": [
320
+ {
321
+ "visible": "div[aria-label=\"use of cookies on bbb.org\"]"
322
+ }
323
+ ],
324
+ "optIn": [
325
+ {
326
+ "click": "div[aria-label=\"use of cookies on bbb.org\"] button.bds-button-unstyled span.visually-hidden"
327
+ }
328
+ ],
329
+ "optOut": [
330
+ {
331
+ "hide": [
332
+ "div[aria-label=\"use of cookies on bbb.org\"]"
333
+ ]
334
+ }
335
+ ]
336
+ },
305
337
  {
306
338
  "name": "bing.com",
307
339
  "prehideSelectors": [
@@ -416,6 +448,58 @@
416
448
  }
417
449
  ]
418
450
  },
451
+ {
452
+ "name": "canva.com",
453
+ "prehideSelectors": [
454
+ "div[role=\"dialog\"] a[data-anchor-id=\"cookie-policy\"]"
455
+ ],
456
+ "detectCmp": [
457
+ {
458
+ "exists": "div[role=\"dialog\"] a[data-anchor-id=\"cookie-policy\"]"
459
+ }
460
+ ],
461
+ "detectPopup": [
462
+ {
463
+ "exists": "div[role=\"dialog\"] a[data-anchor-id=\"cookie-policy\"]"
464
+ }
465
+ ],
466
+ "optIn": [
467
+ {
468
+ "click": "div[role=\"dialog\"] button:nth-child(1)"
469
+ }
470
+ ],
471
+ "optOut": [
472
+ {
473
+ "if": {
474
+ "exists": "div[role=\"dialog\"] button:nth-child(3)"
475
+ },
476
+ "then": [
477
+ {
478
+ "click": "div[role=\"dialog\"] button:nth-child(2)"
479
+ }
480
+ ],
481
+ "else": [
482
+ {
483
+ "click": "div[role=\"dialog\"] button:nth-child(2)"
484
+ },
485
+ {
486
+ "waitFor": "div[role=\"dialog\"] a[data-anchor-id=\"privacy-policy\"]"
487
+ },
488
+ {
489
+ "click": "div[role=\"dialog\"] button:nth-child(2)"
490
+ },
491
+ {
492
+ "click": "div[role=\"dialog\"] div:last-child button:only-child"
493
+ }
494
+ ]
495
+ }
496
+ ],
497
+ "test": [
498
+ {
499
+ "eval": "!document.cookie.includes('gtm_fpc_engagement_event')"
500
+ }
501
+ ]
502
+ },
419
503
  {
420
504
  "name": "cc_banner",
421
505
  "cosmetic": true,
@@ -445,6 +529,36 @@
445
529
  }
446
530
  ]
447
531
  },
532
+ {
533
+ "comment": "https://www.civicuk.com/cookie-control/",
534
+ "name": "civic-cookie-control",
535
+ "prehideSelectors": [
536
+ "#ccc-module,#ccc-overlay"
537
+ ],
538
+ "detectCmp": [
539
+ {
540
+ "exists": "#ccc-module"
541
+ }
542
+ ],
543
+ "detectPopup": [
544
+ {
545
+ "visible": "#ccc"
546
+ },
547
+ {
548
+ "visible": "#ccc-module"
549
+ }
550
+ ],
551
+ "optOut": [
552
+ {
553
+ "click": "#ccc-reject-settings"
554
+ }
555
+ ],
556
+ "optIn": [
557
+ {
558
+ "click": "#ccc-recommended-settings"
559
+ }
560
+ ]
561
+ },
448
562
  {
449
563
  "name": "click.io",
450
564
  "prehideSelectors": [
@@ -537,12 +651,45 @@
537
651
  }
538
652
  ]
539
653
  },
654
+ {
655
+ "name": "clustrmaps.com",
656
+ "runContext": {
657
+ "urlPattern": "^https://(www\\.)?clustrmaps\\.com/"
658
+ },
659
+ "cosmetic": true,
660
+ "prehideSelectors": [
661
+ "#gdpr-cookie-message"
662
+ ],
663
+ "detectCmp": [
664
+ {
665
+ "exists": "#gdpr-cookie-message"
666
+ }
667
+ ],
668
+ "detectPopup": [
669
+ {
670
+ "visible": "#gdpr-cookie-message"
671
+ }
672
+ ],
673
+ "optIn": [
674
+ {
675
+ "click": "button#gdpr-cookie-accept"
676
+ }
677
+ ],
678
+ "optOut": [
679
+ {
680
+ "hide": [
681
+ "#gdpr-cookie-message"
682
+ ]
683
+ }
684
+ ]
685
+ },
540
686
  {
541
687
  "name": "coinbase",
542
688
  "intermediate": false,
543
689
  "runContext": {
544
690
  "frame": true,
545
- "main": true
691
+ "main": true,
692
+ "urlPattern": "^https://(www|help)\\.coinbase\\.com"
546
693
  },
547
694
  "prehideSelectors": [],
548
695
  "detectCmp": [
@@ -575,7 +722,7 @@
575
722
  ],
576
723
  "test": [
577
724
  {
578
- "eval": "JSON.parse(decodeURIComponent(document.cookie.match(/cm_eu_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[1])).consent.length <= 1"
725
+ "eval": "JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1"
579
726
  }
580
727
  ]
581
728
  },
@@ -852,6 +999,62 @@
852
999
  }
853
1000
  ]
854
1001
  },
1002
+ {
1003
+ "name": "cookiefirst.com",
1004
+ "prehideSelectors": [
1005
+ "#cookiefirst-root"
1006
+ ],
1007
+ "detectCmp": [
1008
+ {
1009
+ "exists": "#cookiefirst-root"
1010
+ }
1011
+ ],
1012
+ "detectPopup": [
1013
+ {
1014
+ "visible": "#cookiefirst-root"
1015
+ }
1016
+ ],
1017
+ "optIn": [
1018
+ {
1019
+ "click": "button[data-cookiefirst-action=accept]"
1020
+ }
1021
+ ],
1022
+ "optOut": [
1023
+ {
1024
+ "if": {
1025
+ "exists": "button[data-cookiefirst-action=adjust]"
1026
+ },
1027
+ "then": [
1028
+ {
1029
+ "click": "button[data-cookiefirst-action=adjust]"
1030
+ },
1031
+ {
1032
+ "waitForVisible": "[data-cookiefirst-widget=modal]",
1033
+ "timeout": 1000
1034
+ },
1035
+ {
1036
+ "eval": "document.querySelectorAll('button[data-cookiefirst-accent-color=true][role=checkbox]:not([disabled])').forEach(i => (i.getAttribute('aria-checked') == 'true' && i.click())) || true"
1037
+ },
1038
+ {
1039
+ "wait": 1000
1040
+ },
1041
+ {
1042
+ "click": "button[data-cookiefirst-action=save]"
1043
+ }
1044
+ ],
1045
+ "else": [
1046
+ {
1047
+ "click": "button[data-cookiefirst-action=reject]"
1048
+ }
1049
+ ]
1050
+ }
1051
+ ],
1052
+ "test": [
1053
+ {
1054
+ "eval": "let o = JSON.parse(decodeURIComponent(document.cookie.split(';').find(c => c.indexOf('cookiefirst') !== -1).trim()).split('=')[1]); (o.performance === false && o.functional === false && o.advertising === false) ? true : false"
1055
+ }
1056
+ ]
1057
+ },
855
1058
  {
856
1059
  "name": "Cookie Information Banner",
857
1060
  "prehideSelectors": [
@@ -918,6 +1121,35 @@
918
1121
  }
919
1122
  ]
920
1123
  },
1124
+ {
1125
+ "name": "dailymotion-us",
1126
+ "cosmetic": true,
1127
+ "prehideSelectors": [
1128
+ "div[class*=\"CookiePopup__desktopContainer\"]:has(div[class*=\"CookiePopup\"])"
1129
+ ],
1130
+ "detectCmp": [
1131
+ {
1132
+ "exists": "div[class*=\"CookiePopup__desktopContainer\"]"
1133
+ }
1134
+ ],
1135
+ "detectPopup": [
1136
+ {
1137
+ "visible": "div[class*=\"CookiePopup__desktopContainer\"]"
1138
+ }
1139
+ ],
1140
+ "optIn": [
1141
+ {
1142
+ "click": "div[class*=\"CookiePopup__desktopContainer\"] > button > span"
1143
+ }
1144
+ ],
1145
+ "optOut": [
1146
+ {
1147
+ "hide": [
1148
+ "div[class*=\"CookiePopup__desktopContainer\"]"
1149
+ ]
1150
+ }
1151
+ ]
1152
+ },
921
1153
  {
922
1154
  "name": "dailymotion.com",
923
1155
  "runContext": {
@@ -978,6 +1210,73 @@
978
1210
  }
979
1211
  ]
980
1212
  },
1213
+ {
1214
+ "name": "delta.com",
1215
+ "runContext": {
1216
+ "urlPattern": "^https://www\\.delta\\.com/"
1217
+ },
1218
+ "cosmetic": true,
1219
+ "prehideSelectors": [
1220
+ "ngc-cookie-banner"
1221
+ ],
1222
+ "detectCmp": [
1223
+ {
1224
+ "exists": "div.cookie-footer-container"
1225
+ }
1226
+ ],
1227
+ "detectPopup": [
1228
+ {
1229
+ "visible": "div.cookie-footer-container"
1230
+ }
1231
+ ],
1232
+ "optIn": [
1233
+ {
1234
+ "click": " button.cookie-close-icon"
1235
+ }
1236
+ ],
1237
+ "optOut": [
1238
+ {
1239
+ "hide": [
1240
+ "div.cookie-footer-container"
1241
+ ]
1242
+ }
1243
+ ]
1244
+ },
1245
+ {
1246
+ "name": "dmgmedia-us",
1247
+ "prehideSelectors": [
1248
+ "#mol-ads-cmp-iframe, div.mol-ads-cmp > form > div"
1249
+ ],
1250
+ "detectCmp": [
1251
+ {
1252
+ "exists": "div.mol-ads-cmp > form > div"
1253
+ }
1254
+ ],
1255
+ "detectPopup": [
1256
+ {
1257
+ "waitForVisible": "div.mol-ads-cmp > form > div"
1258
+ }
1259
+ ],
1260
+ "optIn": [
1261
+ {
1262
+ "waitForThenClick": "button.mol-ads-cmp--btn-primary"
1263
+ }
1264
+ ],
1265
+ "optOut": [
1266
+ {
1267
+ "waitForThenClick": "div.mol-ads-ccpa--message > u > a"
1268
+ },
1269
+ {
1270
+ "waitForVisible": ".mol-ads-cmp--modal-dialog"
1271
+ },
1272
+ {
1273
+ "waitForThenClick": "a.mol-ads-cmp-footer-privacy"
1274
+ },
1275
+ {
1276
+ "waitForThenClick": "button.mol-ads-cmp--btn-secondary"
1277
+ }
1278
+ ]
1279
+ },
981
1280
  {
982
1281
  "name": "dmgmedia",
983
1282
  "prehideSelectors": [
@@ -1341,6 +1640,38 @@
1341
1640
  }
1342
1641
  ]
1343
1642
  },
1643
+ {
1644
+ "name": "geeks-for-geeks",
1645
+ "runContext": {
1646
+ "urlPattern": "^https://www\\.geeksforgeeks\\.org/"
1647
+ },
1648
+ "cosmetic": true,
1649
+ "prehideSelectors": [
1650
+ ".cookie-consent"
1651
+ ],
1652
+ "detectCmp": [
1653
+ {
1654
+ "exists": ".cookie-consent"
1655
+ }
1656
+ ],
1657
+ "detectPopup": [
1658
+ {
1659
+ "visible": ".cookie-consent"
1660
+ }
1661
+ ],
1662
+ "optIn": [
1663
+ {
1664
+ "click": ".cookie-consent button.consent-btn"
1665
+ }
1666
+ ],
1667
+ "optOut": [
1668
+ {
1669
+ "hide": [
1670
+ ".cookie-consent"
1671
+ ]
1672
+ }
1673
+ ]
1674
+ },
1344
1675
  {
1345
1676
  "name": "generic-cosmetic",
1346
1677
  "cosmetic": true,
@@ -1453,6 +1784,47 @@
1453
1784
  }
1454
1785
  ]
1455
1786
  },
1787
+ {
1788
+ "name": "healthline-media",
1789
+ "prehideSelectors": [
1790
+ "#modal-host > div.no-hash > div.window-wrapper"
1791
+ ],
1792
+ "detectCmp": [
1793
+ {
1794
+ "exists": "#modal-host > div.no-hash > div.window-wrapper, div[data-testid=qualtrics-container]"
1795
+ }
1796
+ ],
1797
+ "detectPopup": [
1798
+ {
1799
+ "exists": "#modal-host > div.no-hash > div.window-wrapper, div[data-testid=qualtrics-container]"
1800
+ }
1801
+ ],
1802
+ "optIn": [
1803
+ {
1804
+ "click": "#modal-host > div.no-hash > div.window-wrapper > div:last-child button"
1805
+ }
1806
+ ],
1807
+ "optOut": [
1808
+ {
1809
+ "if": {
1810
+ "exists": "#modal-host > div.no-hash > div.window-wrapper > div:last-child a[href=\"/privacy-settings\"]"
1811
+ },
1812
+ "then": [
1813
+ {
1814
+ "click": "#modal-host > div.no-hash > div.window-wrapper > div:last-child a[href=\"/privacy-settings\"]"
1815
+ }
1816
+ ],
1817
+ "else": [
1818
+ {
1819
+ "waitForVisible": "div#__next"
1820
+ },
1821
+ {
1822
+ "click": "#__next div:nth-child(1) > button:first-child"
1823
+ }
1824
+ ]
1825
+ }
1826
+ ]
1827
+ },
1456
1828
  {
1457
1829
  "name": "hl.co.uk",
1458
1830
  "prehideSelectors": [
@@ -1720,17 +2092,22 @@
1720
2092
  ],
1721
2093
  "optIn": [
1722
2094
  {
1723
- "click": "#lanyard_root button[class^='link']",
1724
- "optional": true
1725
- },
1726
- {
1727
- "wait": 500
1728
- },
1729
- {
1730
- "waitForThenClick": "div[class^='buttons'] > :nth-child(2)"
1731
- },
1732
- {
1733
- "click": "#lanyard_root button[class*='confirmButton']"
2095
+ "if": {
2096
+ "exists": "#lanyard_root button[class='confirmButton']"
2097
+ },
2098
+ "then": [
2099
+ {
2100
+ "waitForThenClick": "#lanyard_root div[class^='buttons'] > :nth-child(2)"
2101
+ },
2102
+ {
2103
+ "click": "#lanyard_root button[class='confirmButton']"
2104
+ }
2105
+ ],
2106
+ "else": [
2107
+ {
2108
+ "waitForThenClick": "#lanyard_root div[class^='buttons'] > :nth-child(2)"
2109
+ }
2110
+ ]
1734
2111
  }
1735
2112
  ],
1736
2113
  "optOut": [
@@ -1739,10 +2116,29 @@
1739
2116
  "optional": true
1740
2117
  },
1741
2118
  {
1742
- "waitForThenClick": "#lanyard_root button[class*='rejectButton']"
1743
- },
1744
- {
1745
- "click": "#lanyard_root button[class*='confirmButton']"
2119
+ "if": {
2120
+ "exists": "#lanyard_root button[class*='confirmButton']"
2121
+ },
2122
+ "then": [
2123
+ {
2124
+ "waitForThenClick": "#lanyard_root button[class*='rejectButton']"
2125
+ },
2126
+ {
2127
+ "click": "#lanyard_root button[class*='confirmButton']"
2128
+ }
2129
+ ],
2130
+ "else": [
2131
+ {
2132
+ "click": "#lanyard_root div[class^='buttons'] > :nth-child(1)",
2133
+ "optional": true
2134
+ },
2135
+ {
2136
+ "waitForThenClick": "#lanyard_root input:checked"
2137
+ },
2138
+ {
2139
+ "click": "#consentsTab > div:nth-child(2) > div > div[class^='actions'] > button:nth-child(1)"
2140
+ }
2141
+ ]
1746
2142
  }
1747
2143
  ],
1748
2144
  "test": []
@@ -1884,59 +2280,67 @@
1884
2280
  ]
1885
2281
  },
1886
2282
  {
1887
- "name": "metoffice.gov.uk",
2283
+ "name": "microsoft.com",
1888
2284
  "prehideSelectors": [
1889
- "#ccc-module"
2285
+ "#wcpConsentBannerCtrl"
1890
2286
  ],
1891
2287
  "detectCmp": [
1892
2288
  {
1893
- "exists": "#ccc-module"
2289
+ "exists": "#wcpConsentBannerCtrl"
1894
2290
  }
1895
2291
  ],
1896
2292
  "detectPopup": [
1897
2293
  {
1898
- "exists": "#ccc-module"
2294
+ "exists": "#wcpConsentBannerCtrl"
1899
2295
  }
1900
2296
  ],
1901
2297
  "optOut": [
1902
2298
  {
1903
- "click": "#ccc-reject-settings"
2299
+ "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Reject|Ablehnen'))[0].click() || true"
1904
2300
  }
1905
2301
  ],
1906
2302
  "optIn": [
1907
2303
  {
1908
- "click": "#ccc-recommended-settings"
2304
+ "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Accept|Annehmen'))[0].click() || true"
2305
+ }
2306
+ ],
2307
+ "test": [
2308
+ {
2309
+ "eval": "!!document.cookie.match('MSCC')"
1909
2310
  }
1910
2311
  ]
1911
2312
  },
1912
2313
  {
1913
- "name": "microsoft.com",
2314
+ "name": "midway-usa",
2315
+ "runContext": {
2316
+ "urlPattern": "^https://www\\.midwayusa\\.com/"
2317
+ },
2318
+ "cosmetic": true,
1914
2319
  "prehideSelectors": [
1915
- "#wcpConsentBannerCtrl"
2320
+ "#cookie-container"
1916
2321
  ],
1917
2322
  "detectCmp": [
1918
2323
  {
1919
- "exists": "#wcpConsentBannerCtrl"
2324
+ "exists": [
2325
+ "div[aria-label=\"Cookie Policy Banner\"]"
2326
+ ]
1920
2327
  }
1921
2328
  ],
1922
2329
  "detectPopup": [
1923
2330
  {
1924
- "exists": "#wcpConsentBannerCtrl"
1925
- }
1926
- ],
1927
- "optOut": [
1928
- {
1929
- "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Reject|Ablehnen'))[0].click() || true"
2331
+ "visible": "#cookie-container"
1930
2332
  }
1931
2333
  ],
1932
2334
  "optIn": [
1933
2335
  {
1934
- "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Accept|Annehmen'))[0].click() || true"
2336
+ "click": "button#cookie-btn"
1935
2337
  }
1936
2338
  ],
1937
- "test": [
2339
+ "optOut": [
1938
2340
  {
1939
- "eval": "!!document.cookie.match('MSCC')"
2341
+ "hide": [
2342
+ "div[aria-label=\"Cookie Policy Banner\"]"
2343
+ ]
1940
2344
  }
1941
2345
  ]
1942
2346
  },
@@ -2190,6 +2594,38 @@
2190
2594
  }
2191
2595
  ]
2192
2596
  },
2597
+ {
2598
+ "name": "onlyFans.com",
2599
+ "prehideSelectors": [
2600
+ "div.b-cookies-informer"
2601
+ ],
2602
+ "detectCmp": [
2603
+ {
2604
+ "exists": "div.b-cookies-informer"
2605
+ }
2606
+ ],
2607
+ "detectPopup": [
2608
+ {
2609
+ "exists": "div.b-cookies-informer"
2610
+ }
2611
+ ],
2612
+ "optIn": [
2613
+ {
2614
+ "click": "div.b-cookies-informer__nav > button:nth-child(2)"
2615
+ }
2616
+ ],
2617
+ "optOut": [
2618
+ {
2619
+ "click": "div.b-cookies-informer__nav > button:nth-child(1)"
2620
+ },
2621
+ {
2622
+ "click": "div.b-cookies-informer__switchers > div:nth-child(2) > div[at-attr=\"checkbox\"] > span.b-input-radio__container > input[type=\"checkbox\"]"
2623
+ },
2624
+ {
2625
+ "click": "div.b-cookies-informer__nav > button"
2626
+ }
2627
+ ]
2628
+ },
2193
2629
  {
2194
2630
  "name": "osano",
2195
2631
  "prehideSelectors": [
@@ -2246,6 +2682,52 @@
2246
2682
  }
2247
2683
  ]
2248
2684
  },
2685
+ {
2686
+ "name": "paypal-us",
2687
+ "prehideSelectors": [
2688
+ "#ccpaCookieContent_wrapper, article.ppvx_modal--overpanel"
2689
+ ],
2690
+ "detectCmp": [
2691
+ {
2692
+ "exists": "#ccpaCookieBanner, .privacy-modal-content"
2693
+ }
2694
+ ],
2695
+ "detectPopup": [
2696
+ {
2697
+ "exists": "#ccpaCookieBanner, .privacy-modal-content"
2698
+ }
2699
+ ],
2700
+ "optIn": [
2701
+ {
2702
+ "click": "#acceptAllButton"
2703
+ }
2704
+ ],
2705
+ "optOut": [
2706
+ {
2707
+ "if": {
2708
+ "exists": "a#manageCookiesLink"
2709
+ },
2710
+ "then": [
2711
+ {
2712
+ "click": "a#manageCookiesLink"
2713
+ }
2714
+ ],
2715
+ "else": [
2716
+ {
2717
+ "waitForVisible": ".privacy-modal-content #formContent"
2718
+ },
2719
+ {
2720
+ "click": "#formContent .cookiepref-11m2iee-checkbox_base input:checked",
2721
+ "all": true,
2722
+ "optional": true
2723
+ },
2724
+ {
2725
+ "click": ".confirmCookie #submitCookiesBtn"
2726
+ }
2727
+ ]
2728
+ }
2729
+ ]
2730
+ },
2249
2731
  {
2250
2732
  "name": "paypal.com",
2251
2733
  "prehideSelectors": [
@@ -2283,6 +2765,35 @@
2283
2765
  }
2284
2766
  ]
2285
2767
  },
2768
+ {
2769
+ "name": "pmc",
2770
+ "cosmetic": true,
2771
+ "prehideSelectors": [
2772
+ "#pmc-pp-tou--notice"
2773
+ ],
2774
+ "detectCmp": [
2775
+ {
2776
+ "exists": "#pmc-pp-tou--notice"
2777
+ }
2778
+ ],
2779
+ "detectPopup": [
2780
+ {
2781
+ "visible": "#pmc-pp-tou--notice"
2782
+ }
2783
+ ],
2784
+ "optIn": [
2785
+ {
2786
+ "click": "span.pmc-pp-tou--notice-close-btn"
2787
+ }
2788
+ ],
2789
+ "optOut": [
2790
+ {
2791
+ "hide": [
2792
+ "#pmc-pp-tou--notice"
2793
+ ]
2794
+ }
2795
+ ]
2796
+ },
2286
2797
  {
2287
2798
  "name": "pornhub.com",
2288
2799
  "runContext": {
@@ -2315,6 +2826,35 @@
2315
2826
  }
2316
2827
  ]
2317
2828
  },
2829
+ {
2830
+ "name": "pornpics.com",
2831
+ "cosmetic": true,
2832
+ "prehideSelectors": [
2833
+ "#cookie-contract"
2834
+ ],
2835
+ "detectCmp": [
2836
+ {
2837
+ "exists": "#cookie-contract"
2838
+ }
2839
+ ],
2840
+ "detectPopup": [
2841
+ {
2842
+ "visible": "#cookie-contract"
2843
+ }
2844
+ ],
2845
+ "optIn": [
2846
+ {
2847
+ "click": "#cookie-contract .icon-cross"
2848
+ }
2849
+ ],
2850
+ "optOut": [
2851
+ {
2852
+ "hide": [
2853
+ "#cookie-contract"
2854
+ ]
2855
+ }
2856
+ ]
2857
+ },
2318
2858
  {
2319
2859
  "name": "PrimeBox CookieBar",
2320
2860
  "prehideSelectors": [
@@ -2533,6 +3073,38 @@
2533
3073
  }
2534
3074
  ]
2535
3075
  },
3076
+ {
3077
+ "name": "samsung.com",
3078
+ "runContext": {
3079
+ "urlPattern": "^https://www\\.samsung\\.com/"
3080
+ },
3081
+ "cosmetic": true,
3082
+ "prehideSelectors": [
3083
+ "div.cookie-bar"
3084
+ ],
3085
+ "detectCmp": [
3086
+ {
3087
+ "exists": "div.cookie-bar"
3088
+ }
3089
+ ],
3090
+ "detectPopup": [
3091
+ {
3092
+ "visible": "div.cookie-bar"
3093
+ }
3094
+ ],
3095
+ "optIn": [
3096
+ {
3097
+ "click": "div.cookie-bar__manage > a"
3098
+ }
3099
+ ],
3100
+ "optOut": [
3101
+ {
3102
+ "hide": [
3103
+ "div.cookie-bar"
3104
+ ]
3105
+ }
3106
+ ]
3107
+ },
2536
3108
  {
2537
3109
  "name": "sibbo",
2538
3110
  "prehideSelectors": [
@@ -2955,7 +3527,8 @@
2955
3527
  "name": "theverge",
2956
3528
  "runContext": {
2957
3529
  "frame": false,
2958
- "main": true
3530
+ "main": true,
3531
+ "urlPattern": "^https://(www)?\\.theverge\\.com"
2959
3532
  },
2960
3533
  "intermediate": false,
2961
3534
  "prehideSelectors": [
@@ -2988,6 +3561,101 @@
2988
3561
  }
2989
3562
  ]
2990
3563
  },
3564
+ {
3565
+ "name": "tractor-supply",
3566
+ "runContext": {
3567
+ "urlPattern": "^https://www\\.tractorsupply\\.com/"
3568
+ },
3569
+ "cosmetic": true,
3570
+ "prehideSelectors": [
3571
+ ".tsc-cookie-banner"
3572
+ ],
3573
+ "detectCmp": [
3574
+ {
3575
+ "exists": ".tsc-cookie-banner"
3576
+ }
3577
+ ],
3578
+ "detectPopup": [
3579
+ {
3580
+ "visible": ".tsc-cookie-banner"
3581
+ }
3582
+ ],
3583
+ "optIn": [
3584
+ {
3585
+ "click": "#cookie-banner-cancel"
3586
+ }
3587
+ ],
3588
+ "optOut": [
3589
+ {
3590
+ "hide": [
3591
+ ".tsc-cookie-banner"
3592
+ ]
3593
+ }
3594
+ ]
3595
+ },
3596
+ {
3597
+ "name": "true-car",
3598
+ "runContext": {
3599
+ "urlPattern": "^https://www\\.truecar\\.com/"
3600
+ },
3601
+ "cosmetic": true,
3602
+ "prehideSelectors": [
3603
+ [
3604
+ "div[aria-labelledby=\"cookie-banner-heading\"]"
3605
+ ]
3606
+ ],
3607
+ "detectCmp": [
3608
+ {
3609
+ "exists": "div[aria-labelledby=\"cookie-banner-heading\"]"
3610
+ }
3611
+ ],
3612
+ "detectPopup": [
3613
+ {
3614
+ "visible": "div[aria-labelledby=\"cookie-banner-heading\"]"
3615
+ }
3616
+ ],
3617
+ "optIn": [
3618
+ {
3619
+ "click": "div[aria-labelledby=\"cookie-banner-heading\"] > button[aria-label=\"Close\"]"
3620
+ }
3621
+ ],
3622
+ "optOut": [
3623
+ {
3624
+ "hide": [
3625
+ "div[aria-labelledby=\"cookie-banner-heading\"]"
3626
+ ]
3627
+ }
3628
+ ]
3629
+ },
3630
+ {
3631
+ "name": "truyo",
3632
+ "prehideSelectors": [
3633
+ "#truyo-consent-module"
3634
+ ],
3635
+ "detectCmp": [
3636
+ {
3637
+ "wait": 1000
3638
+ },
3639
+ {
3640
+ "exists": "#truyo-cookieBarContent"
3641
+ }
3642
+ ],
3643
+ "detectPopup": [
3644
+ {
3645
+ "visible": "#truyo-consent-module"
3646
+ }
3647
+ ],
3648
+ "optIn": [
3649
+ {
3650
+ "click": "button#acceptAllCookieButton"
3651
+ }
3652
+ ],
3653
+ "optOut": [
3654
+ {
3655
+ "click": "button#declineAllCookieButton"
3656
+ }
3657
+ ]
3658
+ },
2991
3659
  {
2992
3660
  "name": "twitter",
2993
3661
  "runContext": {
@@ -3241,6 +3909,38 @@
3241
3909
  }
3242
3910
  ]
3243
3911
  },
3912
+ {
3913
+ "name": "whitepages.com",
3914
+ "runContext": {
3915
+ "urlPattern": "^https://www\\.whitepages\\.com/"
3916
+ },
3917
+ "cosmetic": true,
3918
+ "prehideSelectors": [
3919
+ ".cookie-wrapper, .cookie-overlay"
3920
+ ],
3921
+ "detectCmp": [
3922
+ {
3923
+ "exists": ".cookie-wrapper"
3924
+ }
3925
+ ],
3926
+ "detectPopup": [
3927
+ {
3928
+ "visible": ".cookie-overlay"
3929
+ }
3930
+ ],
3931
+ "optIn": [
3932
+ {
3933
+ "click": "button[aria-label=\"Got it\"]"
3934
+ }
3935
+ ],
3936
+ "optOut": [
3937
+ {
3938
+ "hide": [
3939
+ ".cookie-wrapper"
3940
+ ]
3941
+ }
3942
+ ]
3943
+ },
3244
3944
  {
3245
3945
  "name": "WP Cookie Notice for GDPR",
3246
3946
  "comment": "https://wordpress.org/plugins/gdpr-cookie-consent/",
@@ -3273,6 +3973,67 @@
3273
3973
  }
3274
3974
  ]
3275
3975
  },
3976
+ {
3977
+ "name": "wpcc",
3978
+ "cosmetic": true,
3979
+ "prehideSelectors": [
3980
+ ".wpcc-container"
3981
+ ],
3982
+ "detectCmp": [
3983
+ {
3984
+ "exists": ".wpcc-container"
3985
+ }
3986
+ ],
3987
+ "detectPopup": [
3988
+ {
3989
+ "exists": ".wpcc-container .wpcc-message"
3990
+ }
3991
+ ],
3992
+ "optIn": [
3993
+ {
3994
+ "click": ".wpcc-compliance .wpcc-btn"
3995
+ }
3996
+ ],
3997
+ "optOut": [
3998
+ {
3999
+ "hide": [
4000
+ ".wpcc-container"
4001
+ ]
4002
+ }
4003
+ ]
4004
+ },
4005
+ {
4006
+ "name": "xhamster-us",
4007
+ "runContext": {
4008
+ "urlPattern": "^https://(www\\.)?xhamster\\d?\\.com"
4009
+ },
4010
+ "cosmetic": true,
4011
+ "prehideSelectors": [
4012
+ ".cookie-announce"
4013
+ ],
4014
+ "detectCmp": [
4015
+ {
4016
+ "exists": ".cookie-announce"
4017
+ }
4018
+ ],
4019
+ "detectPopup": [
4020
+ {
4021
+ "visible": ".cookie-announce .announce-text"
4022
+ }
4023
+ ],
4024
+ "optIn": [
4025
+ {
4026
+ "click": ".cookie-announce button.xh-button"
4027
+ }
4028
+ ],
4029
+ "optOut": [
4030
+ {
4031
+ "hide": [
4032
+ ".cookie-announce"
4033
+ ]
4034
+ }
4035
+ ]
4036
+ },
3276
4037
  {
3277
4038
  "name": "xing.com",
3278
4039
  "detectCmp": [
@@ -3333,6 +4094,35 @@
3333
4094
  }
3334
4095
  ]
3335
4096
  },
4097
+ {
4098
+ "name": "youporn.com",
4099
+ "cosmetic": true,
4100
+ "prehideSelectors": [
4101
+ ".euCookieModal, #js_euCookieModal"
4102
+ ],
4103
+ "detectCmp": [
4104
+ {
4105
+ "exists": ".euCookieModal"
4106
+ }
4107
+ ],
4108
+ "detectPopup": [
4109
+ {
4110
+ "exists": ".euCookieModal, #js_euCookieModal"
4111
+ }
4112
+ ],
4113
+ "optIn": [
4114
+ {
4115
+ "click": "button[name=\"user_acceptCookie\"]"
4116
+ }
4117
+ ],
4118
+ "optOut": [
4119
+ {
4120
+ "hide": [
4121
+ ".euCookieModal"
4122
+ ]
4123
+ }
4124
+ ]
4125
+ },
3336
4126
  {
3337
4127
  "name": "youtube-desktop",
3338
4128
  "prehideSelectors": [