profile
viewpoint

ytorg/Yotter 348

Youtube and Twitter with privacy.

FireMasterK/SkidSuite2-Latest 19

The latest skidsuite 2 from the dev :)

fastticketbot/FastTicket 8

A discord ticket bot that's ready out of the box!

FireMasterK/anti-adblock-killer 1

Anti-Adblock Killer helps you keep your Ad-Blocker active, when you visit a website and it asks you to disable.

FireMasterK/client 0

KAMI Blue: a continuation of KAMI

FireMasterK/contain-discord 0

Discord Container isolates your Discord activity from the rest of your web activity in order to prevent Discord from tracking you outside of Discord's websites via third-party cookies.

FireMasterK/Daedalus 0

Daedalus AntiCheat

issue closedSainan/Universal-Bypass

exe.io

closed time in 5 hours

KINGSMM

issue commentSainan/Universal-Bypass

exe.io

This is already bypassed by crowd bypass, which means you don't have to wait if someone has already waited on it.

KINGSMM

comment created time in 5 hours

issue commentSainan/Universal-Bypass

exe.io

New Link 1 Exe.io: https://exe.io/newtestbyps New Link 2 Exe.app: https://exe.app/newtestbyps

KINGSMM

comment created time in 6 hours

issue openedSainan/Universal-Bypass

t.ly

Example link: https://t.ly/nQjy

Note: Is an ip grabber.

created time in 7 hours

issue commentSainan/Universal-Bypass

exe.io

  1. Where did you get that link from?
KINGSMM

comment created time in 7 hours

issue commentSainan/Universal-Bypass

exe.io bypass

Eg link: exe.app/HLOMT4

KINGSMM

comment created time in 7 hours

issue openedSainan/Universal-Bypass

exe.io bypass

created time in 7 hours

issue commentTeamPiped/Piped

(Stuttering) Sounds Even When Muted

THANKS! Also, I'm not sure how dependent Piped is on Invidious, but the Invidious project has recently put out a PSA regarding deprecation of invidio.us and the using of the new official domain, invidious.io.

"invidio.us is now deprecated, invidious.io is the new domain.

The invidious-redirect website ( invidio.us ) is now https://redirect.invidious.io/

The instance API ( instances.invidio.us ) is now https://api.invidious.io/

The uptimerobot page ( uptime.invidio.us ) is now https://uptime.invidious.io/

https://git.invidious.io/ redirects to the Github page of the project: https://github.com/iv-org/invidious/

https://docs.invidious.io/ redirects to the documentation website of the project: https://github.com/iv-org/documentation/

https://invidious.io/ will become in the future a "project presentation" page (like https://searx.me/ ), we will use a markdown framework like Hugo.

Projects using something from invidio.us need to move to the new domain."

Mennaruuk

comment created time in 8 hours

issue commentSainan/Universal-Bypass

[Feature Request] Ignore/Whitelist domain

If you can fix the issue yourself, then you wouldn't report it. In this case, it was not an issue with Universal Bypass. So, all good.

Jinkiesz

comment created time in 18 hours

delete branch FireMasterK/JavaScriptObfuscator

delete branch : dependabot/npm_and_yarn/acorn-8.0.5

delete time in 20 hours

push eventFireMasterK/JavaScriptObfuscator

dependabot-preview[bot]

commit sha 906e309c5e6f73cc0009acdb4d07b77e90fe8364

Bump acorn from 8.0.4 to 8.0.5 Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.4 to 8.0.5. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](https://github.com/acornjs/acorn/compare/8.0.4...8.0.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

dependabot-preview[bot]

commit sha 927bcee6848792fa88fea8454f67a1e9d0339814

Merge pull request #60 from FireMasterK/dependabot/npm_and_yarn/acorn-8.0.5

view details

push time in 20 hours

PR merged FireMasterK/JavaScriptObfuscator

Bump acorn from 8.0.4 to 8.0.5 dependencies

Bumps acorn from 8.0.4 to 8.0.5. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/acornjs/acorn/commit/f90a5a2b6a32e1b9055563dd559df3841b37edc7"><code>f90a5a2</code></a> Mark version 8.0.5</li> <li><a href="https://github.com/acornjs/acorn/commit/0a4167509adee401490464f5d2ff3eeefc2cf341"><code>0a41675</code></a> Adjust package.json to work with Node v12.16.0,v13.0-v13.6</li> <li><a href="https://github.com/acornjs/acorn/commit/aa0ccb41a39f3967aa31858105167af35d2f52a6"><code>aa0ccb4</code></a> Fix lint complaints in walker</li> <li><a href="https://github.com/acornjs/acorn/commit/7f5a53af6fee54b9f910483b58e734cc5454b119"><code>7f5a53a</code></a> Mark acorn-walk 8.0.1</li> <li><a href="https://github.com/acornjs/acorn/commit/5468909f94f3dd60d4e4f0fa8395522f217a64cc"><code>5468909</code></a> [walker] Fix bug where full and fullAncestor skip nodes with overridden types</li> <li><a href="https://github.com/acornjs/acorn/commit/c20e05a037132310ad911cc6b973d85ee56b43aa"><code>c20e05a</code></a> Switch to Github actions for CI</li> <li><a href="https://github.com/acornjs/acorn/commit/85ce0a50eb3fd1938e0ad49391b6936043136d41"><code>85ce0a5</code></a> Replace another empty object with a prototype-less one</li> <li><a href="https://github.com/acornjs/acorn/commit/6746b1905e1669a68738563ab23ade1c6a3b25be"><code>6746b19</code></a> Use Object.create where appropriate</li> <li><a href="https://github.com/acornjs/acorn/commit/7f8799a82f733794b88c85ef7893753b59756c39"><code>7f8799a</code></a> Mark acorn-loose 8.0.1</li> <li><a href="https://github.com/acornjs/acorn/commit/2739d8b3c843e8910b02a5234566fa9774272793"><code>2739d8b</code></a> [loose parser] Always allow 'for await'</li> <li>Additional commits viewable in <a href="https://github.com/acornjs/acorn/compare/8.0.4...8.0.5">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+11 -4

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 20 hours

push eventFireMasterK/JavaScriptObfuscator

dependabot-preview[bot]

commit sha 3c8e98dc0dcc32af6f1e0f35da9e0b66aa32e259

Bump supertest from 6.1.2 to 6.1.3 Bumps [supertest](https://github.com/visionmedia/supertest) from 6.1.2 to 6.1.3. - [Release notes](https://github.com/visionmedia/supertest/releases) - [Commits](https://github.com/visionmedia/supertest/compare/v6.1.2...v6.1.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

dependabot-preview[bot]

commit sha e44a4a4b5d3a1f9b9633e179722dc74e8439723a

Merge pull request #59 from FireMasterK/dependabot/npm_and_yarn/supertest-6.1.3

view details

push time in 20 hours

delete branch FireMasterK/JavaScriptObfuscator

delete branch : dependabot/npm_and_yarn/supertest-6.1.3

delete time in 20 hours

PR merged FireMasterK/JavaScriptObfuscator

Bump supertest from 6.1.2 to 6.1.3 dependencies

Bumps supertest from 6.1.2 to 6.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/visionmedia/supertest/releases">supertest's releases</a>.</em></p> <blockquote> <h2>v6.1.3</h2> <ul> <li>Merge pull request <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/705">#705</a> from janthoe/master 8b0bf4d</li> <li>fix: Check error object before updating stack. (Fixes <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/700">#700</a>) b628d34</li> </ul> <p><a href="https://github.com/visionmedia/supertest/compare/v6.1.2...v6.1.3">https://github.com/visionmedia/supertest/compare/v6.1.2...v6.1.3</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/visionmedia/supertest/commit/1bb8c665f8188c312cfc89bf5898f92dfd282882"><code>1bb8c66</code></a> 6.1.3</li> <li><a href="https://github.com/visionmedia/supertest/commit/8b0bf4d143c556f8ee6c8f810763593946ebc5c1"><code>8b0bf4d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/705">#705</a> from janthoe/master</li> <li><a href="https://github.com/visionmedia/supertest/commit/b628d34270659a1e5fc7bdd2490b4b439ce9c499"><code>b628d34</code></a> fix: Check error object before updating stack. (Fixes <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/700">#700</a>)</li> <li>See full diff in <a href="https://github.com/visionmedia/supertest/compare/v6.1.2...v6.1.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+4 -4

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 20 hours

PR opened FireMasterK/JavaScriptObfuscator

Bump acorn from 8.0.4 to 8.0.5

Bumps acorn from 8.0.4 to 8.0.5. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/acornjs/acorn/commit/f90a5a2b6a32e1b9055563dd559df3841b37edc7"><code>f90a5a2</code></a> Mark version 8.0.5</li> <li><a href="https://github.com/acornjs/acorn/commit/0a4167509adee401490464f5d2ff3eeefc2cf341"><code>0a41675</code></a> Adjust package.json to work with Node v12.16.0,v13.0-v13.6</li> <li><a href="https://github.com/acornjs/acorn/commit/aa0ccb41a39f3967aa31858105167af35d2f52a6"><code>aa0ccb4</code></a> Fix lint complaints in walker</li> <li><a href="https://github.com/acornjs/acorn/commit/7f5a53af6fee54b9f910483b58e734cc5454b119"><code>7f5a53a</code></a> Mark acorn-walk 8.0.1</li> <li><a href="https://github.com/acornjs/acorn/commit/5468909f94f3dd60d4e4f0fa8395522f217a64cc"><code>5468909</code></a> [walker] Fix bug where full and fullAncestor skip nodes with overridden types</li> <li><a href="https://github.com/acornjs/acorn/commit/c20e05a037132310ad911cc6b973d85ee56b43aa"><code>c20e05a</code></a> Switch to Github actions for CI</li> <li><a href="https://github.com/acornjs/acorn/commit/85ce0a50eb3fd1938e0ad49391b6936043136d41"><code>85ce0a5</code></a> Replace another empty object with a prototype-less one</li> <li><a href="https://github.com/acornjs/acorn/commit/6746b1905e1669a68738563ab23ade1c6a3b25be"><code>6746b19</code></a> Use Object.create where appropriate</li> <li><a href="https://github.com/acornjs/acorn/commit/7f8799a82f733794b88c85ef7893753b59756c39"><code>7f8799a</code></a> Mark acorn-loose 8.0.1</li> <li><a href="https://github.com/acornjs/acorn/commit/2739d8b3c843e8910b02a5234566fa9774272793"><code>2739d8b</code></a> [loose parser] Always allow 'for await'</li> <li>Additional commits viewable in <a href="https://github.com/acornjs/acorn/compare/8.0.4...8.0.5">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+11 -4

0 comment

2 changed files

pr created time in 20 hours

PR opened FireMasterK/JavaScriptObfuscator

Bump supertest from 6.1.2 to 6.1.3

Bumps supertest from 6.1.2 to 6.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/visionmedia/supertest/releases">supertest's releases</a>.</em></p> <blockquote> <h2>v6.1.3</h2> <ul> <li>Merge pull request <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/705">#705</a> from janthoe/master 8b0bf4d</li> <li>fix: Check error object before updating stack. (Fixes <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/700">#700</a>) b628d34</li> </ul> <p><a href="https://github.com/visionmedia/supertest/compare/v6.1.2...v6.1.3">https://github.com/visionmedia/supertest/compare/v6.1.2...v6.1.3</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/visionmedia/supertest/commit/1bb8c665f8188c312cfc89bf5898f92dfd282882"><code>1bb8c66</code></a> 6.1.3</li> <li><a href="https://github.com/visionmedia/supertest/commit/8b0bf4d143c556f8ee6c8f810763593946ebc5c1"><code>8b0bf4d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/705">#705</a> from janthoe/master</li> <li><a href="https://github.com/visionmedia/supertest/commit/b628d34270659a1e5fc7bdd2490b4b439ce9c499"><code>b628d34</code></a> fix: Check error object before updating stack. (Fixes <a href="https://github-redirect.dependabot.com/visionmedia/supertest/issues/700">#700</a>)</li> <li>See full diff in <a href="https://github.com/visionmedia/supertest/compare/v6.1.2...v6.1.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+4 -4

0 comment

2 changed files

pr created time in 20 hours

issue commentSainan/Universal-Bypass

[Feature Request] Ignore/Whitelist domain

No & no, but it's easy pretty to disable Universal Bypass temporarily.

First, you refuse to help in the way the user reporting the problem suggested.

Open a new issue.

Then you tell us to open a new issue, knowing full well that you could have solved it already.

Jesus fucking christ. Alright then, as long as your comfortable in your cowardice.

Then you call us cowards for not immediately bowing to your whim.

Can't reproduce in Chrome or Firefox. [...] Ensure your UB is up-to-date. @Sainan closed this (#1751)

Then you close the issue I made, as you requested, immediately, without offering any other solution but to "ensure the extension is up to date" (which obviously, it is. Or I would not have come to Github to investigate it or make a report.)

You are astonishingly rude and I hope someone forks this project so we never have to deal with you again.

Jinkiesz

comment created time in a day

issue closedSainan/Universal-Bypass

docs.google.com

Google Drive download pages always crash (at least once) before downloading the file. Google Drive links should have an exception made for them so this does not happen.

As it is impossible to retrieve direct links, I will provide links which lead to the download page. Hopefully you'll be able to figure it out for yourself.

Quackberry SFX (Preview page)

https://user-images.githubusercontent.com/30361266/105768634-824b7c80-5f11-11eb-9029-8c0cee06bbcf.mp4

A Goofy Movie Fandub (Preview page)

https://user-images.githubusercontent.com/30361266/105768697-97c0a680-5f11-11eb-8bfe-97994506d53a.mp4

closed time in a day

halotroop2288

issue commentSainan/Universal-Bypass

docs.google.com

Can't reproduce in Chrome or Firefox. Second link needs access. Ensure your UB is up-to-date.

halotroop2288

comment created time in a day

issue closedSainan/Universal-Bypass

Error

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. Context _generated_background_page.html <33 lines not shown> return false } return true }, countIt=()=>{ brws.storage.local.set({bypass_counter:++bypassCounter}) sendToOptions({bypassCounter}) }, resetCounter=()=>{ bypassCounter=0 brws.storage.local.set({bypass_counter:0}) sendToOptions({bypassCounter}) }

// Install handler brws.runtime.onInstalled.addListener(details=>{ if(details.reason=="install") { brws.tabs.create({url:"https://universal-bypass.org/firstrun"}) } })

// Uninstall handler brws.runtime.setUninstallURL("https://docs.google.com/forms/d/e/1FAIpQLSdXw-Yf5IaDXZWw4fDHroZkDFOF6hgWEvVDaXT9ZADqnF2reg/viewform")

// Keeping track of options var bypassCounter=0,enabled=true,instantNavigation=true,trackerBypassEnabled=true,instantNavigationTrackers=false,blockIPLoggers=true,crowdEnabled=true,userScript="" brws.storage.sync.get(["disable","navigation_delay","no_tracker_bypass","no_instant_navigation_trackers","allow_ip_loggers","crowd_bypass","crowd_bypass_opt_out","crowd_open_delay","crowd_close_delay","no_info_box"],res=>{ if(res) { enabled=(!res.disable||res.disable!=="true") if(!enabled) { brws.browserAction.setIcon({path: { "48": "icon_disabled/48.png", "128": "icon_disabled/128.png", "150": "icon_disabled/150.png", "176": "icon_disabled/176.png", "512": "icon_disabled/512.png" }}) } if(res.navigation_delay) { instantNavigation=(res.navigation_delay==0) if(res.navigation_delay==61) { brws.storage.sync.set({navigation_delay:-1}) } } else { brws.storage.sync.set({navigation_delay:0}) } trackerBypassEnabled=(res.no_tracker_bypass!=="true") instantNavigationTrackers=(res.no_instant_navigation_trackers!=="true") blockIPLoggers=(res.allow_ip_loggers!=="true") if(res.crowd_bypass) { crowdEnabled=(res.crowd_bypass==="true") } else { crowdEnabled=(res.crowd_bypass_opt_out==="false"||!firefox) if(crowdEnabled) { brws.storage.sync.set({crowd_bypass:"true"}) } if(res.crowd_bypass_opt_out) { brws.storage.sync.remove(["crowd_bypass_opt_out"]) } } if(!res.crowd_open_delay||res.crowd_open_delay==61) { brws.storage.sync.set({crowd_open_delay:-6}) } if(!res.crowd_close_delay||res.crowd_close_delay==61) { brws.storage.sync.set({crowd_close_delay:-11}) } if(res.no_info_box) { brws.storage.sync.remove(["no_info_box"]) } } }) brws.storage.onChanged.addListener(changes=>{ if(changes.disable) { enabled=(changes.disable.newValue!=="true") if(enabled) { brws.browserAction.setIcon({path: { "48": "icon/48.png", "128": "icon/128.png", "150": "icon/150.png", "176": "icon/176.png", "512": "icon/512.png" }}) } else { brws.browserAction.setIcon({path: { "48": "icon_disabled/48.png", "128": "icon_disabled/128.png", "150": "icon_disabled/150.png", "176": "icon_disabled/176.png", "512": "icon_disabled/512.png" }}) } } if(changes.navigation_delay) { instantNavigation=(changes.navigation_delay.newValue==0) } if(changes.no_tracker_bypass) { trackerBypassEnabled=(changes.no_tracker_bypass.newValue!=="true") } if(changes.no_instant_navigation_trackers) { instantNavigationTrackers=(changes.no_instant_navigation_trackers.newValue!=="true") } if(changes.allow_ip_loggers) { blockIPLoggers=(changes.allow_ip_loggers.newValue!=="true") } if(changes.crowd_bypass) { crowdEnabled=(changes.crowd_bypass.newValue==="true") } if(changes.userscript) { userScript=changes.userscript.newValue } refreshInjectionScript() })

