AdBlock modifying javascript variableHow to change default page print size in chromeHow to Block Doodle in...

Knife as defense against stray dogs

What's the meaning of a knight fighting a snail in medieval book illustrations?

A single argument pattern definition applies to multiple-argument patterns?

Meme-controlled people

Fastest way to pop N items from a large dict

Instead of a Universal Basic Income program, why not implement a "Universal Basic Needs" program?

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Is it good practice to use Linear Least-Squares with SMA?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

What did “the good wine” (τὸν καλὸν οἶνον) mean in John 2:10?

Are all passive ability checks floors for active ability checks?

Is there a place to find the pricing for things not mentioned in the PHB? (non-magical)

Why Choose Less Effective Armour Types?

New passport but visa is in old (lost) passport

Why is a white electrical wire connected to 2 black wires?

Math equation in non italic font

How to get the n-th line after a grepped one?

How do you talk to someone whose loved one is dying?

Could the Saturn V actually have launched astronauts around Venus?

What options are left, if Britain cannot decide?

How to explain that I do not want to visit a country due to personal safety concern?

Do I need to be arrogant to get ahead?

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

How to pronounce "I ♥ Huckabees"?



AdBlock modifying javascript variable


How to change default page print size in chromeHow to Block Doodle in Chrome's 'New Tab' page?Link shortener target URL changed, Internet Explorer goes to old linkWhy does Scrollwheel stop working in some websites in Chrome?Hiding console errors from ad blockersLive A/B website performance testingUsing Chrome to create AdBlock/UBlock rulesAdblock+ can't block popup (new tab) adsModify URL using Javascript bookmarkletHow to take a screenshot of a page N seconds after page is loaded with Chrome Headless?













1















I've seen a page where it contains a isAdblockDetected variable, changing it to false in chrome dev tools everything works.



Is possible to change a javascript variable somehow in adblock or any other extension, before the page has fully loaded?



I don't want to do this everytime, so that is why I want to use some extension



Solved by using:



url##+js(set-constant.js, settings.adBlockerDetection, false)









share|improve this question





























    1















    I've seen a page where it contains a isAdblockDetected variable, changing it to false in chrome dev tools everything works.



    Is possible to change a javascript variable somehow in adblock or any other extension, before the page has fully loaded?



    I don't want to do this everytime, so that is why I want to use some extension



    Solved by using:



    url##+js(set-constant.js, settings.adBlockerDetection, false)









    share|improve this question



























      1












      1








      1








      I've seen a page where it contains a isAdblockDetected variable, changing it to false in chrome dev tools everything works.



      Is possible to change a javascript variable somehow in adblock or any other extension, before the page has fully loaded?



      I don't want to do this everytime, so that is why I want to use some extension



      Solved by using:



      url##+js(set-constant.js, settings.adBlockerDetection, false)









      share|improve this question
















      I've seen a page where it contains a isAdblockDetected variable, changing it to false in chrome dev tools everything works.



      Is possible to change a javascript variable somehow in adblock or any other extension, before the page has fully loaded?



      I don't want to do this everytime, so that is why I want to use some extension



      Solved by using:



      url##+js(set-constant.js, settings.adBlockerDetection, false)






      google-chrome javascript web adblock extension






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 7 mins ago









      greatwolf

      1,56111227




      1,56111227










      asked Oct 20 '18 at 10:38









      S1krztS1krzt

      1315




      1315






















          1 Answer
          1






          active

          oldest

          votes


















          1














          uBlock Origin supports various "anti-anti-adblock" mechanisms, including script injection. Though the available list of injected scriptlets appears to be hardcoded; you might have to submit the website to the filter list maintainers to fix it for everyone.






          share|improve this answer
























          • I fixed my problem using ##+js(set-constant.js, settings.adBlockerDetection, false), but this looks interesting. Thanks

            – S1krzt
            Oct 20 '18 at 12:29











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1368458%2fadblock-modifying-javascript-variable%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          uBlock Origin supports various "anti-anti-adblock" mechanisms, including script injection. Though the available list of injected scriptlets appears to be hardcoded; you might have to submit the website to the filter list maintainers to fix it for everyone.






          share|improve this answer
























          • I fixed my problem using ##+js(set-constant.js, settings.adBlockerDetection, false), but this looks interesting. Thanks

            – S1krzt
            Oct 20 '18 at 12:29
















          1














          uBlock Origin supports various "anti-anti-adblock" mechanisms, including script injection. Though the available list of injected scriptlets appears to be hardcoded; you might have to submit the website to the filter list maintainers to fix it for everyone.






          share|improve this answer
























          • I fixed my problem using ##+js(set-constant.js, settings.adBlockerDetection, false), but this looks interesting. Thanks

            – S1krzt
            Oct 20 '18 at 12:29














          1












          1








          1







          uBlock Origin supports various "anti-anti-adblock" mechanisms, including script injection. Though the available list of injected scriptlets appears to be hardcoded; you might have to submit the website to the filter list maintainers to fix it for everyone.






          share|improve this answer













          uBlock Origin supports various "anti-anti-adblock" mechanisms, including script injection. Though the available list of injected scriptlets appears to be hardcoded; you might have to submit the website to the filter list maintainers to fix it for everyone.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 20 '18 at 11:01









          grawitygrawity

          241k37508562




          241k37508562













          • I fixed my problem using ##+js(set-constant.js, settings.adBlockerDetection, false), but this looks interesting. Thanks

            – S1krzt
            Oct 20 '18 at 12:29



















          • I fixed my problem using ##+js(set-constant.js, settings.adBlockerDetection, false), but this looks interesting. Thanks

            – S1krzt
            Oct 20 '18 at 12:29

















          I fixed my problem using ##+js(set-constant.js, settings.adBlockerDetection, false), but this looks interesting. Thanks

          – S1krzt
          Oct 20 '18 at 12:29





          I fixed my problem using ##+js(set-constant.js, settings.adBlockerDetection, false), but this looks interesting. Thanks

          – S1krzt
          Oct 20 '18 at 12:29


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1368458%2fadblock-modifying-javascript-variable%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...