Skip to content

Commit 1e55037

Browse files
author
0xc60f
authored
Created bypass for adfly (2 subdomains) (#796)
<details> <summary>NOTICE</summary> I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. </details> Fixes: Link to issue #718 #666 <!-- A brief description of what you did --> Made a bypass for adfly. However, this bypass only adds support for 2 subdomains, but more can be added if discovered. <!--Add an x to mark as done--> - [ x] I made sure there are no unnecessary changes in the code* - [ ] Tested on Chromium- Browser OS - [ ] Tested on Firefox \* indicates required
1 parent 57dcf51 commit 1e55037

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/bypasses/adfly.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import BypassDefinition from "./BypassDefinition";
2+
3+
export default class Adfly extends BypassDefinition {
4+
constructor() {
5+
super();
6+
}
7+
8+
execute() {
9+
const url = new URLSearchParams(window.location.search);
10+
const dest = url.get('dest');
11+
const finalUrl = decodeURIComponent(dest);
12+
this.helpers.safelyNavigate(finalUrl);
13+
}
14+
}
15+
16+
export const matches = ['www93.davisonbarker.pro', 'www96.lowrihouston.pro'];

0 commit comments

Comments
 (0)