// Bypass definition management let updateStatus = "", injectionScript = "", preflightRules = {}, upstreamInjectionScript = "", upstreamCommit, channel = {}, optionsTab, optionsPort, bypassClipboard = "" const updateBypassDefinitions = callback => { if(updateStatus != "") { return } if(typeof callback != "function") { callback = () => {} } updateStatus = "checking" sendToOptions({updateStatus}) const finishDownload = () => { channel = {} let uniqueness = [] ;["stop_watching","count_it","crowd_referer","crowd_domain","crowd_path","crowd_query","crowd_queried","crowd_contribute","adlinkfly_info","adlinkfly_target","bypass_clipboard"].forEach(name => { let val do { val = Math.random().toString().substr(2) } while(uniqueness.indexOf(val) != -1); uniqueness.push(val) upstreamInjectionScript = upstreamInjectionScript.split("{{channel."+name+"}}").join(channel[name] = "data-" + val) }) ;["infoLinkvertise","infoFileHoster","infoOutdated","crowdWait","crowdDisabled"].forEach(name => { upstreamInjectionScript = upstreamInjectionScript.split("{{msg."+name+"}}").join(brws.i18n.getMessage(name).split("\").join("\\").split(""").join("\"")) }) upstreamInjectionScript = upstreamInjectionScript.split("{{icon/48.png}}").join(brws.runtime.getURL("icon/48.png")) refreshInjectionScript() updateStatus = "" sendToOptions({upstreamCommit, updateStatus}) } let xhr = new XMLHttpRequest() xhr.onload = () => { updateStatus = "updating" upstreamCommit = definitions_version sendToOptions({upstreamCommit, updateStatus}) callback(true) upstreamInjectionScript = xhr.responseText xhr = new XMLHttpRequest() xhr.open("GET", brws.runtime.getURL("rules.json"), true) xhr.onload = () => { preflightRules = JSON.parse(xhr.responseText) finishDownload() } xhr.send() } if(definitions_version==="") { xhr.onerror = () => { let xhr = new XMLHttpRequest() xhr.onload = () => { const latestCommit = JSON.parse(xhr.responseText).sha if(latestCommit == upstreamCommit) { updateStatus = "" sendToOptions({updateStatus}) callback(false) } else { updateStatus = "updating" if(upstreamCommit == "") { sendToOptions({upstreamCommit: latestCommit}) } sendToOptions({updateStatus}) callback(true) upstreamCommit = latestCommit let downloads = 0 xhr = new XMLHttpRequest() xhr.onload = () => { upstreamInjectionScript = xhr.responseText if(++downloads == 2) { finishDownload() } } xhr.onerror = () => { if(++downloads == 2) { finishDownload() } } xhr.open("GET", "https://raw.githubusercontent.com/Sainan/Universal-Bypass/" + upstreamCommit + "/injection_script.js", true) xhr.send() let xhr2 = new XMLHttpRequest() xhr2.onload = () => { preflightRules = JSON.parse(xhr2.responseText) if(++downloads == 2) { finishDownload() } } xhr2.onerror = () => { if(++downloads == 2) { finishDownload() } } xhr2.open("GET", "https://raw.githubusercontent.com/Sainan/Universal-Bypass/" + upstreamCommit + "/rules.json", true) xhr2.send() } } xhr.onerror = () => { updateStatus = "" sendToOptions({updateStatus}) callback(false) } xhr.open("GET", "https://api.github.com/repos/Sainan/Universal-Bypass/commits/master", true) xhr.send() } } xhr.open("GET", brws.runtime.getURL("injection_script.js"), true) xhr.send() }, refreshInjectionScript = () => { Object.values(onBeforeRequest_rules).forEach(func => brws.webRequest.onBeforeRequest.removeListener(func)) Object.values(onBeforeSendHeaders_rules).forEach(func => brws.webRequest.onBeforeSendHeaders.removeListener(func)) Object.values(onHeadersReceived_rules).forEach(func => brws.webRequest.onHeadersReceived.removeListener(func)) if(enabled) { injectionScript = (upstreamInjectionScript + "\n" + userScript) .split("UNIVERSAL_BYPASS_INTERNAL_VERSION").join("10") .split("UNIVERSAL_BYPASS_EXTERNAL_VERSION").join(extension_version) .split("UNIVERSAL_BYPASS_INJECTION_VERSION").join(upstreamCommit?upstreamCommit.substr(0,7):"dev") Object.keys(preflightRules).forEach(name=>{ if(name in onBeforeRequest_rules) { brws.webRequest.onBeforeRequest.addListener(onBeforeRequest_rules[name],{types:["main_frame"],urls:preflightRules[name]},["blocking"]) } else if(name in onBeforeSendHeaders_rules) { brws.webRequest.onBeforeSendHeaders.addListener(onBeforeSendHeaders_rules[name],{types:["main_frame","xmlhttprequest"],urls:preflightRules[name]},["blocking","requestHeaders"]) } else if(name in onHeadersReceived_rules) { brws.webRequest.onHeadersReceived.addListener(onHeadersReceived_rules[name],{types:["main_frame"],urls:preflightRules[name]},["blocking","responseHeaders"]) } }) } }, sendToOptions = data => { if(optionsPort) { optionsPort.postMessage(data) } } if(!definitions_version) { brws.alarms.create("update-bypass-definitions", {periodInMinutes: 60}) brws.alarms.onAlarm.addListener(()=>updateBypassDefinitions()) }

// Messaging brws.runtime.onMessage.addListener((req, sender, respond) => { switch(req.type) { case "content": respond({enabled, channel, crowdEnabled, injectionScript}) break;

	case "count-it":
	countIt()
	break;

	case "open-tab":
	brws.tabs.create({
		url: req.url
	})
	break;

	case "close-tab":
	brws.tabs.remove(sender.tab.id)
	break;

	case "crowd-contribute":
	if(crowdEnabled)
	{
		let xhr=new XMLHttpRequest()
		xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true)
		xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
		xhr.send(req.data)
	}
	else
	{
		console.warn("Unexpected message:", req)
	}
	break;
	
	case "bypass-clipboard":
	bypassClipboard=req.data
	break;

	default:
	console.warn("Invalid message:", req)
}

}) brws.runtime.onConnect.addListener(port => { switch(port.name) { case "options": if(optionsTab) { optionsPort.disconnect() brws.tabs.remove(optionsTab) } optionsTab=port.sender.tab.id optionsPort=port port.onDisconnect.addListener(()=>{ optionsTab=undefined optionsPort=undefined }) port.onMessage.addListener(req=>{ switch(req.type) { case "update": updateBypassDefinitions(updateSuccess => port.postMessage({updateSuccess})) break; } }) port.postMessage({updateStatus, upstreamCommit, bypassCounter, userScript, extension_version, amo: !!definitions_version}) break;

	case "crowd-query":
	port.onMessage.addListener(msg=>{
		let xhr=new XMLHttpRequest()
		xhr.onreadystatechange=()=>{
			if(xhr.readyState==4)
			{
				port.postMessage(xhr.status==200&&xhr.responseText!=""?xhr.responseText:"")
			}
		}
		xhr.open("POST","https://universal-bypass.org/crowd/query_v1",true)
		xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
		xhr.send("domain="+encodeURIComponent(msg.domain)+"&path="+encodeURIComponent(msg.crowdPath))
	})
	break;

	case "adlinkfly-info":
	port.onMessage.addListener(msg=>{
		let xhr=new XMLHttpRequest(),t="",iu=msg
		xhr.onload=()=>{
			let i=new DOMParser().parseFromString(xhr.responseText,"text/html").querySelector("img[src^='//api.miniature.io']")
			if(i)
			{
				let url=new URL(i.src)
				if(url.search&&url.search.indexOf("url="))
				{
					t=decodeURIComponent(url.search.split("url=")[1].split("&")[0])
				}
			}
			port.postMessage(t)
		}
		xhr.onerror=()=>port.postMessage(t)
		if(iu.substr(-1) != "/")
		{
			iu += "/"
		}
		xhr.open("GET", iu+"info", true)
		xhr.send()
	})
	break;

	default:
	console.warn("Invalid connection:", port)
}

})

// Internal redirects to extension URLs to bypass content script limitations brws.webRequest.onBeforeRequest.addListener(details=>{ return {redirectUrl:brws.runtime.getURL("html/noscript.html")} },{types:["main_frame"],urls:["://universal-bypass.org/firstrun?0"]},["blocking"]) brws.webRequest.onBeforeRequest.addListener(details=>{ return {redirectUrl:brws.runtime.getURL("html/options.html#firstrun")} },{types:["main_frame"],urls:["://universal-bypass.org/firstrun?1"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ let arr=details.url.substr(45).split("&referer="),url=arr[0],safe_in arr=arr[1].split("&safe_in=") if(arr.length>1) { safe_in=arr[1] } return encodedRedirect(url,decodeURIComponent(arr[0]),safe_in) },{types:["main_frame"],urls:["://universal-bypass.org/bypassed?target=&referer=*"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ countIt() return {redirectUrl:brws.runtime.getURL("html/crowd-bypassed.html")+details.url.substr(43)} },{types:["main_frame"],urls:["https://universal-bypass.org/crowd-bypassed?*"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ return {redirectUrl:brws.runtime.getURL("html/options.html")+details.url.substr(36)} },{types:["main_frame"],urls:["https://universal-bypass.org/options*"]},["blocking"])

