@hexonet/semantic-release-whmcs 5.0.68 → 5.1.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.
- package/HISTORY.md +35 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/LICENSE +14 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/_locales/en/messages.json +160 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/_metadata/generated_indexed_rulesets/_ruleset1 +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/background.html +2 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/background.js +681 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/css/common.css +14306 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/hotreload.js +43 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/0_defaultClickHandler.js +590 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/2_sessionStorageHandler.js +30 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/3_localStorageHandler.js +243 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/5_clickHandler.js +8523 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/6_cookieHandler.js +764 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/8_googleHandler.js +105 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/embedsHandler.js +107 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/index.html +79 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/script.js +161 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/spinner.svg +12 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/style.css +68 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/options.html +42 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/options.js +63 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/rules.js +20684 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/128.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/16.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/32.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/48.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/manifest.json +47 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/manifest_v2.json +46 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/rules.json +19539 -0
- package/lib/delete-marketplace-version.js +82 -31
- package/lib/publish.js +52 -43
- package/lib/puppet-utils.js +145 -0
- package/lib/puppet.js +68 -41
- package/lib/resolve-config.js +1 -0
- package/lib/set-compatible-versions.js +26 -10
- package/package.json +6 -6
- package/whmcs.js +7 -5
@@ -0,0 +1,43 @@
|
|
1
|
+
const filesInDirectory = (dir) =>
|
2
|
+
new Promise((resolve) =>
|
3
|
+
dir.createReader().readEntries((entries) =>
|
4
|
+
Promise.all(
|
5
|
+
entries
|
6
|
+
.filter((e) => e.name[0] !== ".")
|
7
|
+
.map((e) =>
|
8
|
+
e.isDirectory
|
9
|
+
? filesInDirectory(e)
|
10
|
+
: new Promise((resolve) => e.file(resolve))
|
11
|
+
)
|
12
|
+
)
|
13
|
+
.then((files) => [].concat(...files))
|
14
|
+
.then(resolve)
|
15
|
+
)
|
16
|
+
);
|
17
|
+
|
18
|
+
const timestampForFilesInDirectory = (dir) =>
|
19
|
+
filesInDirectory(dir).then((files) =>
|
20
|
+
files.map((f) => f.name + f.lastModifiedDate).join()
|
21
|
+
);
|
22
|
+
|
23
|
+
const watchChanges = (dir, lastTimestamp) => {
|
24
|
+
timestampForFilesInDirectory(dir).then((timestamp) => {
|
25
|
+
if (!lastTimestamp || lastTimestamp === timestamp) {
|
26
|
+
setTimeout(() => watchChanges(dir, timestamp), 1000); // retry after 1s
|
27
|
+
} else {
|
28
|
+
chrome.runtime.reload();
|
29
|
+
}
|
30
|
+
});
|
31
|
+
};
|
32
|
+
|
33
|
+
chrome.management.getSelf((self) => {
|
34
|
+
if (self.installType === "development") {
|
35
|
+
chrome.runtime.getPackageDirectoryEntry((dir) => watchChanges(dir));
|
36
|
+
chrome.tabs.query({ active: true, lastFocusedWindow: true }, (tabs) => {
|
37
|
+
// NB: see https://github.com/xpl/crx-hotreload/issues/5
|
38
|
+
// if (tabs[0] && !tabs[0].url.startsWith("http://localhost")) {
|
39
|
+
// chrome.tabs.reload (tabs[0].id)
|
40
|
+
// }
|
41
|
+
});
|
42
|
+
}
|
43
|
+
});
|
@@ -0,0 +1,590 @@
|
|
1
|
+
/* Default click handler */
|
2
|
+
/* Executed by default if no rule detected */
|
3
|
+
/* Use this handler if the cookie warning is used on a lot of websites */
|
4
|
+
|
5
|
+
(function () {
|
6
|
+
const searchPairs = {
|
7
|
+
// WHMCS Marketplace Usercentrics Shadow DOM support
|
8
|
+
"aside#usercentrics-cmp-ui": [
|
9
|
+
"button#accept",
|
10
|
+
"button[data-testid*='accept']",
|
11
|
+
"button[aria-label*='Accept']"
|
12
|
+
],
|
13
|
+
|
14
|
+
".wp-exclude-emoji": [
|
15
|
+
'div[id^="bnnr"] > div[style*="; order: 1"] span',
|
16
|
+
"a[data-order]:nth-child(2) span",
|
17
|
+
],
|
18
|
+
|
19
|
+
"#usercentrics-root": [
|
20
|
+
'div[data-testid="uc-buttons-container"] > button:first-child',
|
21
|
+
'div[data-testid="first-line-buttons"] > button:first-child',
|
22
|
+
],
|
23
|
+
|
24
|
+
"#onetrust-consent-sdk": [
|
25
|
+
'.onetrust-pc-dark-filter:not([class*="hide"]):not([style*="none"]) ~ #onetrust-pc-sdk .ot-pc-refuse-all-handler',
|
26
|
+
'#onetrust-banner-sdk:not([style*="none"]) .ot-pc-refuse-all-handler',
|
27
|
+
'#onetrust-banner-sdk:not([style*="none"]) #onetrust-reject-all-handler',
|
28
|
+
|
29
|
+
'.onetrust-pc-dark-filter:not([class*="hide"]):not([style*="none"]) + #onetrust-banner-sdk #onetrust-button-group-parent:not(.has-reject-all-button) #onetrust-pc-btn-handler',
|
30
|
+
'.onetrust-pc-dark-filter:not([class*="hide"]):not([style*="none"]) ~ #onetrust-pc-sdk .onetrust-close-btn-handler:first-child',
|
31
|
+
],
|
32
|
+
|
33
|
+
".message-container": [
|
34
|
+
"button.sp_choice_type_12:not(.cmp-no-pur-privacy-btn)",
|
35
|
+
".sp_choice_type_SAVE_AND_EXIT",
|
36
|
+
"div:not(.header) > .sp_choice_type_11:only-of-type:not(:only-child)",
|
37
|
+
"#notice > div:nth-child(3) .message-column:first-child:not(:only-child) .sp_choice_type_11",
|
38
|
+
".sp_choice_type_11.button-responsive-primary",
|
39
|
+
".sp_choice_type_13",
|
40
|
+
],
|
41
|
+
|
42
|
+
".mfp-wrap.mfp-ready": [
|
43
|
+
".cookieselection-confirm-selection",
|
44
|
+
"#gdpr_understandBtn",
|
45
|
+
"#cookiebanner .button-row > :not(.consentToAll)",
|
46
|
+
'div[id*="cookiebanner"] .confirmSelection',
|
47
|
+
'#cookieConsent .btn[data-cookie="accepted"]',
|
48
|
+
".avia-cookie-close-bar",
|
49
|
+
".cookies-save-and-close-btn",
|
50
|
+
'a[onclick*="SaveCookieSettings"]',
|
51
|
+
".cookie-consent .accept-selection",
|
52
|
+
'#cookie-consent .btn[name*="necessary"]',
|
53
|
+
],
|
54
|
+
|
55
|
+
'.reveal-overlay[style*="block"]': [
|
56
|
+
"[data-cookieman-save]:not([data-cookieman-accept-all]):not(.hide)",
|
57
|
+
"#CookieModalStrictOnlyLink",
|
58
|
+
'#dsgvoLayer[style*="block"] #dsgvo_deny',
|
59
|
+
"#cookies #c-deny",
|
60
|
+
],
|
61
|
+
|
62
|
+
".cc-window:not(.cc-invisible)": [
|
63
|
+
".cc-checkboxes-container .cc-allow",
|
64
|
+
".cc-privacy-settings .cc-privacy-settings-compliance:last-child .cc-btn",
|
65
|
+
".accept-as-is",
|
66
|
+
],
|
67
|
+
|
68
|
+
"#__tealiumGDPRecModal": [
|
69
|
+
"#privacy_pref_optin",
|
70
|
+
"#consent_prompt_preferences",
|
71
|
+
"#consent_prompt_submit",
|
72
|
+
".container-cookie-modal-footer-refuse",
|
73
|
+
".cl-btn--reject-all",
|
74
|
+
],
|
75
|
+
|
76
|
+
"#__tealiumGDPRcpPrefs": [
|
77
|
+
'#privacy_prompt[style*="block"] #preferences_prompt_decline',
|
78
|
+
'.consent-manager[style*="block"] #cm-acceptNone',
|
79
|
+
'.consent-manager[style*="block"] #consent_wall_optout',
|
80
|
+
'.tiq_cm[style*="block"] #deny_full_submit_1',
|
81
|
+
"#preferences_prompt_submit",
|
82
|
+
],
|
83
|
+
|
84
|
+
".fancybox-lock": [
|
85
|
+
".fancybox-opened .bcGDPR .bcOpenPrivacySettings",
|
86
|
+
".fancybox-opened .bcGDPR .bcRadioRefuse",
|
87
|
+
".fancybox-opened .bcGDPR #bcSubmitConsent",
|
88
|
+
".fancybox-opened .bcGDPR .bcpConsentCancelButton",
|
89
|
+
|
90
|
+
'.fancybox-opened.cookie-gdpr-wrap .btn[data-action="deny-all"]',
|
91
|
+
'.fancybox-opened #cookie-consent button[data-accept="minimum"]',
|
92
|
+
],
|
93
|
+
|
94
|
+
".fancybox-is-open": [
|
95
|
+
"#cookie-consent .cc-page-2 #cc-set-cookie",
|
96
|
+
'.consent-modal .btn[data-action="save-preferences"]',
|
97
|
+
'#acceptCookiesId[style*="block"] .cookieDecline',
|
98
|
+
'#cookies-modal-id[style*="block"] .js-decline',
|
99
|
+
],
|
100
|
+
|
101
|
+
".pum-open": [
|
102
|
+
'.pum-active[data-popmake*="slug\\":\\"cookie"] .pum-close',
|
103
|
+
'.pum-active[data-popmake*="rodo"] .pum-close',
|
104
|
+
'.pum-active[data-popmake*="cookie-policy"] .pum-close',
|
105
|
+
'.pum-active[data-popmake*="cookie-zustimmung"] .pum-close',
|
106
|
+
'.pum-active[data-popmake*="cookie-consent"] .pum-close',
|
107
|
+
'.pum-active[data-popmake*="uso-cookie"] .pum-close',
|
108
|
+
'.pum-active[data-popmake*="cookie-notice"] .pum-close',
|
109
|
+
'.pum-active[data-popmake*="cookie-banner"] .pum-close',
|
110
|
+
'.pum-active[data-popmake*="cookie-pop"] .pum-close',
|
111
|
+
'.pum-active[data-popmake*="cookies-pop"] .pum-close',
|
112
|
+
'.pum-active[data-popmake*="informativa-cookie"] .pum-close',
|
113
|
+
'.pum-active[data-popmake*="assenso-cookie"] .pum-close',
|
114
|
+
'.pum-active[data-popmake*="pryvatnast"] .pum-close',
|
115
|
+
],
|
116
|
+
|
117
|
+
".modal-open": [
|
118
|
+
'#dialog[style*="block"] #btn-configure-cookies',
|
119
|
+
'#dialog[style*="block"] #user_cookies_form_save + #refuse-all-cookies',
|
120
|
+
'#PrivacyCategoryAlert[style*="block"] .btn[data-id="ConfirmSettings"]',
|
121
|
+
'#cookie-control-modal[style*="block"] .js-toggle-cookie-control',
|
122
|
+
'.kmt-ckextmodal[style*="block"] .btn[href*="accept"]',
|
123
|
+
'.cookie-alert[style*="block"] .btn-info[data-dismiss]',
|
124
|
+
'#cookiesplus-bas[style*="block"] .btn[name="save-basic"]',
|
125
|
+
'#mndCookieModal[style*="block"] ~ .modal .mnd-btn-save-settings',
|
126
|
+
'#modal-cookie-notice[style*="block"] .accept-settings',
|
127
|
+
'.modal.show button[id*="cookie-consent-accept-selected"]',
|
128
|
+
'#cookie-manager-window[style*="block"] #accept-selected',
|
129
|
+
".ck-user-cookie-consent-modal #js-save-cookie-settings",
|
130
|
+
'#cookie-consent-modal[style*="block"] ~ .modal #cc-save-preferences',
|
131
|
+
'#privacy-consent[style*="block"] #current-settings-save',
|
132
|
+
'#modal-privacy-settings[style*="block"] .btn[data-grant="selected"]',
|
133
|
+
],
|
134
|
+
|
135
|
+
'.modal[style*="block"]': [
|
136
|
+
"#btn-cookie-config",
|
137
|
+
"#btn-save-config",
|
138
|
+
|
139
|
+
"#btn-configure-cookies",
|
140
|
+
"#user_cookies_form_save + #refuse-all-cookies",
|
141
|
+
|
142
|
+
'#ccSettingButton + button[id*="AcceptOnlyFunctional"]',
|
143
|
+
'.cookie_actions .btn[onclick*="saveBasic"]',
|
144
|
+
"#btnCookieSettingsSaveSettings",
|
145
|
+
"#cookie-setselected",
|
146
|
+
"#rodo_form .btn",
|
147
|
+
"#cookieNoticeForm #saveCookies",
|
148
|
+
'.btn[onclick*="saveCookieSettings"]',
|
149
|
+
".btn.set_essential_cookies",
|
150
|
+
".btn.js-offcanvas-cookie-submit",
|
151
|
+
".btn#cookie-save-selected",
|
152
|
+
".bcee-cookies-manager-deny-all",
|
153
|
+
".consent-banner-confirmation-button.btn-default",
|
154
|
+
'a[onclick="setConsentSelect()"]',
|
155
|
+
'.container_acceptcookies .btn[name="save"]',
|
156
|
+
'#cookieSelectForm .btn[type="submit"]',
|
157
|
+
'button[data-tracking="ACCEPT_REQUIRED_COOKIES"]',
|
158
|
+
"#aceptarCookiesObligatorias",
|
159
|
+
'.btn[href="#cookieman-settings"]',
|
160
|
+
'.btn[data-target="#cookieman-settings"]',
|
161
|
+
"[data-cookieman-settings-trigger-button]",
|
162
|
+
'[data-cookieman-save]:not([data-cookieman-accept-all]):not([style*="none"])',
|
163
|
+
".cookie-manager-save",
|
164
|
+
".adapt-cookies .js-save-preferences",
|
165
|
+
"#btnDeny.js-gdpr-submit",
|
166
|
+
"#manageCookies ~ #confirmCookies",
|
167
|
+
'a[href*="acceptOnlyEssentinal"]',
|
168
|
+
".modal-cookie #submitSelected",
|
169
|
+
"#btn_cookie_save",
|
170
|
+
'.btn[onclick*="SetEssentialCookies"]',
|
171
|
+
"#cookie-consent-button-submit-selection",
|
172
|
+
'.btn[data-bind*="modal.cookie_consent.save"]',
|
173
|
+
'button[id*="cookie-consent-accept-selected"]',
|
174
|
+
".cookieselection-confirm-selection",
|
175
|
+
"#cookie-consent-acceptRequired",
|
176
|
+
".b-cookie-consent .js-cookie-decline",
|
177
|
+
'.cookie-consent-option-icon[ng-click*="required"]',
|
178
|
+
"#saveCookieOnlyMandatory",
|
179
|
+
".js-accept-necessary-btn",
|
180
|
+
"#cookies-reject-btn",
|
181
|
+
".cookie-accept-selection",
|
182
|
+
"#cookieconsent_essentiell",
|
183
|
+
"#button-cookie-individual-save",
|
184
|
+
"#cookiesModalRefuse",
|
185
|
+
"#declineCookieButton",
|
186
|
+
".btn-cookies-save",
|
187
|
+
".ModalCookies__deny",
|
188
|
+
'.gdcc-save-consent[data-gdcc-select="-"]',
|
189
|
+
"#cookies-modal-save",
|
190
|
+
'.btn[form*="trocookie"][value*="save"]',
|
191
|
+
".js-declineAllCookies",
|
192
|
+
"#cookie-notification .saveselection",
|
193
|
+
".button-aceptar-configuracion-cookies",
|
194
|
+
".save-cookie-settings",
|
195
|
+
"#btnCookieNecessary",
|
196
|
+
".btn.cookies-decline",
|
197
|
+
"#cookieConsentConfigBtnDecline",
|
198
|
+
"#continueWithoutAccepting",
|
199
|
+
"#cookieSavingButton",
|
200
|
+
"#gdpr-save-settings.btn",
|
201
|
+
".js-consent-btn-manage + .js-consent-btn-decline",
|
202
|
+
"#cookiebar-decline",
|
203
|
+
'button[data-omcookie-panel-save="min"]',
|
204
|
+
"#cookieModuleRejectAll",
|
205
|
+
".refuseAllCookies",
|
206
|
+
"#cookieDenyButton",
|
207
|
+
'button[data-save-action="decline-all"]',
|
208
|
+
"#bccs-buttonDoNotAgree",
|
209
|
+
"#bccs-buttonAgreeRequired:first-child",
|
210
|
+
],
|
211
|
+
};
|
212
|
+
|
213
|
+
const searchGroups = [
|
214
|
+
'.qc-cmp2-summary-buttons button[mode="secondary"],\
|
215
|
+
.qc-cmp2-buttons-desktop > button:first-child,\
|
216
|
+
#didomi-popup .didomi-button-highlight:not([class*="paywall"]):not([class*="disagree"]),\
|
217
|
+
#rgpd_video .rgpd-mask a[data-rgpd-consent],\
|
218
|
+
.js--modal[style*="block"] .cookie-permission--accept-button,\
|
219
|
+
.gdpr-modal-rider .btn-cookieaccept,\
|
220
|
+
.js-cookiewall #sel-test-accept-cookies-button,\
|
221
|
+
#mpo[style*="block"] .submit.modal-privacy__btn[onclick*="privacyframe.accept"],\
|
222
|
+
.lightbox--cookie-consent .btn-cta,\
|
223
|
+
.lightbox.cookie-consent .cookie-consent-button-decline,\
|
224
|
+
.js-modal-gdpr.is-active .btn[data-level="2"],\
|
225
|
+
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,\
|
226
|
+
#cookieNotificationModal.in .btn.accept-cookie,\
|
227
|
+
.has-ccwindow .cc-compliance .cc-dismiss,\
|
228
|
+
.ds2-cookie-disclaimer--slidedown .ds2-cookie-disclaimer-js--submit,\
|
229
|
+
#mdlCookieCompliance.in .cookieClose,\
|
230
|
+
#cookieModal.in .js-acceptDefaultCookie,\
|
231
|
+
.c-cookiebutton .c-cookiebutton__close,\
|
232
|
+
#normativa_cookies.in .btn,\
|
233
|
+
#cookiewall.in .btn-primary,\
|
234
|
+
.outerCookieBar .EuCookieBar__cookieButton,\
|
235
|
+
#TOS-POPUP .rhododendron-popup__button--agree,\
|
236
|
+
#cookie-wall #accept-cookies,\
|
237
|
+
#popup-wrapper .button[href*="/cookies.consent.php"],\
|
238
|
+
.body-wrapper[style*="faktor-fingerprint"] #acceptAll,\
|
239
|
+
.reveal.cookies[style*="block"] button[click*="aceptaCookies"],\
|
240
|
+
.mnd-cookie-modal[style*="block"] .btn.is--primary,\
|
241
|
+
.cookieHandler.cookieHandler--modalOpen #acceptAllCookies,\
|
242
|
+
.gdpr-modal--active .btn--primary,\
|
243
|
+
#dpi-banner:not(.hidden) #btn-agree-cookie,\
|
244
|
+
.gh-banner.gh-banner-active #gh-cookiebanner-close,\
|
245
|
+
#mrktpref.notification-bar .btn-success,\
|
246
|
+
#PopinGDPRCookie[style*="block"] .jsbd-popin-ok,\
|
247
|
+
#modal-rodo.in .btn-primary,\
|
248
|
+
.cookie-compliance-modal.in .btn-primary,\
|
249
|
+
.cookieconsent.show .btn[data-dm*="accept"],\
|
250
|
+
.cookie-wall-modal.in .btn.ja,\
|
251
|
+
#ccm_notification .ccm_col_content_cookieitem-radiowrap .ccm_col_content_cookieitem-radio:first-child input,\
|
252
|
+
#ccm_notification .ccm_btn,\
|
253
|
+
#modal-consent.in .modal-consent-accept,\
|
254
|
+
.rodo #cookies.in .btn-primary,\
|
255
|
+
.js-cookie-alert.in .js-cookie-alert-accept,\
|
256
|
+
#modal_gdpr_intro_popup.in #gdpr-modal-btn-ok-agree,\
|
257
|
+
#consentButtonContainer > button[onclick*="sendAndRedirect"],\
|
258
|
+
#eu-consent[style*="block"] .btn.yes,\
|
259
|
+
.modal--gdpr.is-open .js-gdpr-consent,\
|
260
|
+
#cookiePopupModal.in .cookiepopup-agreed,\
|
261
|
+
.polityka-cookie-rodo[style*="block"] .button-zgoda,\
|
262
|
+
.ui-dialog.consent-modal[style*="block"] .js-btn-agree,\
|
263
|
+
#up-cookie.active .button[onclick*="setCookiePreference"],\
|
264
|
+
.RodoModal.in .close,\
|
265
|
+
.consent-popup form[action*="cookie-consent"] .consent-popup__button,\
|
266
|
+
#consent form[action*="cookie-consent"] .one-btn,\
|
267
|
+
#cookiewall-wrapper .button[href*="accept"],\
|
268
|
+
#cookieChoiceButtonAccept,\
|
269
|
+
.mod-cookie-consent[style*="block"] .btn-all-cookies,\
|
270
|
+
.c-layer--consent .layer-button--accept,\
|
271
|
+
.button.button-ok[onclick*="acceptAVG"],\
|
272
|
+
#meredithGdprConsentFormButton,\
|
273
|
+
#advanced-cookie-modal.in .cookie-accept,\
|
274
|
+
.show-modal .cookie-settings-manager-container .initial-dialog .js-accept-button,\
|
275
|
+
.cookie-settings-manager-container .initial-dialog[style*="block"] .js-accept-button,\
|
276
|
+
.gdprLightbox[data-module="gdprLightbox"] ._type_gdpr_agree,\
|
277
|
+
.cookie.showa #Row1_Column1_Cell1_CookieSettings_AdvancedSaveAccept,\
|
278
|
+
#core-cookie-container[style*="block"] .btn--agree,\
|
279
|
+
.cookie-consent-modal._show .action-primary,\
|
280
|
+
#dsgvoModal.show #dsvgo-banner__button,\
|
281
|
+
.basicLightbox--visible #accept-all-gdpr,\
|
282
|
+
#gdpr-modal.in .gdpr-modal__btn--accept,\
|
283
|
+
.cookiehint .btn.cookieagree,\
|
284
|
+
#cookiealert .modal.in .btn[href*="accept"],\
|
285
|
+
#lml-data-consent-accept,\
|
286
|
+
#CBCookieMsg.in .btn[onclick*="approveCookies"],\
|
287
|
+
#cookiewall-container .button[name="submit"],\
|
288
|
+
#cookie_disclaimer.in .cookie_disclaimer_button,\
|
289
|
+
.m-cookie.iziModal[style*="block"] .m-cookie__save2.button,\
|
290
|
+
kamino-cookie-policy .mat-raised-button,\
|
291
|
+
#surbma-gpga-modal[style*="block"] button,\
|
292
|
+
#GDPR.overlayBox .menuButton,\
|
293
|
+
#cookiebar .cookie-selection-button.accept,\
|
294
|
+
.modal.in .btn.close-modal-cookie,\
|
295
|
+
#consent-module[style*="block"] #consent-module-text-button,\
|
296
|
+
.modal #consentButton,\
|
297
|
+
#consent-modal[style*="block"] .lm_modal__modal__content__body__buttons__ok,\
|
298
|
+
.cookiesOverlay3Box #cookiesConsentOK,\
|
299
|
+
.bemCookieOverlay--activePopup .bemCookieOverlay__btn--save,\
|
300
|
+
#root main ~ div [data-gi-selector="reject-all-cookies"] ~ div a,\
|
301
|
+
.cookies-management .cookies-deny,\
|
302
|
+
#cookieNoticeModal.vrm-reveal[style*="block"] .vrm-reveal__icon--close',
|
303
|
+
|
304
|
+
'#cookie-modal.in .btn[onclick*="setCookie"],\
|
305
|
+
div[class^="sp_veil"] + div[id^="sp_message"] > div[class^="sp_message"] > div[id^="sp_message_panel"]:first-child div[class^="sp_choices"] button:not([aria-label]):first-child,\
|
306
|
+
div[class^="sp_veil"] + div[id^="sp_message"] #sp-tabindex-focus + div div[class^="sp_choices"] button[aria-label]:first-child + button,\
|
307
|
+
#privacyPolicyInfo.active #acceptPrivacyPolicy,\
|
308
|
+
.fade.in .btn.cookie-yes,\
|
309
|
+
#cookie-disclaimer[style*="block"] .cc_btn_accept_all,\
|
310
|
+
.reveal-overlay[style*="block"] #dsgvo .cc_btn_accept_all,\
|
311
|
+
.reveal-overlay[style*="block"] #reveal-cookies .btn[data-save],\
|
312
|
+
#manageCookieConsentDialog.in #btn-cookie-agreed,\
|
313
|
+
.fancybox-opened #gdpr-yes,\
|
314
|
+
#cookie_form #accepted,\
|
315
|
+
#PrivacySettings.in .bootstrap-switch-id-PrivacySettingsAgreeToAll .bootstrap-switch-default,\
|
316
|
+
#PrivacySettings.in .btn-privacy-settings--save,\
|
317
|
+
#ccc[open] #ccc-recommended-settings,\
|
318
|
+
form[action*="cookiewall"] .button-accept-cookies,\
|
319
|
+
#dtcookie-container.is-on .dtcookie__accept,\
|
320
|
+
.approve-btn[href*="setCookieAndRedirect"],\
|
321
|
+
button[data-qa-entity="cookies.button"],\
|
322
|
+
#_evidon_banner[style*="flex"] #_evidon-accept-button,\
|
323
|
+
#_evidon_banner[style*="block"] #_evidon-accept-button,\
|
324
|
+
#_evidon-banner[style*="block"] #_evidon-banner-acceptbutton,\
|
325
|
+
.cookiewall .cookiewallBody .btn-approve,\
|
326
|
+
#cookiewallModal.in .btn-approve,\
|
327
|
+
.js-gdpr-consent-container .js-gdpr-consent-agree,\
|
328
|
+
.qc-cmp-showing .qc-cmp-button[onclick],\
|
329
|
+
.page-cookie-wall .cookie-wall__form .btn,\
|
330
|
+
form[action*="cookieconsent"] #SubmitButton,\
|
331
|
+
.md-content.show .tm-cookies-consent-accept,\
|
332
|
+
.md-show.cookies-consent .tm-cookies-consent-accept,\
|
333
|
+
.modal-window #gdpr-modal-agree,\
|
334
|
+
.privacy-overlay.ui-dialog .button.confirm-button,\
|
335
|
+
.wrapper.show-plack .top-view .button-wrapper .btn,\
|
336
|
+
.cookie_btn_accept_all,\
|
337
|
+
button#cookies-accept-button,\
|
338
|
+
#cmp-message .cmp-button[onclick*="cookieAccept"],\
|
339
|
+
.template-gdpr .gdpr[data-api*="onetrust.com"] .gdpr-form .btn,\
|
340
|
+
.dialog .cookie-banner__btn-accept,\
|
341
|
+
button#btn-accept-consent,\
|
342
|
+
button#gdpr-consent-accept,\
|
343
|
+
#modal-ley-cookies.in .button-text-ley-cookies,\
|
344
|
+
.remodal-wrapper[style*="block"] .cookie-notice .remodal-close,\
|
345
|
+
#cookie-wall:not([hidden]) #cookie-wall-accept,\
|
346
|
+
#gdpr.modal.active #gdprNotice #accept,\
|
347
|
+
.btn-accecpt-cookie,\
|
348
|
+
#js-gdpr-accept:not(.cta),\
|
349
|
+
.ck-modal--cookieModalMain .ck-Button__primary,\
|
350
|
+
.ReactModal__Overlay--after-open .cookie-notice button + button,\
|
351
|
+
.ReactModal__Overlay--after-open .UPM__PrivacyModal span + div > span:first-child button,\
|
352
|
+
.privacyInformationDiv .cookie-agree,\
|
353
|
+
.modal.fade.in #acceptCookie,\
|
354
|
+
.button[value="accept-all"][data-gtm="basic-consent/accept-all/button"],\
|
355
|
+
#js-modal-consent .js-consent-accept,\
|
356
|
+
#cookie-warning.show #cookie-accept,\
|
357
|
+
.html-consent .cc-overlay-submit,\
|
358
|
+
.c-cookie-consent-button-wrapper .c-cookie-consent__button,\
|
359
|
+
#accept-cookie-policy.btn,\
|
360
|
+
.privacywall-overview .js-privacywall-agree,\
|
361
|
+
.privacywall-overlay .js-privacywall-agree,\
|
362
|
+
#cookie_consent_layer .btn[onclick*="acceptAllCookies"],\
|
363
|
+
#gdprModal #restaccept,\
|
364
|
+
#gdprModal .primary[onclick*="Accept"],\
|
365
|
+
.gdrpbox.in .btn[onclick*="gdrpSetCookie"],\
|
366
|
+
#cookie-notification .modal-footer .btn,\
|
367
|
+
#cookieManagerFooter #anwbrGiveConsent,\
|
368
|
+
#cookie-wall-modal .btn-primary,\
|
369
|
+
#cookie.popup .button.accept,\
|
370
|
+
.dot-cc-wrapper .dot-heading ~ .dot-button-container .dot-btn-1,\
|
371
|
+
.dot-cc-wrapper .dot-hide-cc-wrapper,\
|
372
|
+
#my-content-cookielaw .cookie-btn,\
|
373
|
+
#modalCookie .accept-cookie,\
|
374
|
+
#modalCookie.shown .button[data-action="accept-cookies"],\
|
375
|
+
.modal.cookie .btn[onclick*="setCookie"],\
|
376
|
+
#cookiesbanner #hidecookiesbanner,\
|
377
|
+
#cookiewall-buttons .accept-cookies,\
|
378
|
+
form[action*="cookieservice.rtl.nl/consent"] .accept-button,\
|
379
|
+
.buttonComp.cookieAccept,\
|
380
|
+
.c-cookie-info .c-button.cookieAccept,\
|
381
|
+
#btnAcceptCookies,\
|
382
|
+
form[name="cookieconsent"] input[name="consent"],\
|
383
|
+
.cookie-consent .box__button,\
|
384
|
+
.modal #cookiewarning .button--decline,\
|
385
|
+
.modal-cookie .btn[onclick*="setCookiepopup"],\
|
386
|
+
.cookie-wall__button button,\
|
387
|
+
#notification-allowCookies button,\
|
388
|
+
#sanoma-consent-accept-button',
|
389
|
+
|
390
|
+
'#rodo.in .button[href*="accept"],\
|
391
|
+
#gdpr_popin[style*="block"] .gdpr-agree,\
|
392
|
+
form[action*="cookieservice"] #acceptButton,\
|
393
|
+
#cookiescript_injected #cookiescript_accept,\
|
394
|
+
#js-cookie-wall[style*="block"] #js-cookie-wall-accept,\
|
395
|
+
.ui-dialog.open #CookiePopup form .btn,\
|
396
|
+
#modalCookie.show .cookie-accept,\
|
397
|
+
#cookieform input.modal__submit,\
|
398
|
+
#accept_koe.btn,\
|
399
|
+
form[action*="cookie"] .melding #btnYes,\
|
400
|
+
#cookie-consent-form input[type="submit"],\
|
401
|
+
.cookiebar-actions #grantPermissionButton,\
|
402
|
+
.cookiewall #TOL_link1,\
|
403
|
+
.cookie-wrap[style] #TOL_link1,\
|
404
|
+
#cookieConsentPopup[style*="block"] .btn,\
|
405
|
+
#cadre_alert_cookies .popup-modal-dismiss,\
|
406
|
+
#cookieConsentModal .success,\
|
407
|
+
#privacy_statement_pop.in .btn[onclick*="close"],\
|
408
|
+
.cookie-accept-block .cookie-accept-block-button .btn,\
|
409
|
+
#cookieConsent.remodal-is-opened #acceptAllCookies,\
|
410
|
+
.template--cookiewall .js-accept-cookies.btn,\
|
411
|
+
.modal-cookie.show .js-accept-cookies.btn,\
|
412
|
+
.state-visible .js-accept-cookies.btn,\
|
413
|
+
#btn-allow-cookie,\
|
414
|
+
.modal-cookie-warning .modal-close,\
|
415
|
+
.cookiemessage__button--accept,\
|
416
|
+
.cookieWallContent .ok-cookies,\
|
417
|
+
#cookie-master #acceptCookies,\
|
418
|
+
.cookie-wall .cookie-button,\
|
419
|
+
#cookiebar_wrapper .accept-button:not(.sanoma-consent-change-settings-button),\
|
420
|
+
.cookieallowbutton,\
|
421
|
+
#js-cookie-message #js-accept-cookie,\
|
422
|
+
.popup-cookie--buttons .popup-cookie--save,\
|
423
|
+
.cookie-box #cookie-button,\
|
424
|
+
#cookie-acceptance .btn.allow,\
|
425
|
+
#acceptcookies.btn,\
|
426
|
+
#cookiewet_NL .btn[href*="acceptcookie"],\
|
427
|
+
.cadre_inner_texte_alert_cookies .popup-modal-dismiss,\
|
428
|
+
.cookiewall button.allow_cookies,\
|
429
|
+
#agree_with_cookie_terms,\
|
430
|
+
.cookie-compliance-ok-btn,\
|
431
|
+
a.cookieControlAccept,\
|
432
|
+
button#cookie_accept,\
|
433
|
+
.close.uiDismissCookiePolicy,\
|
434
|
+
.fancybox-opened #cookiePolicy .info-close,\
|
435
|
+
input[name="bw-cookie-consent-agree"] + input[type="submit"],\
|
436
|
+
.js-cookie-info-accept-button,\
|
437
|
+
#cookiePopup .btn-primary,\
|
438
|
+
.modal .button[href*="accepteer-cookies"],\
|
439
|
+
#cookie-modal .accept-cookies,\
|
440
|
+
.popupframe input[name="cookieconsent_agreed"],\
|
441
|
+
#ucCookiePolicy_btnCookiePolicyDismiss,\
|
442
|
+
.alternetCookieMessage .alternetCookieAnswerLink,\
|
443
|
+
#cookie-modal #cookie-consent-btn,\
|
444
|
+
#cookies .button.CookiesOK,\
|
445
|
+
.m-cookie-disclaimer .s-btn-close,\
|
446
|
+
.consenso a[href*="accept-cookies"],\
|
447
|
+
.button_submit[title="I accept the cookies"],\
|
448
|
+
.accept-cookies a[onclick*="acceptCookies"],\
|
449
|
+
.as_cookies_block_buttons a,\
|
450
|
+
#btn-give-cookie-consent,\
|
451
|
+
.cookie-info .btn-primary.cookie-accept,\
|
452
|
+
.modal-open #cookie-modal .cookie-accept,\
|
453
|
+
#js-cookie-popup.magnificPopup .btnSave,\
|
454
|
+
#melding .ja,\
|
455
|
+
.cookie_banner[data-module="cookie_banner"]:not(.xs-hide) .btn-close,\
|
456
|
+
.cookie-notification-wrapper[style*="block"] .btn-primary,\
|
457
|
+
.window-cookiewall .cookie-button,\
|
458
|
+
#cookieModal .btn-icon-primary,\
|
459
|
+
.wall #form_save,\
|
460
|
+
.consent #button_yes,\
|
461
|
+
.CookieSplashPage #NextButton,\
|
462
|
+
#cookieconsent1.accept,\
|
463
|
+
#jakoekies,\
|
464
|
+
.btn-accept[href*="coockie"],\
|
465
|
+
.btn-accept[href*="cookie"],\
|
466
|
+
.btn-accept[href*="Cookie"],\
|
467
|
+
.page--cookiewall .button[href*="acceptcookies"],\
|
468
|
+
.layout--cookiewall .fjs-accept,\
|
469
|
+
#cookies__modal .btn[href*="AcceptCookie"],\
|
470
|
+
.btnAccept[href*="Cookies"],\
|
471
|
+
#cookie-wall .btn-accept-cookies,\
|
472
|
+
#cookiebox-nieuw .btn-cookie,\
|
473
|
+
.cookiecontainer button[name="accept"],\
|
474
|
+
.btn--accept[href*="cookiewall"],\
|
475
|
+
.button--accept[href*="cookiewall"],\
|
476
|
+
form[name="cookieconsent"] .consent.btn,\
|
477
|
+
body.background .footer button#form_save.button[name="form[save]"],\
|
478
|
+
.cookie-modal .btn.accept-cookies-button[href^="/Cookie/HasConsent"],\
|
479
|
+
.view-cookie .js-cta-accept-cookie,\
|
480
|
+
.main-header [data-module="cookie-notice"] .buttons[class*="primary"],\
|
481
|
+
.c-cookie-consent form[name="cookie-consent"] input[type="submit"],\
|
482
|
+
.c-cookie-consent .c-cookie-consent__button',
|
483
|
+
|
484
|
+
'.fancybox-overlay[style*="block"] #cookie-consent-simple .cookie__btn--primary,\
|
485
|
+
ab-cookie-wall modal-footer .btn,\
|
486
|
+
.cookie-policy-popup[style*="block"] .button[data-cookie-policy-accept],\
|
487
|
+
.cookie-consent-modal.ui-modal_open .cookie-consent-modal__accept-button,\
|
488
|
+
#cookiewizard[style*="block"] #accept-all-cookies,\
|
489
|
+
.AST-banner > div[style*="block"] .AST-accept,\
|
490
|
+
#cookie_constent_submit,\
|
491
|
+
.cookielayer[style*="block"] .cookielayer__optinbtn .btn--primary,\
|
492
|
+
.modal.in .btn[onclick*="accept"][onclick*="gdpr"],\
|
493
|
+
.Dialog--gdprCookieConsent.Dialog--open .GDPRCookieConsent__button,\
|
494
|
+
#consentContainer .raised-btn[href*="granted"],\
|
495
|
+
.reveal-overlay[style*="block"] #phg_cookies_modal .phgcookies_label_okay,\
|
496
|
+
#cookielaw.in #cookie-accept,\
|
497
|
+
.module.consent > .ok[type="button"],\
|
498
|
+
body[class*="tiki"] #cookie_consent_div:not([style*="display: none"]) #cookie_consent_button,\
|
499
|
+
body[class*="tiki"] #cookie_consent_div:not([style*="display: none"]) #cookie_consent_checkbox,\
|
500
|
+
body[class*="tiki"] #cookie_consent_div:not([style*="display: none"]) input[name="cookie_consent_checkbox"],\
|
501
|
+
.cookiesOverlay2Box #cookiesConsentOK,\
|
502
|
+
#myCookieModal.in .cookie-button,\
|
503
|
+
div[data-cookie-path] a[href*="technologies/cookies"] + div,\
|
504
|
+
.disable--interaction .cm__btn[data-role=necessary]',
|
505
|
+
];
|
506
|
+
|
507
|
+
// Search loop function
|
508
|
+
|
509
|
+
const searchGroupsLength = searchGroups.length;
|
510
|
+
const searchPairsKeys = Object.keys(searchPairs);
|
511
|
+
const searchPairsJoinedKeys = searchPairsKeys.join(",");
|
512
|
+
let timeoutDuration = 300;
|
513
|
+
|
514
|
+
function searchLoop(counter) {
|
515
|
+
setTimeout(function () {
|
516
|
+
document.querySelectorAll(searchPairsJoinedKeys).forEach(function (box) {
|
517
|
+
searchPairsKeys.forEach(function (selector) {
|
518
|
+
if (box.matches(selector)) {
|
519
|
+
(box.shadowRoot || box)
|
520
|
+
.querySelectorAll(searchPairs[selector].join(","))
|
521
|
+
.forEach(function (element) {
|
522
|
+
if (element.click && !element.classList.contains("idcac")) {
|
523
|
+
element.classList.add("idcac");
|
524
|
+
|
525
|
+
if (typeof chrome == "object" && chrome.runtime) {
|
526
|
+
chrome.runtime.sendMessage({
|
527
|
+
command: "cookie_warning_dismissed",
|
528
|
+
url: document.location.href,
|
529
|
+
});
|
530
|
+
}
|
531
|
+
|
532
|
+
element.click();
|
533
|
+
|
534
|
+
// The 2nd click is just to be sure. Avoid when a double click breaks the process.
|
535
|
+
if (selector != ".message-container") {
|
536
|
+
setTimeout(function () {
|
537
|
+
if (element) element.click();
|
538
|
+
}, 500);
|
539
|
+
}
|
540
|
+
|
541
|
+
timeoutDuration += 500;
|
542
|
+
}
|
543
|
+
});
|
544
|
+
}
|
545
|
+
});
|
546
|
+
});
|
547
|
+
|
548
|
+
document
|
549
|
+
.querySelectorAll(searchGroups[counter % searchGroupsLength])
|
550
|
+
.forEach(function (element) {
|
551
|
+
if (element.click && !element.classList.contains("idcac")) {
|
552
|
+
element.classList.add("idcac");
|
553
|
+
|
554
|
+
if (typeof chrome == "object" && chrome.runtime) {
|
555
|
+
chrome.runtime.sendMessage({
|
556
|
+
command: "cookie_warning_dismissed",
|
557
|
+
url: document.location.href,
|
558
|
+
});
|
559
|
+
}
|
560
|
+
|
561
|
+
element.click();
|
562
|
+
|
563
|
+
setTimeout(function () {
|
564
|
+
if (element) element.click();
|
565
|
+
}, 500);
|
566
|
+
|
567
|
+
timeoutDuration += 500;
|
568
|
+
}
|
569
|
+
});
|
570
|
+
|
571
|
+
if (counter < 100 * searchGroupsLength) {
|
572
|
+
searchLoop(counter + 1);
|
573
|
+
}
|
574
|
+
}, timeoutDuration);
|
575
|
+
|
576
|
+
timeoutDuration += 50;
|
577
|
+
}
|
578
|
+
|
579
|
+
const start = setInterval(function () {
|
580
|
+
const html = document.querySelector("html");
|
581
|
+
|
582
|
+
if (!html || /idc0_343/.test(html.className)) {
|
583
|
+
return;
|
584
|
+
}
|
585
|
+
|
586
|
+
html.className += " idc0_343";
|
587
|
+
searchLoop(0);
|
588
|
+
clearInterval(start);
|
589
|
+
}, 500);
|
590
|
+
})();
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/* Session storage handler */
|
2
|
+
/* Use this handler if it's possible to remove the warning using the session storage and can't be handeld using css*/
|
3
|
+
|
4
|
+
function getItem(hostname) {
|
5
|
+
switch (hostname) {
|
6
|
+
case "pepephone.com":
|
7
|
+
return { strict: true, key: "cookiesChosen", value: "done" };
|
8
|
+
}
|
9
|
+
|
10
|
+
const parts = hostname.split(".");
|
11
|
+
|
12
|
+
if (parts.length > 2) {
|
13
|
+
parts.shift();
|
14
|
+
return getItem(parts.join("."));
|
15
|
+
}
|
16
|
+
|
17
|
+
return false;
|
18
|
+
}
|
19
|
+
|
20
|
+
const hostname = document.location.hostname.replace(/^w{2,3}\d*\./i, "");
|
21
|
+
const item = getItem(hostname);
|
22
|
+
|
23
|
+
if (item) {
|
24
|
+
const value = sessionStorage.getItem(item.key);
|
25
|
+
|
26
|
+
if (value == null || (item.strict && value != item.value)) {
|
27
|
+
sessionStorage.setItem(item.key, item.value);
|
28
|
+
document.location.reload();
|
29
|
+
}
|
30
|
+
}
|