SHARE
TWEET

Untitled

a guest Feb 27th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         CutNocopy
  3. // @namespace    http://yun.net.ua
  4. // @version      0.1
  5. // @description  try to take over the world!
  6. // @author       You
  7. // @match        *://yun.net.ua/*
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     'use strict';
  13.  
  14.     var element = document.getElementsByClassName("mediaproblem")[0];
  15.     if(element != undefined)
  16.     {
  17.     element.children[0].setAttribute("onpaste", "");
  18.     element.children[0].setAttribute("oncopy", "");
  19.     element.children[0].setAttribute("ondrop", "");
  20.     element.children[0].setAttribute("onstartdrop", "");
  21.     }
  22.  
  23.  
  24. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top