// Navigation handling including presenting referer header to destinations var refererCache={} brws.webRequest.onBeforeRequest.addListener(details=>{ let arr=details.url.substr(45).split("&referer=") arr[0]=(new URL(decodeURIComponent(arr[0]))).toString() if(arr.length>1) { refererCache[arr[0]]=decodeURIComponent(arr[1].split("&")[0]) } return {redirectUrl:arr[0]} },{types:["main_frame"],urls:["://universal-bypass.org/navigate?target="]},["blocking"])

let infoSpec=["blocking","requestHeaders"] if("EXTRA_HEADERS" in brws.webRequest.OnBeforeSendHeadersOptions) { infoSpec.push("extraHeaders") } brws.webRequest.onBeforeSendHeaders.addListener(details=>{ if(enabled&&details.url in refererCache) { details.requestHeaders.push({ name: "Referer", value: refererCache[details.url] }) return {requestHeaders: details.requestHeaders} } },{types:["main_frame"],urls:["<all_urls>"]},infoSpec)

brws.webRequest.onBeforeRedirect.addListener(details=>{ if(enabled&&details.url in refererCache) { if(details.redirectUrl == details.url + "/") { refererCache[details.redirectUrl] = refererCache[details.url] } delete refererCache[details.url] } },{types:["main_frame"],urls:["<all_urls>"]})

brws.webRequest.onCompleted.addListener(details=>{ if(enabled&&details.url in refererCache) { delete refererCache[details.url] } },{types:["main_frame"],urls:["<all_urls>"]})

// Preflight Bypasses including Tracker Bypass using Apimon.de function resolveRedirect(url) { let xhr=new XMLHttpRequest(),destination xhr.onload=()=>{ let json=JSON.parse(xhr.responseText) if(json&&json.destination) { destination=json.destination preflightRules.tracker_force_http.forEach(domain=>{ if(destination.substr(0,9+domain.length)=="https://"+domain+"/") { destination="http://"+domain+"/"+destination.substr(9+domain.length) } }) } } xhr.open("GET","https://apimon.de/redirect/"+encodeURIComponent(url),false) xhr.send() return destination } const onBeforeRequest_rules = { path_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("aHR0c")))), path_s_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("/s/")+3)), path_r_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("/r/")+3))), path_dl_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("/dl/")+4))), path_u_id_base64: details => { let data=details.url.substr(details.url.indexOf("/u/")+3) return getRedirect(atob(data.substr(data.indexOf("/")+1))) }, query_raw: details => { let url=new URL(details.url) if(url.search) { return getRedirect(url.search.substr(1)+url.hash) } }, query_base64: details => getRedirect(atob((new URL(details.url)).search.replace("?",""))), hash_base64: details => { let url=new URL(details.url) if(url.hash) { return getRedirect(atob(url.hash.replace("#",""))) } }, param_url_general: details => { let url=details.url.substr(details.url.indexOf("&url=")+5) if(url.substr(0,5)=="aHR0c"||url.substr(0,7)=="bWFnbmV") { url=atob(url.split("&")[0]) } else if(url.substr(0,13)=="http%3A%2F%2F"||url.substr(0,14)=="https%3A%2F%2F") { url=decodeURIComponent(url.split("&")[0]) } else { if(url.substr(0,7)!="http://"&&url.substr(0,8)!="https://") { url="http://"+url } url+=(new URL(details.url)).hash } return getRedirect(url,details.url) }, param_url_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("url")) { return getRedirect(url.searchParams.get("url")) } }, param_q_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("q")) { return getRedirect(url.searchParams.get("q")) } }, param_xurl_raw_http: details => getRedirect("http"+details.url.substr(details.url.indexOf("?xurl=")+6)), param_aurl_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("aurl")) { return getRedirect(url.searchParams.get("aurl")) } }, param_capital_url_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("URL")) { return getRedirect(url.searchParams.get("URL")) } }, param_rel_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?rel=")+5))), param_link_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("link=")+5)), param_link_base64: details => { let url=new URL(details.url) if(url.searchParams.has("link")) { return getRedirect(atob(url.searchParams.get("link"))) } }, param_link_encoded_base64: details => getRedirect(decodeURIComponent(atob(details.url.substr(details.url.indexOf("?link=")+6)))), param_kesehatan_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?kesehatan=")+11))), param_wildcard_base64: details => getRedirect(atob(new URL(details.url).searchParams.values().next().value)), param_r_base64: details => getRedirect(atob(decodeURIComponent(details.url.substr(details.url.indexOf("?r=")+3))),0,safe_in), param_kareeI_base64_pipes: details => getRedirect(atob(details.url.substr(details.url.indexOf("?kareeI=")+8)).split("||")[0]), param_cr_base64: details => { let i=details.url.indexOf("cr=") if(i>0) { return getRedirect(atob(details.url.substr(i+3).split("&")[0])) } }, param_a_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?a=")+3).split("#",1)[0])), param_url_base64: details => { let i=details.url.indexOf("?url=") if(i>0) { return getRedirect(atob(details.url.substr(i+5).split("&")[0])) } }, param_id_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?id=")+4))), param_get_base64: details => { let arg=details.url.substr(details.url.indexOf("?get=")+5) return getRedirect(atob(arg.substr(0,arg.length-1))) }, param_u_base64: details => { let url=new URL(details.url) if(url.searchParams.has("u")) { return getRedirect(atob(url.searchParams.get("u"))+url.hash) } }, param_go_base64: details => { let b64=details.url.substr(details.url.indexOf("?go=")+4).split("&")[0] if(b64.substr(0,5)=="0OoL1") { b64="aHR0c"+b64.substr(5) } return getRedirect(atob(b64)) }, param_site_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?site=")+6).split("&")[0])), param_reff_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?reff=")+6))), param_s_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("?s=")+3),details.url), param_dl_encoded_base64: details => encodedRedirect(atob(details.url.substr(details.url.indexOf("?dl=")+4).split("&")[0])), param_health_encoded_base64: details => encodedRedirect(atob(details.url.substr(details.url.indexOf("?health=")+8))), param_id_reverse_base64: details => { let url=new URL(details.url) if(url.searchParams.has("id")) { let t=atob(url.searchParams.get("id").split("").reverse().join("")) if(t.substr(-16)=='" target="blank') { t=t.substr(0,t.length-16) } return getRedirect(t) } }, param_token_base64: details => { let url=new URL(details.url) if(url.searchParams.has("token")) { return getRedirect(atob(url.searchParams.get("token"))) } }, param_href_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("href")) { return getRedirect(url.searchParams.get("href")) } }, param_short_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("short")) { return getRedirect(url.searchParams.get("short")) } }, param_id_base64_replacements: details => { let url=new URL(details.url) if(url.searchParams.has("id")) { return getRedirect(atob(url.searchParams.get("id")).split("!").join("a").split(")").join("e").split("").join("i").split("(").join("o").split("*").join("u")) } }, param_dest_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("dest")) { return getRedirect(url.searchParams.get("dest")) } }, param_go_hex: details => { let url=new URL(details.url) if(url.searchParams.has("go")) { let go=url.searchParams.get("go"),a=[] for(let i=0;i<go.length-1;i+=2) { a.push(parseInt(go.substr(i,2),16)) } return getRedirect(String.fromCharCode.apply(String,a)) } }, param_to_base64: details => { let url=new URL(details.url) if(url.searchParams.has("to")) { return getRedirect(atob(url.searchParams.get("to"))) } }, param_data_base64: details => { let url=new URL(details.url) if(url.searchParams.has("data")) { return getRedirect(atob(url.searchParams.get("data"))) } }, bypass_clipboard: details => { let url=details.url+bypassClipboard bypassClipboard="" return{redirectUrl:url} }, tracker: details => { if(trackerBypassEnabled&&new URL(details.url).pathname!="/") { let destination=resolveRedirect(details.url) if(destination&&destination!=details.url) { return getRedirect(destination,"tracker") } } }, ip_logger: details => { if(new URL(details.url).pathname!="/") { if(trackerBypassEnabled) { let destination=resolveRedirect(details.url) if(destination&&destination!=details.url) { return getRedirect(destination,"tracker") } } if(blockIPLoggers) { return {redirectUrl:brws.runtime.getURL("html/blocked.html")} } } } }, onBeforeSendHeaders_rules = { useragent_googlebot: details => { details.requestHeaders.push({ name: "User-Agent", value: "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" }) return {requestHeaders: details.requestHeaders} }, useragent_iphone: details => { details.requestHeaders.push({ name: "User-Agent", value: "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1" }) return {requestHeaders: details.requestHeaders} }, useragent_chrome: details => { if(firefox) { details.requestHeaders.push({ name: "User-Agent", value: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36" }) return {requestHeaders: details.requestHeaders} } }, useragent_empty: details => { details.requestHeaders.push({ name: "User-Agent", value: "" }) return {requestHeaders: details.requestHeaders} } }, onHeadersReceived_rules = { redirect_persist_id_path: details => { let url = new URL(details.url) if(url.pathname.substr(0,6)!="/post/") { for(let i in details.responseHeaders) { let header = details.responseHeaders[i] if(header.name.toLowerCase() == "location") { details.responseHeaders[i].value += "#" + url.pathname.substr(1) break } } } return {responseHeaders: details.responseHeaders} }, redirect_persist_id_path_1_letter: details => { let url = new URL(details.url) for(let i in details.responseHeaders) { let header = details.responseHeaders[i] if(header.name.toLowerCase() == "location") { details.responseHeaders[i].value += "#" + url.pathname.substr(3).split("/")[0] break } } return {responseHeaders: details.responseHeaders} }, contribute_hash: details => { if(crowdEnabled&&details.method=="POST") { let url=new URL(details.url) if(url.hash.length>1) { for(let i in details.responseHeaders) { let header=details.responseHeaders[i] if(header.name.toLowerCase()=="location"&&isGoodLink(header.value)) { let xhr=new XMLHttpRequest() xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true) xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded") xhr.send("domain="+url.host+"&path="+encodeURIComponent(url.hash.substr(1))+"&target="+encodeURIComponent(header.value)) break } } } } } }

