Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port bypasses to mv3 #1115

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Package

on:
push:
branches: [main, manifest-v3]
branches: [main, manifest-v3, porting-to-mv3]

workflow_dispatch:

Expand Down
16 changes: 16 additions & 0 deletions src/bypasses/downloadrin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import BypassDefinition from './BypassDefinition.js';

export default class Downloadrin extends BypassDefinition {
constructor() {
super();
// Custom bypass required bases can be set here
}

execute() {
// Extract query parameters from the current URL and safely navigate
const queryParams = new URL(location.href).search.slice(1);
safelyNavigate(queryParams);
}
}

export const matches = ['downloadr.in'];
15 changes: 15 additions & 0 deletions src/bypasses/dxdrive.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import BypassDefinition from './BypassDefinition.js';

export default class Dxdrive extends BypassDefinition {
constructor() {
super();
// Custom bypass required bases can be set here
}

execute() {
window.setInterval = f => setInterval(f, 1);
}
}

// Define the list of domains to match against
export const matches = ['njiir.com', 'healthykk.com', 'linkasm.com', 'dxdrive.com', 'getwallpapers.com', 'sammobile.com', 'ydfile.com', 'mobilemodsapk.com', 'dlandroid.com', 'download.modsofapk.com', 'punchsubs.net', 'zedge.net', 'fex.net', 'k2s.cc', 'muhammadyoga.me','u.to', 'skiplink.io', 'uploadfree.info', 'freeupload.info', 'fstore.biz'];
14 changes: 14 additions & 0 deletions src/bypasses/emulatorgames.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import BypassDefinition from './BypassDefinition.js'

export default class Emulatorgames extends BypassDefinition {
constructor() {
super()
// Custom bypass required bases can be set here
}

execute() {
window.setInterval = f => setInterval(f, 100)
}
}

export const matches = ['emulator.games/download.php']
14 changes: 14 additions & 0 deletions src/bypasses/firefaucet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import BypassDefinition from './BypassDefinition.js'

export default class Firefaucet extends BypassDefinition {
constructor() {
super()
// Custom bypass required bases can be set here
}

execute() {
window.setInterval = f => setInterval(f, 1)
}
}

export const matches = [ 'firefaucet.win/l/', 'sfirmware.com/downloads-file/', 'apkily.com/getapp$', 'androidtop.net/?do=downloads&id=' ]
14 changes: 14 additions & 0 deletions src/bypasses/lkc21.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import BypassDefinition from './BypassDefinition.js'

export default class Lck21 extends BypassDefinition {
constructor() {
super()
// Custom bypass required bases can be set here
}

execute() {
window.setTimeout = f => setTimeout(f, 100)
}
}

export const matches = ['lkc21.net', 'layarkacaxxi.org']
14 changes: 14 additions & 0 deletions src/bypasses/racaty.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import BypassDefinition from './BypassDefinition.js'

export default class Racaty extends BypassDefinition {
constructor() {
super()
// Custom bypass required bases can be set here
}

execute() {
window.setTimeout = f => setTimeout(f, 1)
}
}

export const matches = ['racaty.com', 'longfiles.com', 'filepuma.com', 'portableapps.com', 'indishare.org', 'datei.to', 'keisekai.fun', 'solvetube.site']
14 changes: 14 additions & 0 deletions src/bypasses/thesimsresource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import BypassDefinition from './BypassDefinition.js'

export default class TheSimsResource extends BypassDefinition {
constructor() {
super()
// Custom bypass required bases can be set here
}

execute() {
window.setTimeout = f => setTimeout(f, 1)
}
}

export const matches = ['thesimsresource.com/downloads/details/id/']
Loading