I’m trying to take a look at a scamming website, but it’s using the debugger spamming to make reverse engineering difficult. Is there a way to just disable the debugger keyword? I don’t really like to give the websites control over whatever I want to view.

  • eirik@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    11 months ago

    Try the icon next to the cog, right hand, middle of the screen. It should disable all breakpoints

    • tkperson@lemm.eeOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      11 months ago

      That icon did skip over the debugger keyword, but it didn’t solve my issue because it still prevented me from viewing that website’s source. Now the websites just becomes super laggy. I’m assuming that there’s a forever loop that does nothing running in the background now that the debugger keyword constantly gets skipped over.

      Can there be a solution where I can replace debugger to something that can cause the thread to sleep for like half a second?

      • bennyp@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        How about a browser extention which replaces the debugger keyword in all downloaded js source with void 0 or something?