mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 00:13:02 +05:00
exclude google domains
This commit is contained in:
parent
f84a4271b0
commit
6ce88e3b78
2 changed files with 4 additions and 2 deletions
|
@ -17,8 +17,9 @@ def modify_script(input_script_path, includes_file_path, output_script_path):
|
||||||
# Remove lines starting with "// @include"
|
# Remove lines starting with "// @include"
|
||||||
script_lines = [line for line in script_lines if not line.startswith('// @include')]
|
script_lines = [line for line in script_lines if not line.startswith('// @include')]
|
||||||
|
|
||||||
# Insert includes content after the last description line
|
# Insert includes and excludes content after the last description line
|
||||||
script_lines.insert(last_description_line_index + 1, includes_content)
|
excludes_content = "// @exclude-match *://*google.com/*\n"
|
||||||
|
script_lines.insert(last_description_line_index + 1, includes_content + excludes_content)
|
||||||
|
|
||||||
# Write the modified script to the output file
|
# Write the modified script to the output file
|
||||||
with open(output_script_path, 'w') as output_file:
|
with open(output_script_path, 'w') as output_file:
|
||||||
|
|
|
@ -739,6 +739,7 @@
|
||||||
// @include /^(https?:\/\/)(.+)?(gos2.urlcash.click)(\/.*)/
|
// @include /^(https?:\/\/)(.+)?(gos2.urlcash.click)(\/.*)/
|
||||||
// @include /^(https?:\/\/)(.+)?(goes3.urlcash.click)(\/.*)/
|
// @include /^(https?:\/\/)(.+)?(goes3.urlcash.click)(\/.*)/
|
||||||
// @include /^(https?:\/\/)(.+)?(r1.foxylinks.site)(\/.*)/
|
// @include /^(https?:\/\/)(.+)?(r1.foxylinks.site)(\/.*)/
|
||||||
|
// @exclude-match *://*google.com/*
|
||||||
// @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|cloud.google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info)(\/.*)/
|
// @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|cloud.google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info)(\/.*)/
|
||||||
// @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
|
// @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
|
||||||
// @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
|
// @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
|
||||||
|
|
Loading…
Reference in a new issue