File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ import BypassDefinition from './BypassDefinition.js' ;
2
+
3
+ export default class BlogTechh extends BypassDefinition {
4
+ constructor ( ) {
5
+ super ( ) ;
6
+ // custom bypass required bases can be set here
7
+ }
8
+
9
+ execute ( ) {
10
+ console . log ( 'blogtechh bypass running' ) ;
11
+ this . helpers . awaitElement ( "button#getlink" , button => {
12
+ button . click ( )
13
+ } )
14
+ }
15
+ }
16
+
17
+ export const matches = [ 'blogtechh.com' , 'oko.sh' ] ;
Original file line number Diff line number Diff line change
1
+ import BypassDefinition from './BypassDefinition.js' ;
2
+
3
+ export default class TiiLa extends BypassDefinition {
4
+ constructor ( ) {
5
+ super ( ) ;
6
+ this . ensure_dom = true ;
7
+ // custom bypass required bases can be set here
8
+ }
9
+
10
+ execute ( ) {
11
+ const urlObj = new URL ( window . location . href )
12
+ this . helpers . crowdQuery ( 'tii.la' , urlObj . pathname . slice ( 1 ) ) . then ( ( dest ) => {
13
+ this . helpers . crowdNavigate ( dest ) ;
14
+ } ) ;
15
+ /*keep checking for the button*/
16
+ setInterval ( ( ) => {
17
+ const button = document . querySelector ( "a.btn.btn-success.btn-lg.get-link" ) ;
18
+ if ( button . href ) {
19
+ this . helpers . crowdContribute ( 'tii.la' , urlObj . pathname . slice ( 1 ) , button . href )
20
+ this . helpers . safelyNavigate ( button . href )
21
+ }
22
+ } , 500 ) ;
23
+
24
+ }
25
+ }
26
+
27
+ export const matches = [ 'tii.la' ] ;
You can’t perform that action at this time.
0 commit comments