Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  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. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement