• garyyo@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    looks like its just setting some events, these two lines should clear the anti-select and the anti-right click respectively if pasted into the debug console:

    document.body.onselectstart = undefined
    document.oncontextmenu = undefined
    
    • CrayonRosary@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      Firefox has an add-on called “Allow Right-Click” that lets you easily toggle blocking right-click scripts. Some sites offer a useful context menu, like Google Drive, so you don’t necessarily want to always be blocking them. Hence the toggle.

    • 0x2d@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      you reminded me of a site that was “down for maintenance” (they were just spamming an alert) after using the block multiple alerts button in firefox, it works fine