Skip to content

Commit e114ff4

Browse files
committed
Update
1 parent a39e1b8 commit e114ff4

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

bypass-various-popups.user.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Bypass Various Popups
3-
// @version 0.27
3+
// @version 0.28
44
// @downloadURL https://userscripts.codonaft.com/bypass-various-popups.user.js
55
// @require https://userscripts.codonaft.com/utils.js
66
// @match https://*.archive.org/*
@@ -14,6 +14,7 @@
1414
// @match https://inporn.com/*
1515
// @match https://manysex.com/*
1616
// @match https://pmvhaven.com/*
17+
// @match https://pornmate.com/*
1718
// @match https://pornone.com/*
1819
// @match https://spankbang.com/*
1920
// @match https://txxx.com/*
@@ -79,6 +80,12 @@ const process = (node, observer) => {
7980
return false;
8081
}
8182

83+
if (node.matches('button.btn-confirm') && node.textContent?.includes(' AM OVER 18')) {
84+
observer.disconnect();
85+
node.click();
86+
return false;
87+
}
88+
8289
if (node.matches('div.age-popup-btns > div#okButton') && node.textContent?.includes('18 or older')) {
8390
observer.disconnect();
8491
node.click();
@@ -98,7 +105,6 @@ const process = (node, observer) => {
98105
}
99106

100107
if (node.matches('div.age_disclaimer_window a#btn_agree') && node.textContent?.includes(' am 18 or older ')) {
101-
console.log('detected', node);
102108
observer.disconnect();
103109
setTimeout(_ => simulateMouse(document, node), random(900, 1200));
104110
return false;

0 commit comments

Comments
 (0)