• garyyo@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.