Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name CutNocopy
- // @namespace http://yun.net.ua
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match *://yun.net.ua/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var element = document.getElementsByClassName("mediaproblem")[0];
- if(element != undefined)
- {
- element.children[0].setAttribute("onpaste", "");
- element.children[0].setAttribute("oncopy", "");
- element.children[0].setAttribute("ondrop", "");
- element.children[0].setAttribute("onstartdrop", "");
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement