File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed
Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 5858 }
5959 if ((! isAHost && adsEnabled ) || SessionState .devMode ) {
6060 console .log (" [R][LAYOUT][BASE] Bad Ads enabled" );
61+ injectBadAds ();
6162 } else {
6263 if (isAHost && adsEnabled ) {
6364 console .log (" [R][LAYOUT][BASE] Good ads enabled" );
8485 ` ;
8586 document .head .appendChild (script2 );
8687 }
88+ function injectBadAds() {
89+ const script = document .createElement (" script" );
90+ script .type = " text/javascript" ;
91+ script .async = true ; // Dont wait up on script loading
92+ script .defer = true ; // Ensure the script is executed after the document has been parsed
93+ script .src =
94+ " //pl27945770.effectivegatecpm.com/b0/88/ed/b088ed7c9240db179822a126a078b258.j" ;
95+ document .body .appendChild (script );
96+ }
8797 </script >
8898
8999<svelte:head >
97107{#if browser }
98108 <ServerSwitcher />
99109{/if }
100-
101- {#if (! isAHost && ! adblockEnabled )}
102- <script
103- async
104- defer
105- type =" text/javascript"
106- src =" //pl27945770.effectivegatecpm.com/b0/88/ed/b088ed7c9240db179822a126a078b258.js"
107- ></script >
108- {/if }
Original file line number Diff line number Diff line change 2626 adsEnabled = SessionState .adsEnabled ;
2727
2828 function injectBadAds() {
29- const script = document .createElement (" script" );
30- script .type = " text/javascript" ;
31- script .async = true ; // Dont wait up on script loading
32- script .defer = true ; // Ensure the script is executed after the document has been parsed
33- script .src =
34- " //pl27945791.effectivegatecpm.com/f9/0f/48/f90f487cd8f3cdf83690f6955c1b5655.js" ;
35- document .body .appendChild (script );
29+ // src='//pl27945791.effectivegatecpm.com/f9/0f/48/f90f487cd8f3cdf83690f6955c1b5655.js'
30+ console .log (" [R][LAYOUT][BASE] Bad ads not gonna inject cause this is popunder and annoying" );
3631 }
3732 if ((! isAHost && ! adblockEnabled )) {
3833 console .log (" [R][LAYOUT][BASE] Bad Ads enabled" );
Original file line number Diff line number Diff line change 1- 2025-10-29T02:57:28.276Z
1+ 2025-10-29T05:33:39.626Z
You can’t perform that action at this time.
0 commit comments