mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 16:33:02 +05:00
stop making includes for commented-out lines of JS
This commit is contained in:
parent
c45440fb38
commit
74d6bc83b2
4 changed files with 4 additions and 7 deletions
|
@ -1,18 +1,18 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
def extract_regex_from_js(js_code):
|
def extract_regex_from_js(js_code):
|
||||||
pattern1 = r'BypassedByBloggerPemula\((.*?),'
|
pattern1 = r'(?<!//)BypassedByBloggerPemula\((.*?),'
|
||||||
matches1 = re.findall(pattern1, js_code)
|
matches1 = re.findall(pattern1, js_code)
|
||||||
matches1 = [match.strip('/') for match in matches1]
|
matches1 = [match.strip('/') for match in matches1]
|
||||||
|
|
||||||
pattern2 = r"BloggerPemula\('([^']+)',"
|
pattern2 = r"(?<!//)BloggerPemula\('([^']+)',"
|
||||||
matches2 = re.findall(pattern2, js_code)
|
matches2 = re.findall(pattern2, js_code)
|
||||||
#matches2 = ['/' + s + '/' for s in matches2]
|
#matches2 = ['/' + s + '/' for s in matches2]
|
||||||
|
|
||||||
pattern3 = r"RemoveBp\('([^']+)',"
|
pattern3 = r"(?<!//)RemoveBp\('([^']+)',"
|
||||||
matches3 = re.findall(pattern3, js_code)
|
matches3 = re.findall(pattern3, js_code)
|
||||||
|
|
||||||
pattern4 = r'case \'(.*?)\':'
|
pattern4 = r'(?<!//)case \'(.*?)\':'
|
||||||
matches4 = re.findall(pattern4, js_code)
|
matches4 = re.findall(pattern4, js_code)
|
||||||
|
|
||||||
pattern5 = r"h\.href\.includes\('(.*?)'\)"
|
pattern5 = r"h\.href\.includes\('(.*?)'\)"
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
// @match *://*.olhonagrana.com/*
|
// @match *://*.olhonagrana.com/*
|
||||||
// @match *://*.dutchycorp.space/*
|
// @match *://*.dutchycorp.space/*
|
||||||
// @include /^(https?:\/\/)(.+)?(link.birdurls.com|link.owllink.net|link.illink.net)(\/.*)/
|
// @include /^(https?:\/\/)(.+)?(link.birdurls.com|link.owllink.net|link.illink.net)(\/.*)/
|
||||||
// @include /^(https?:\/\/)(.+)?(revcut.net|urlcut.pro|faho.us|bitad.org|cutlink.xyz|c2g.at)(\/.*)/
|
|
||||||
// @include /^(https?:\/\/)(.+)?((teachsansar|technicalatg|foodxor|cdrab|admediaflex).com|ecq.info|datacheap.io)(\/.*)/
|
// @include /^(https?:\/\/)(.+)?((teachsansar|technicalatg|foodxor|cdrab|admediaflex).com|ecq.info|datacheap.io)(\/.*)/
|
||||||
// @match *://*.facebook.com/*
|
// @match *://*.facebook.com/*
|
||||||
// @match *://*.ouo.io/*
|
// @match *://*.ouo.io/*
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
// @match *://*.olhonagrana.com/*
|
// @match *://*.olhonagrana.com/*
|
||||||
// @match *://*.dutchycorp.space/*
|
// @match *://*.dutchycorp.space/*
|
||||||
// @include /^(https?:\/\/)(.+)?(link.birdurls.com|link.owllink.net|link.illink.net)(\/.*)/
|
// @include /^(https?:\/\/)(.+)?(link.birdurls.com|link.owllink.net|link.illink.net)(\/.*)/
|
||||||
// @include /^(https?:\/\/)(.+)?(revcut.net|urlcut.pro|faho.us|bitad.org|cutlink.xyz|c2g.at)(\/.*)/
|
|
||||||
// @include /^(https?:\/\/)(.+)?((teachsansar|technicalatg|foodxor|cdrab|admediaflex).com|ecq.info|datacheap.io)(\/.*)/
|
// @include /^(https?:\/\/)(.+)?((teachsansar|technicalatg|foodxor|cdrab|admediaflex).com|ecq.info|datacheap.io)(\/.*)/
|
||||||
// @match *://*.facebook.com/*
|
// @match *://*.facebook.com/*
|
||||||
// @match *://*.ouo.io/*
|
// @match *://*.ouo.io/*
|
||||||
|
|
|
@ -23,7 +23,6 @@ techyinfo.in|techyblogs.in
|
||||||
olhonagrana.com
|
olhonagrana.com
|
||||||
dutchycorp.space
|
dutchycorp.space
|
||||||
link.birdurls.com|link.owllink.net|link.illink.net
|
link.birdurls.com|link.owllink.net|link.illink.net
|
||||||
revcut.net|urlcut.pro|faho.us|bitad.org|cutlink.xyz|c2g.at
|
|
||||||
(teachsansar|technicalatg|foodxor|cdrab|admediaflex).com|ecq.info|datacheap.io
|
(teachsansar|technicalatg|foodxor|cdrab|admediaflex).com|ecq.info|datacheap.io
|
||||||
facebook.com
|
facebook.com
|
||||||
ouo.io
|
ouo.io
|
||||||
|
|
Loading…
Reference in a new issue