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

2 new converted bypasses #913

Merged
merged 8 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions Bypassed.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,3 +536,7 @@ This is a list of websites bypassed in the MV2 version of the extension.
| https://leitup.com | ✅ |
| https://acortalink.me | ✅ |
| https://liblink.pl | ✅ |
| https://fsquad.com | ✅ |
| https://clink1.com | ❌ |
| https://vk.com | ✅ |

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

export default class Fssquad extends BypassDefinition {
constructor() {
super()
this.ensure_dom = true
}

execute() {
this.helpers.ifElement("div#wpsafe-link", d => {
this.helpers.safelyNavigate(d.getElementsByTagName("a")[0].onclick())
})
}
}

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

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

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

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

export default class Mangalist extends BypassDefinition {
constructor() {
super()
this.ensure_dom = true
}

execute() {
this.helpers.awaitElement("#btt > button.btn.btn-primary.text-center[onclick^='window.location.assign(']", b => {
let o = b.getAttribute('onclick')
this.helpers.safelyNavigate(o.substring(24, o.length - 3))
})
}
}

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

export default class Squidssh extends BypassDefinition {
constructor() {
super()
this.ensure_dom = true
}

execute() {
let p = atob((new URLSearchParams(location.search)).get('short'))
crowdPath(p)
crowdBypass(() => this.helpers.ifElement("form[action='/user/links']", f => f.action += "#" + p))
}
}

export const matches = ['squidssh.com/li/go.php', 'goodssh.com/li/go.php']
13 changes: 13 additions & 0 deletions src/bypasses/vk.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import BypassDefinition from './BypassDefinition.js'

export default class Vk extends BypassDefinition {
constructor() {
super()
}

execute() {
this.helpers.safelyNavigate(decodeURIComponent(document.URL.match(/vk\.com\/away\.php\?to=([^&]+)/)[1]))
}
}

