We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c18666f + 4d981f8 commit ae5a2b7Copy full SHA for ae5a2b7
src/bypasses/linkvertise.js
@@ -7,7 +7,7 @@ export default class Linkvertise extends BypassDefinition {
7
}
8
9
execute () {
10
- if (window.location.href.toString().includes('?r=')) {
+ if (/[\?&]r=/.test(window.location.href.toString())) {
11
const urlParams = new URLSearchParams(window.location.search)
12
const r = urlParams.get('r')
13
this.helpers.safelyNavigate(atob(decodeURIComponent(r)))
0 commit comments