brws.storage.local.get(["userscript","bypass_counter"],res=>{ if(res) { if(res.userscript) { userScript=res.userscript } if(res.bypass_counter) { bypassCounter=res.bypass_counter } } updateBypassDefinitions() })

// Very Specific Preflight Bypasses brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { return encodedRedirect(details.url.substr(details.url.indexOf("/12/1/")+6)) } },{types:["main_frame"],urls:["://.sh.st/r//12/1/"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { return getRedirect(details.url.substr(details.url.substr(16).indexOf("/")+17)) } },{types:["main_frame"],urls:["http://sh.st/st//"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { let url=details.url do { let arr=url.substr(19).split("/") if(arr.length!=2) { return } url=atob(arr[1]) } while(url.length>=19&&url.substr(0,19)=="http://gslink.co/a/"); if(url!=details.url) { return getRedirect(url) } } },{types:["main_frame"],urls:["http://gslink.co/a/*"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { let url=new URL(details.url) if(url.searchParams.has("go")) { return getRedirect("https://clickar.net/"+url.searchParams.get("go")) } } },{types:["main_frame"],urls:["://.surfsees.com/?*"]},["blocking"])

// Ouo.io/press / lnk2.cc / Cshort.org Crowd Bypass brws.webRequest.onHeadersReceived.addListener(details=>{ if(enabled&&crowdEnabled) { let url=new URL(details.url) for(let i in details.responseHeaders) { let header=details.responseHeaders[i] if(header.name.toLowerCase()=="location"&&isGoodLink(header.value)) { let xhr=new XMLHttpRequest(), domain=url.hostname,path if(domain=="ouo.press") { domain="ouo.io" } path=(domain=="cshort.org"?url.pathname.substr(1):url.pathname.split("/")[2]) xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true) xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded") xhr.send("domain="+domain+"&path="+encodeURIComponent(path)+"&target="+encodeURIComponent(header.value)) break } } } },{types:["main_frame"],urls:[ "://.ouo.io//", "://.ouo.press//", "://.lnk2.cc//", "://.cshort.org/?u=" ]},["blocking","responseHeaders"])

// SoraLink Crowd Bypass let soralink_contribute={} brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { const arg_index=details.url.indexOf("&soralink_contribute="),url=details.url.substr(0,arg_index) if(crowdEnabled) { soralink_contribute[url]=details.url.substr(arg_index+21) } return{redirectUrl:url} } },{types:["main_frame"],urls:[":///?=&soralink_contribute=*"]},["blocking"])

