• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • zen@lemmy.amyjnobody.comtoAsklemmy*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    27
    ·
    1 year ago

    Step 1: In FireFox, make a new bookmark with the location: javascript:(function(w){ var arr = ['contextmenu','copy','cut','paste','mousedown','mouseup','beforeunload','beforeprint']; for(var i = 0, x; x = arr[i]; i++){ if(w['on' + x])w['on' + x] = null; w.addEventListener(x, function(e){e.stopPropagation()}, true); }; for(var j = 0, f; f = w.frames[j]; j++){try{arguments.callee(f)}catch(e){}}})(window);

    Step 2: Drag the bookmark to your toolbar.

    Step 3: ??? ::: When a website does bullshit like not allow you to paste, not allow you to right click, etc. Click the button you made in step 2. :::

    Step 4: Profit

    It is your browser, your computer. You decide what code runs on it.

    Bonus Step: Install something like ublock origin or noscript and stop allowing websites to run any code they like willy nilly on your PC without permission. Half of that crap just tracks you for no real benefit (to you).