export const matches = ['vk.com/away.php?to=']
57 changes: 55 additions & 2 deletions src/js/injection_script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,57 @@
const bypasses = {"acortalink.me":"bypasses/acortalink.js","www93.davisonbarker.pro":"bypasses/adfly.js","www96.lowrihouston.pro":"bypasses/adfly.js","akoam.to":"bypasses/akoam.js","anonym.ninja":"bypasses/anonym.js","brpaper.com":"bypasses/brpaper.js","cb.run":"bypasses/cbrun.js","cb.click":"bypasses/cbrun.js","complete2unlock.com":"bypasses/complete2unlock.js","cpmlink.net":"bypasses/cpmlink.js","daominhha.com/download":"bypasses/daominhha.js","earnme.club":"bypasses/earnme.js","usanewstoday.club":"bypasses/earnme.js","fastforward.team":"bypasses/fastforward.js","fc-lc.com":"bypasses/fclc.js","filedm.com":"bypasses/filedm.js","filehorse.com":"bypasses/filehorse.js","forex1pro.com":"bypasses/forex1pro.js","4shared.com":"bypasses/fourshared.js","gamesmega.net":"bypasses/gamesmega.js","gixen.com/home_1.php":"bypasses/gixen.js","leitup.com":"bypasses/leitup.js","liblink.pl":"bypasses/liblink.js","linkspy.cc":"bypasses/linkspy.js","linkvertise.com":"bypasses/linkvertise.js","linkvertise.net":"bypasses/linkvertise.js","link-to.net":"bypasses/linkvertise.js","lnk2.cc":"bypasses/lnk2cc.js","mydramalist.com":"bypasses/mydramalist.js","onepieceex.net":"bypasses/onepieceex.js","online-fix.me/ext/":"bypasses/onlinefix.js","oracle.com":"bypasses/oracle.js","pirateproxy.wtf":"bypasses/pirateproxy.js","rekonise.com":"bypasses/rekonise.js","sfile.mobi":"bypasses/sfile.js","sfile.xyz":"bypasses/sfile.js","apkmos.com":"bypasses/sfile.js","links.shortenbuddy.com":"bypasses/shortenbuddy.js","shortmoz.link":"bypasses/shortmoz.js","/sourceforge.net/projects/.+/files/.+/download/":"bypasses/sourceforge.js","srt.am":"bypasses/srtam.js","sub4unlock.com":"bypasses/sub4unlock.js","syosetu.org":"bypasses/syosetu.js","tik.lat":"bypasses/tiklat.js","uiz.io":"bypasses/uiz.js","uiz.app":"bypasses/uiz.js","tlkm.id":"bypasses/uiz.js","wadooo.com":"bypasses/wadooo.js","ytsubme.com":"bypasses/ytsubme.js"};
const bypasses = {
"acortalink.me": "bypasses/acortalink.js",
"www93.davisonbarker.pro": "bypasses/adfly.js",
"www96.lowrihouston.pro": "bypasses/adfly.js",
"akoam.to": "bypasses/akoam.js",
"anonym.ninja": "bypasses/anonym.js",
"brpaper.com": "bypasses/brpaper.js",
"cb.run": "bypasses/cbrun.js",
"cb.click": "bypasses/cbrun.js",
"clink1.com": "bypasses/clink1.js",
"complete2unlock.com": "bypasses/complete2unlock.js",
"cpmlink.net": "bypasses/cpmlink.js",
"daominhha.com/download": "bypasses/daominhha.js",
"earnme.club": "bypasses/earnme.js",
"usanewstoday.club": "bypasses/earnme.js",
"fastforward.team": "bypasses/fastforward.js",
"fc-lc.com": "bypasses/fclc.js",
"filedm.com": "bypasses/filedm.js",
"filehorse.com": "bypasses/filehorse.js",
"forex1pro.com": "bypasses/forex1pro.js",
"4shared.com": "bypasses/fourshared.js",
"fssquad.com": "bypasses/fssquad.js",
"gamesmega.net": "bypasses/gamesmega.js",
"gixen.com/home_1.php": "bypasses/gixen.js",
"leitup.com": "bypasses/leitup.js",
"liblink.pl": "bypasses/liblink.js",
"linkspy.cc": "bypasses/linkspy.js",
"linkvertise.com": "bypasses/linkvertise.js",
"linkvertise.net": "bypasses/linkvertise.js",
"link-to.net": "bypasses/linkvertise.js",
"lnk2.cc": "bypasses/lnk2cc.js",
"mydramalist.com": "bypasses/mydramalist.js",
"onepieceex.net": "bypasses/onepieceex.js",
"online-fix.me/ext/": "bypasses/onlinefix.js",
"oracle.com": "bypasses/oracle.js",
"pirateproxy.wtf": "bypasses/pirateproxy.js",
"rekonise.com": "bypasses/rekonise.js",
"sfile.mobi": "bypasses/sfile.js",
"sfile.xyz": "bypasses/sfile.js",
"apkmos.com": "bypasses/sfile.js",
"links.shortenbuddy.com": "bypasses/shortenbuddy.js",
"shortmoz.link": "bypasses/shortmoz.js",
"/sourceforge.net/projects/.+/files/.+/download/": "bypasses/sourceforge.js",
"srt.am": "bypasses/srtam.js",
"sub4unlock.com": "bypasses/sub4unlock.js",
"syosetu.org": "bypasses/syosetu.js",
"tik.lat": "bypasses/tiklat.js",
"uiz.io": "bypasses/uiz.js",
"uiz.app": "bypasses/uiz.js",
"tlkm.id": "bypasses/uiz.js",
"vk.com/away.php?to=": "bypasses/vk.js",
"wadooo.com": "bypasses/wadooo.js",
"ytsubme.com": "bypasses/ytsubme.js"
};

if (bypasses.hasOwnProperty(location.host)) {
const bypass_url = bypasses[location.host];
Expand Down Expand Up @@ -27,4 +80,4 @@ if (bypasses.hasOwnProperty(location.host)) {
}
});
});
}
}