brws.webRequest.onHeadersReceived.addListener(details=>{ if(enabled) { if(crowdEnabled && details.url in soralink_contribute) { if(details.method=="POST") { for(let i in details.responseHeaders) { let header=details.responseHeaders[i] if(header.name.toLowerCase()=="location"&&isGoodLink(header.value)) { let xhr=new XMLHttpRequest() xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true) xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded") xhr.send("domain="+(new URL(details.url)).host+"&path="+encodeURIComponent(soralink_contribute[details.url])+"&target="+encodeURIComponent(header.value)) break } } } delete soralink_contribute[details.url] } if(firefox)//Fixing Content-Security-Policy on Firefox because apparently extensions have no special privileges there { let csp = false for(let i in details.responseHeaders) { if("value"in details.responseHeaders[i]&&["content-security-policy","x-content-security-policy"].indexOf(details.responseHeaders[i].name.toLowerCase())>-1) { csp = true let _policies = details.responseHeaders[i].value.replace(";,",";").split(";"), policies = {} for(let j in _policies) { let policy = _policies[j].trim(),name=policy.split(" ")[0] policies[name] = policy.substr(name.length).trim().split(" ") } if(!("script-src"in policies)&&"default-src"in policies) { policies["script-src"] = policies["default-src"] let ni = policies["script-src"].indexOf("'none'") if(ni > -1) { policies["script-src"].splice(ni, 1) } } if("script-src"in policies) { if(policies["script-src"].indexOf("'unsafe-inline'")==-1) { policies["script-src"].push("'unsafe-inline'") } } else { policies["script-src"]=["*","blob:","data:","'unsafe-inline'","'unsafe-eval'"] } let value="" for(let name in policies) { value+=name for(let j in policies[name]) { value+=" "+policies[name][j] } value+="; " } details.responseHeaders[i].value=value.substr(0,value.length-2) } } <8 lines not shown>

closed time in a day

RocketNinja15

issue openedSainan/Universal-Bypass

Error

... 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 ... <33 lines not shown> return false } return true }, countIt=()=>{ brws.storage.local.set({bypass_counter:++bypassCounter}) sendToOptions({bypassCounter}) }, resetCounter=()=>{ bypassCounter=0 brws.storage.local.set({bypass_counter:0}) sendToOptions({bypassCounter}) }

// Install handler brws.runtime.onInstalled.addListener(details=>{ if(details.reason=="install") { brws.tabs.create({url:"https://universal-bypass.org/firstrun"}) } })

// Uninstall handler brws.runtime.setUninstallURL("https://docs.google.com/forms/d/e/1FAIpQLSdXw-Yf5IaDXZWw4fDHroZkDFOF6hgWEvVDaXT9ZADqnF2reg/viewform")

// Keeping track of options var bypassCounter=0,enabled=true,instantNavigation=true,trackerBypassEnabled=true,instantNavigationTrackers=false,blockIPLoggers=true,crowdEnabled=true,userScript="" brws.storage.sync.get(["disable","navigation_delay","no_tracker_bypass","no_instant_navigation_trackers","allow_ip_loggers","crowd_bypass","crowd_bypass_opt_out","crowd_open_delay","crowd_close_delay","no_info_box"],res=>{ if(res) { enabled=(!res.disable||res.disable!=="true") if(!enabled) { brws.browserAction.setIcon({path: { "48": "icon_disabled/48.png", "128": "icon_disabled/128.png", "150": "icon_disabled/150.png", "176": "icon_disabled/176.png", "512": "icon_disabled/512.png" }}) } if(res.navigation_delay) { instantNavigation=(res.navigation_delay==0) if(res.navigation_delay==61) { brws.storage.sync.set({navigation_delay:-1}) } } else { brws.storage.sync.set({navigation_delay:0}) } trackerBypassEnabled=(res.no_tracker_bypass!=="true") instantNavigationTrackers=(res.no_instant_navigation_trackers!=="true") blockIPLoggers=(res.allow_ip_loggers!=="true") if(res.crowd_bypass) { crowdEnabled=(res.crowd_bypass==="true") } else { crowdEnabled=(res.crowd_bypass_opt_out==="false"||!firefox) if(crowdEnabled) { brws.storage.sync.set({crowd_bypass:"true"}) } if(res.crowd_bypass_opt_out) { brws.storage.sync.remove(["crowd_bypass_opt_out"]) } } if(!res.crowd_open_delay||res.crowd_open_delay==61) { brws.storage.sync.set({crowd_open_delay:-6}) } if(!res.crowd_close_delay||res.crowd_close_delay==61) { brws.storage.sync.set({crowd_close_delay:-11}) } if(res.no_info_box) { brws.storage.sync.remove(["no_info_box"]) } } }) brws.storage.onChanged.addListener(changes=>{ if(changes.disable) { enabled=(changes.disable.newValue!=="true") if(enabled) { brws.browserAction.setIcon({path: { "48": "icon/48.png", "128": "icon/128.png", "150": "icon/150.png", "176": "icon/176.png", "512": "icon/512.png" }}) } else { brws.browserAction.setIcon({path: { "48": "icon_disabled/48.png", "128": "icon_disabled/128.png", "150": "icon_disabled/150.png", "176": "icon_disabled/176.png", "512": "icon_disabled/512.png" }}) } } if(changes.navigation_delay) { instantNavigation=(changes.navigation_delay.newValue==0) } if(changes.no_tracker_bypass) { trackerBypassEnabled=(changes.no_tracker_bypass.newValue!=="true") } if(changes.no_instant_navigation_trackers) { instantNavigationTrackers=(changes.no_instant_navigation_trackers.newValue!=="true") } if(changes.allow_ip_loggers) { blockIPLoggers=(changes.allow_ip_loggers.newValue!=="true") } if(changes.crowd_bypass) { crowdEnabled=(changes.crowd_bypass.newValue==="true") } if(changes.userscript) { userScript=changes.userscript.newValue } refreshInjectionScript() })

// Bypass definition management let updateStatus = "", injectionScript = "", preflightRules = {}, upstreamInjectionScript = "", upstreamCommit, channel = {}, optionsTab, optionsPort, bypassClipboard = "" const updateBypassDefinitions = callback => { if(updateStatus != "") { return } if(typeof callback != "function") { callback = () => {} } updateStatus = "checking" sendToOptions({updateStatus}) const finishDownload = () => { channel = {} let uniqueness = [] ;["stop_watching","count_it","crowd_referer","crowd_domain","crowd_path","crowd_query","crowd_queried","crowd_contribute","adlinkfly_info","adlinkfly_target","bypass_clipboard"].forEach(name => { let val do { val = Math.random().toString().substr(2) } while(uniqueness.indexOf(val) != -1); uniqueness.push(val) upstreamInjectionScript = upstreamInjectionScript.split("{{channel."+name+"}}").join(channel[name] = "data-" + val) }) ;["infoLinkvertise","infoFileHoster","infoOutdated","crowdWait","crowdDisabled"].forEach(name => { upstreamInjectionScript = upstreamInjectionScript.split("{{msg."+name+"}}").join(brws.i18n.getMessage(name).split("\").join("\\").split(""").join("\"")) }) upstreamInjectionScript = upstreamInjectionScript.split("{{icon/48.png}}").join(brws.runtime.getURL("icon/48.png")) refreshInjectionScript() updateStatus = "" sendToOptions({upstreamCommit, updateStatus}) } let xhr = new XMLHttpRequest() xhr.onload = () => { updateStatus = "updating" upstreamCommit = definitions_version sendToOptions({upstreamCommit, updateStatus}) callback(true) upstreamInjectionScript = xhr.responseText xhr = new XMLHttpRequest() xhr.open("GET", brws.runtime.getURL("rules.json"), true) xhr.onload = () => { preflightRules = JSON.parse(xhr.responseText) finishDownload() } xhr.send() } if(definitions_version==="") { xhr.onerror = () => { let xhr = new XMLHttpRequest() xhr.onload = () => { const latestCommit = JSON.parse(xhr.responseText).sha if(latestCommit == upstreamCommit) { updateStatus = "" sendToOptions({updateStatus}) callback(false) } else { updateStatus = "updating" if(upstreamCommit == "") { sendToOptions({upstreamCommit: latestCommit}) } sendToOptions({updateStatus}) callback(true) upstreamCommit = latestCommit let downloads = 0 xhr = new XMLHttpRequest() xhr.onload = () => { upstreamInjectionScript = xhr.responseText if(++downloads == 2) { finishDownload() } } xhr.onerror = () => { if(++downloads == 2) { finishDownload() } } xhr.open("GET", "https://raw.githubusercontent.com/Sainan/Universal-Bypass/" + upstreamCommit + "/injection_script.js", true) xhr.send() let xhr2 = new XMLHttpRequest() xhr2.onload = () => { preflightRules = JSON.parse(xhr2.responseText) if(++downloads == 2) { finishDownload() } } xhr2.onerror = () => { if(++downloads == 2) { finishDownload() } } xhr2.open("GET", "https://raw.githubusercontent.com/Sainan/Universal-Bypass/" + upstreamCommit + "/rules.json", true) xhr2.send() } } xhr.onerror = () => { updateStatus = "" sendToOptions({updateStatus}) callback(false) } xhr.open("GET", "https://api.github.com/repos/Sainan/Universal-Bypass/commits/master", true) xhr.send() } } xhr.open("GET", brws.runtime.getURL("injection_script.js"), true) xhr.send() }, refreshInjectionScript = () => { Object.values(onBeforeRequest_rules).forEach(func => brws.webRequest.onBeforeRequest.removeListener(func)) Object.values(onBeforeSendHeaders_rules).forEach(func => brws.webRequest.onBeforeSendHeaders.removeListener(func)) Object.values(onHeadersReceived_rules).forEach(func => brws.webRequest.onHeadersReceived.removeListener(func)) if(enabled) { injectionScript = (upstreamInjectionScript + "\n" + userScript) .split("UNIVERSAL_BYPASS_INTERNAL_VERSION").join("10") .split("UNIVERSAL_BYPASS_EXTERNAL_VERSION").join(extension_version) .split("UNIVERSAL_BYPASS_INJECTION_VERSION").join(upstreamCommit?upstreamCommit.substr(0,7):"dev") Object.keys(preflightRules).forEach(name=>{ if(name in onBeforeRequest_rules) { brws.webRequest.onBeforeRequest.addListener(onBeforeRequest_rules[name],{types:["main_frame"],urls:preflightRules[name]},["blocking"]) } else if(name in onBeforeSendHeaders_rules) { brws.webRequest.onBeforeSendHeaders.addListener(onBeforeSendHeaders_rules[name],{types:["main_frame","xmlhttprequest"],urls:preflightRules[name]},["blocking","requestHeaders"]) } else if(name in onHeadersReceived_rules) { brws.webRequest.onHeadersReceived.addListener(onHeadersReceived_rules[name],{types:["main_frame"],urls:preflightRules[name]},["blocking","responseHeaders"]) } }) } }, sendToOptions = data => { if(optionsPort) { optionsPort.postMessage(data) } } if(!definitions_version) { brws.alarms.create("update-bypass-definitions", {periodInMinutes: 60}) brws.alarms.onAlarm.addListener(()=>updateBypassDefinitions()) }

// Messaging brws.runtime.onMessage.addListener((req, sender, respond) => { switch(req.type) { case "content": respond({enabled, channel, crowdEnabled, injectionScript}) break;

	case "count-it":
	countIt()
	break;

	case "open-tab":
	brws.tabs.create({
		url: req.url
	})
	break;

	case "close-tab":
	brws.tabs.remove(sender.tab.id)
	break;

	case "crowd-contribute":
	if(crowdEnabled)
	{
		let xhr=new XMLHttpRequest()
		xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true)
		xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
		xhr.send(req.data)
	}
	else
	{
		console.warn("Unexpected message:", req)
	}
	break;
	
	case "bypass-clipboard":
	bypassClipboard=req.data
	break;

	default:
	console.warn("Invalid message:", req)
}

}) brws.runtime.onConnect.addListener(port => { switch(port.name) { case "options": if(optionsTab) { optionsPort.disconnect() brws.tabs.remove(optionsTab) } optionsTab=port.sender.tab.id optionsPort=port port.onDisconnect.addListener(()=>{ optionsTab=undefined optionsPort=undefined }) port.onMessage.addListener(req=>{ switch(req.type) { case "update": updateBypassDefinitions(updateSuccess => port.postMessage({updateSuccess})) break; } }) port.postMessage({updateStatus, upstreamCommit, bypassCounter, userScript, extension_version, amo: !!definitions_version}) break;

	case "crowd-query":
	port.onMessage.addListener(msg=>{
		let xhr=new XMLHttpRequest()
		xhr.onreadystatechange=()=>{
			if(xhr.readyState==4)
			{
				port.postMessage(xhr.status==200&&xhr.responseText!=""?xhr.responseText:"")
			}
		}
		xhr.open("POST","https://universal-bypass.org/crowd/query_v1",true)
		xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
		xhr.send("domain="+encodeURIComponent(msg.domain)+"&path="+encodeURIComponent(msg.crowdPath))
	})
	break;

	case "adlinkfly-info":
	port.onMessage.addListener(msg=>{
		let xhr=new XMLHttpRequest(),t="",iu=msg
		xhr.onload=()=>{
			let i=new DOMParser().parseFromString(xhr.responseText,"text/html").querySelector("img[src^='//api.miniature.io']")
			if(i)
			{
				let url=new URL(i.src)
				if(url.search&&url.search.indexOf("url="))
				{
					t=decodeURIComponent(url.search.split("url=")[1].split("&")[0])
				}
			}
			port.postMessage(t)
		}
		xhr.onerror=()=>port.postMessage(t)
		if(iu.substr(-1) != "/")
		{
			iu += "/"
		}
		xhr.open("GET", iu+"info", true)
		xhr.send()
	})
	break;

	default:
	console.warn("Invalid connection:", port)
}

})

