-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
634fe6c
commit 5dacdbd
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import BypassDefinition from './BypassDefinition.js'; | ||
|
||
export default class BlogTechh extends BypassDefinition { | ||
constructor() { | ||
super(); | ||
// custom bypass required bases can be set here | ||
} | ||
|
||
execute() { | ||
console.log('blogtechh bypass running'); | ||
this.helpers.awaitElement("button#getlink", button => { | ||
button.click() | ||
}) | ||
} | ||
} | ||
|
||
export const matches = ['blogtechh.com', 'oko.sh']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import BypassDefinition from './BypassDefinition.js'; | ||
|
||
export default class TiiLa extends BypassDefinition { | ||
constructor() { | ||
super(); | ||
this.ensure_dom = true; | ||
// custom bypass required bases can be set here | ||
} | ||
|
||
execute() { | ||
const urlObj = new URL(window.location.href) | ||
this.helpers.crowdQuery('tii.la', urlObj.pathname.slice(1)).then((dest) => { | ||
this.helpers.crowdNavigate(dest); | ||
}); | ||
/*keep checking for the button*/ | ||
setInterval(() => { | ||
const button = document.querySelector("a.btn.btn-success.btn-lg.get-link"); | ||
if (button.href) { | ||
this.helpers.crowdContribute('tii.la', urlObj.pathname.slice(1), button.href) | ||
this.helpers.safelyNavigate(button.href) | ||
} | ||
}, 500); | ||
|
||
} | ||
} | ||
|
||
export const matches = ['tii.la']; |