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
    ·
    1 year ago

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

    • tkpersonOP
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year 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?

      • tkpersonOP
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        oh that forever loop caused my browser to crash

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

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