// Internal redirects to extension URLs to bypass content script limitations brws.webRequest.onBeforeRequest.addListener(details=>{ return {redirectUrl:brws.runtime.getURL("html/noscript.html")} },{types:["main_frame"],urls:["://universal-bypass.org/firstrun?0"]},["blocking"]) brws.webRequest.onBeforeRequest.addListener(details=>{ return {redirectUrl:brws.runtime.getURL("html/options.html#firstrun")} },{types:["main_frame"],urls:["://universal-bypass.org/firstrun?1"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ let arr=details.url.substr(45).split("&referer="),url=arr[0],safe_in arr=arr[1].split("&safe_in=") if(arr.length>1) { safe_in=arr[1] } return encodedRedirect(url,decodeURIComponent(arr[0]),safe_in) },{types:["main_frame"],urls:["://universal-bypass.org/bypassed?target=&referer=*"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ countIt() return {redirectUrl:brws.runtime.getURL("html/crowd-bypassed.html")+details.url.substr(43)} },{types:["main_frame"],urls:["https://universal-bypass.org/crowd-bypassed?*"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ return {redirectUrl:brws.runtime.getURL("html/options.html")+details.url.substr(36)} },{types:["main_frame"],urls:["https://universal-bypass.org/options*"]},["blocking"])

// Navigation handling including presenting referer header to destinations var refererCache={} brws.webRequest.onBeforeRequest.addListener(details=>{ let arr=details.url.substr(45).split("&referer=") arr[0]=(new URL(decodeURIComponent(arr[0]))).toString() if(arr.length>1) { refererCache[arr[0]]=decodeURIComponent(arr[1].split("&")[0]) } return {redirectUrl:arr[0]} },{types:["main_frame"],urls:["://universal-bypass.org/navigate?target="]},["blocking"])

let infoSpec=["blocking","requestHeaders"] if("EXTRA_HEADERS" in brws.webRequest.OnBeforeSendHeadersOptions) { infoSpec.push("extraHeaders") } brws.webRequest.onBeforeSendHeaders.addListener(details=>{ if(enabled&&details.url in refererCache) { details.requestHeaders.push({ name: "Referer", value: refererCache[details.url] }) return {requestHeaders: details.requestHeaders} } },{types:["main_frame"],urls:["<all_urls>"]},infoSpec)

brws.webRequest.onBeforeRedirect.addListener(details=>{ if(enabled&&details.url in refererCache) { if(details.redirectUrl == details.url + "/") { refererCache[details.redirectUrl] = refererCache[details.url] } delete refererCache[details.url] } },{types:["main_frame"],urls:["<all_urls>"]})

brws.webRequest.onCompleted.addListener(details=>{ if(enabled&&details.url in refererCache) { delete refererCache[details.url] } },{types:["main_frame"],urls:["<all_urls>"]})

// Preflight Bypasses including Tracker Bypass using Apimon.de function resolveRedirect(url) { let xhr=new XMLHttpRequest(),destination xhr.onload=()=>{ let json=JSON.parse(xhr.responseText) if(json&&json.destination) { destination=json.destination preflightRules.tracker_force_http.forEach(domain=>{ if(destination.substr(0,9+domain.length)=="https://"+domain+"/") { destination="http://"+domain+"/"+destination.substr(9+domain.length) } }) } } xhr.open("GET","https://apimon.de/redirect/"+encodeURIComponent(url),false) xhr.send() return destination } const onBeforeRequest_rules = { path_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("aHR0c")))), path_s_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("/s/")+3)), path_r_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("/r/")+3))), path_dl_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("/dl/")+4))), path_u_id_base64: details => { let data=details.url.substr(details.url.indexOf("/u/")+3) return getRedirect(atob(data.substr(data.indexOf("/")+1))) }, query_raw: details => { let url=new URL(details.url) if(url.search) { return getRedirect(url.search.substr(1)+url.hash) } }, query_base64: details => getRedirect(atob((new URL(details.url)).search.replace("?",""))), hash_base64: details => { let url=new URL(details.url) if(url.hash) { return getRedirect(atob(url.hash.replace("#",""))) } }, param_url_general: details => { let url=details.url.substr(details.url.indexOf("&url=")+5) if(url.substr(0,5)=="aHR0c"||url.substr(0,7)=="bWFnbmV") { url=atob(url.split("&")[0]) } else if(url.substr(0,13)=="http%3A%2F%2F"||url.substr(0,14)=="https%3A%2F%2F") { url=decodeURIComponent(url.split("&")[0]) } else { if(url.substr(0,7)!="http://"&&url.substr(0,8)!="https://") { url="http://"+url } url+=(new URL(details.url)).hash } return getRedirect(url,details.url) }, param_url_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("url")) { return getRedirect(url.searchParams.get("url")) } }, param_q_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("q")) { return getRedirect(url.searchParams.get("q")) } }, param_xurl_raw_http: details => getRedirect("http"+details.url.substr(details.url.indexOf("?xurl=")+6)), param_aurl_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("aurl")) { return getRedirect(url.searchParams.get("aurl")) } }, param_capital_url_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("URL")) { return getRedirect(url.searchParams.get("URL")) } }, param_rel_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?rel=")+5))), param_link_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("link=")+5)), param_link_base64: details => { let url=new URL(details.url) if(url.searchParams.has("link")) { return getRedirect(atob(url.searchParams.get("link"))) } }, param_link_encoded_base64: details => getRedirect(decodeURIComponent(atob(details.url.substr(details.url.indexOf("?link=")+6)))), param_kesehatan_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?kesehatan=")+11))), param_wildcard_base64: details => getRedirect(atob(new URL(details.url).searchParams.values().next().value)), param_r_base64: details => getRedirect(atob(decodeURIComponent(details.url.substr(details.url.indexOf("?r=")+3))),0,safe_in), param_kareeI_base64_pipes: details => getRedirect(atob(details.url.substr(details.url.indexOf("?kareeI=")+8)).split("||")[0]), param_cr_base64: details => { let i=details.url.indexOf("cr=") if(i>0) { return getRedirect(atob(details.url.substr(i+3).split("&")[0])) } }, param_a_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?a=")+3).split("#",1)[0])), param_url_base64: details => { let i=details.url.indexOf("?url=") if(i>0) { return getRedirect(atob(details.url.substr(i+5).split("&")[0])) } }, param_id_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?id=")+4))), param_get_base64: details => { let arg=details.url.substr(details.url.indexOf("?get=")+5) return getRedirect(atob(arg.substr(0,arg.length-1))) }, param_u_base64: details => { let url=new URL(details.url) if(url.searchParams.has("u")) { return getRedirect(atob(url.searchParams.get("u"))+url.hash) } }, param_go_base64: details => { let b64=details.url.substr(details.url.indexOf("?go=")+4).split("&")[0] if(b64.substr(0,5)=="0OoL1") { b64="aHR0c"+b64.substr(5) } return getRedirect(atob(b64)) }, param_site_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?site=")+6).split("&")[0])), param_reff_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("?reff=")+6))), param_s_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("?s=")+3),details.url), param_dl_encoded_base64: details => encodedRedirect(atob(details.url.substr(details.url.indexOf("?dl=")+4).split("&")[0])), param_health_encoded_base64: details => encodedRedirect(atob(details.url.substr(details.url.indexOf("?health=")+8))), param_id_reverse_base64: details => { let url=new URL(details.url) if(url.searchParams.has("id")) { let t=atob(url.searchParams.get("id").split("").reverse().join("")) if(t.substr(-16)=='" target="blank') { t=t.substr(0,t.length-16) } return getRedirect(t) } }, param_token_base64: details => { let url=new URL(details.url) if(url.searchParams.has("token")) { return getRedirect(atob(url.searchParams.get("token"))) } }, param_href_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("href")) { return getRedirect(url.searchParams.get("href")) } }, param_short_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("short")) { return getRedirect(url.searchParams.get("short")) } }, param_id_base64_replacements: details => { let url=new URL(details.url) if(url.searchParams.has("id")) { return getRedirect(atob(url.searchParams.get("id")).split("!").join("a").split(")").join("e").split("").join("i").split("(").join("o").split("*").join("u")) } }, param_dest_encoded: details => { let url=new URL(details.url) if(url.searchParams.has("dest")) { return getRedirect(url.searchParams.get("dest")) } }, param_go_hex: details => { let url=new URL(details.url) if(url.searchParams.has("go")) { let go=url.searchParams.get("go"),a=[] for(let i=0;i<go.length-1;i+=2) { a.push(parseInt(go.substr(i,2),16)) } return getRedirect(String.fromCharCode.apply(String,a)) } }, param_to_base64: details => { let url=new URL(details.url) if(url.searchParams.has("to")) { return getRedirect(atob(url.searchParams.get("to"))) } }, param_data_base64: details => { let url=new URL(details.url) if(url.searchParams.has("data")) { return getRedirect(atob(url.searchParams.get("data"))) } }, bypass_clipboard: details => { let url=details.url+bypassClipboard bypassClipboard="" return{redirectUrl:url} }, tracker: details => { if(trackerBypassEnabled&&new URL(details.url).pathname!="/") { let destination=resolveRedirect(details.url) if(destination&&destination!=details.url) { return getRedirect(destination,"tracker") } } }, ip_logger: details => { if(new URL(details.url).pathname!="/") { if(trackerBypassEnabled) { let destination=resolveRedirect(details.url) if(destination&&destination!=details.url) { return getRedirect(destination,"tracker") } } if(blockIPLoggers) { return {redirectUrl:brws.runtime.getURL("html/blocked.html")} } } } }, onBeforeSendHeaders_rules = { useragent_googlebot: details => { details.requestHeaders.push({ name: "User-Agent", value: "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" }) return {requestHeaders: details.requestHeaders} }, useragent_iphone: details => { details.requestHeaders.push({ name: "User-Agent", value: "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1" }) return {requestHeaders: details.requestHeaders} }, useragent_chrome: details => { if(firefox) { details.requestHeaders.push({ name: "User-Agent", value: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36" }) return {requestHeaders: details.requestHeaders} } }, useragent_empty: details => { details.requestHeaders.push({ name: "User-Agent", value: "" }) return {requestHeaders: details.requestHeaders} } }, onHeadersReceived_rules = { redirect_persist_id_path: details => { let url = new URL(details.url) if(url.pathname.substr(0,6)!="/post/") { for(let i in details.responseHeaders) { let header = details.responseHeaders[i] if(header.name.toLowerCase() == "location") { details.responseHeaders[i].value += "#" + url.pathname.substr(1) break } } } return {responseHeaders: details.responseHeaders} }, redirect_persist_id_path_1_letter: details => { let url = new URL(details.url) for(let i in details.responseHeaders) { let header = details.responseHeaders[i] if(header.name.toLowerCase() == "location") { details.responseHeaders[i].value += "#" + url.pathname.substr(3).split("/")[0] break } } return {responseHeaders: details.responseHeaders} }, contribute_hash: details => { if(crowdEnabled&&details.method=="POST") { let url=new URL(details.url) if(url.hash.length>1) { for(let i in details.responseHeaders) { let header=details.responseHeaders[i] if(header.name.toLowerCase()=="location"&&isGoodLink(header.value)) { let xhr=new XMLHttpRequest() xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true) xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded") xhr.send("domain="+url.host+"&path="+encodeURIComponent(url.hash.substr(1))+"&target="+encodeURIComponent(header.value)) break } } } } } }

