Skip to content

Commit bb08184

Browse files
author
0xc60f
authored
Created MV3 bypass for Cb.run (#811)
* Created bypass for adfly (2 subdomains) <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 * Cbrun Bypass * Update cbrun.js
1 parent 1e55037 commit bb08184

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/bypasses/cbrun.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import BypassDefinition from "./BypassDefinition";
2+
3+
export default class Cbrun extends BypassDefinition {
4+
constructor() {
5+
super();
6+
}
7+
execute() {
8+
const a = document.querySelector("a.btn");
9+
if (a) {
10+
this.helpers.safelyNavigate(a.href);
11+
}
12+
}
13+
}
14+
15+
export const matches = ['cb.run', 'cb.click'];

0 commit comments

Comments
 (0)