File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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/*
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 ;
You can’t perform that action at this time.
0 commit comments