brws.storage.local.get(["userscript","bypass_counter"],res=>{ if(res) { if(res.userscript) { userScript=res.userscript } if(res.bypass_counter) { bypassCounter=res.bypass_counter } } updateBypassDefinitions() })

// Very Specific Preflight Bypasses brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { return encodedRedirect(details.url.substr(details.url.indexOf("/12/1/")+6)) } },{types:["main_frame"],urls:["://.sh.st/r//12/1/"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { return getRedirect(details.url.substr(details.url.substr(16).indexOf("/")+17)) } },{types:["main_frame"],urls:["http://sh.st/st//"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { let url=details.url do { let arr=url.substr(19).split("/") if(arr.length!=2) { return } url=atob(arr[1]) } while(url.length>=19&&url.substr(0,19)=="http://gslink.co/a/"); if(url!=details.url) { return getRedirect(url) } } },{types:["main_frame"],urls:["http://gslink.co/a/*"]},["blocking"])

brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { let url=new URL(details.url) if(url.searchParams.has("go")) { return getRedirect("https://clickar.net/"+url.searchParams.get("go")) } } },{types:["main_frame"],urls:["://.surfsees.com/?*"]},["blocking"])

// Ouo.io/press / lnk2.cc / Cshort.org Crowd Bypass brws.webRequest.onHeadersReceived.addListener(details=>{ if(enabled&&crowdEnabled) { let url=new URL(details.url) for(let i in details.responseHeaders) { let header=details.responseHeaders[i] if(header.name.toLowerCase()=="location"&&isGoodLink(header.value)) { let xhr=new XMLHttpRequest(), domain=url.hostname,path if(domain=="ouo.press") { domain="ouo.io" } path=(domain=="cshort.org"?url.pathname.substr(1):url.pathname.split("/")[2]) xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true) xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded") xhr.send("domain="+domain+"&path="+encodeURIComponent(path)+"&target="+encodeURIComponent(header.value)) break } } } },{types:["main_frame"],urls:[ "://.ouo.io//", "://.ouo.press//", "://.lnk2.cc//", "://.cshort.org/?u=" ]},["blocking","responseHeaders"])

// SoraLink Crowd Bypass let soralink_contribute={} brws.webRequest.onBeforeRequest.addListener(details=>{ if(enabled) { const arg_index=details.url.indexOf("&soralink_contribute="),url=details.url.substr(0,arg_index) if(crowdEnabled) { soralink_contribute[url]=details.url.substr(arg_index+21) } return{redirectUrl:url} } },{types:["main_frame"],urls:[":///?=&soralink_contribute=*"]},["blocking"])

brws.webRequest.onHeadersReceived.addListener(details=>{ if(enabled) { if(crowdEnabled && details.url in soralink_contribute) { if(details.method=="POST") { for(let i in details.responseHeaders) { let header=details.responseHeaders[i] if(header.name.toLowerCase()=="location"&&isGoodLink(header.value)) { let xhr=new XMLHttpRequest() xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true) xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded") xhr.send("domain="+(new URL(details.url)).host+"&path="+encodeURIComponent(soralink_contribute[details.url])+"&target="+encodeURIComponent(header.value)) break } } } delete soralink_contribute[details.url] } if(firefox)//Fixing Content-Security-Policy on Firefox because apparently extensions have no special privileges there { let csp = false for(let i in details.responseHeaders) { if("value"in details.responseHeaders[i]&&["content-security-policy","x-content-security-policy"].indexOf(details.responseHeaders[i].name.toLowerCase())>-1) { csp = true let _policies = details.responseHeaders[i].value.replace(";,",";").split(";"), policies = {} for(let j in _policies) { let policy = _policies[j].trim(),name=policy.split(" ")[0] policies[name] = policy.substr(name.length).trim().split(" ") } if(!("script-src"in policies)&&"default-src"in policies) { policies["script-src"] = policies["default-src"] let ni = policies["script-src"].indexOf("'none'") if(ni > -1) { policies["script-src"].splice(ni, 1) } } if("script-src"in policies) { if(policies["script-src"].indexOf("'unsafe-inline'")==-1) { policies["script-src"].push("'unsafe-inline'") } } else { policies["script-src"]=["*","blob:","data:","'unsafe-inline'","'unsafe-eval'"] } let value="" for(let name in policies) { value+=name for(let j in policies[name]) { value+=" "+policies[name][j] } value+="; " } details.responseHeaders[i].value=value.substr(0,value.length-2) } } <8 lines not shown>

created time in a day

issue openedSainan/Universal-Bypass

docs.google.com

Google Drive download pages always crash (at least once) before downloading the file. Google Drive links should have an exception made for them so this does not happen.

As it is impossible to retrieve direct links, I will provide links which lead to the download page. Hopefully you'll be able to figure it out for yourself.

Quackberry SFX (Preview page)

https://user-images.githubusercontent.com/30361266/105768634-824b7c80-5f11-11eb-9029-8c0cee06bbcf.mp4

A Goofy Movie Fandub (Preview page)

https://user-images.githubusercontent.com/30361266/105768697-97c0a680-5f11-11eb-8bfe-97994506d53a.mp4

created time in a day

issue openedTeamPiped/Piped

(Stuttering) Sounds Even When Muted

Not sure why, but when I mute a video, I can still hear some sounds intermittently. This happens when I'm watching the video without pausing, but it can also happen shortly after resuming.

Example URL: https://piped.kavin.rocks/watch?v=VkhsFGswWNA

created time in a day

issue openedSainan/Universal-Bypass

playhindi.com

Eg link: https://playhindi.com/4607-2/

created time in a day

issue commentSainan/Universal-Bypass

ENTER DOMAIN HERE

https://go.gplinks.co/

ata1299

comment created time in a day

issue closedSainan/Universal-Bypass

t.co

If I checked Bypass trackers (such as bit.ly and t.co) using Apimon.de, links from t.co won't redirect and only show a blank page (Example page: https://t.co/CsMTFCwjFh)

OS: Android 9 Browser: IceRaven 1.5

closed time in a day

mwhd96

issue commentSainan/Universal-Bypass

t.co

Works fine for me on Google Chrome on Windows.

mwhd96

comment created time in a day

more