Skip to content

Commit 5dacdbd

Browse files
committed
Add tii.la crowd bypass
1 parent 634fe6c commit 5dacdbd

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

src/bypasses/blogtech.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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'];

src/bypasses/tii.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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'];

0 commit comments

Comments
 (0)