asyard / hurriyet-js-engel-kaldirici

// ==UserScript==
// @name         hurriyet-js-engel-kaldirici
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Nalet olsun preventDefault
// @author       asy
// @match        http://hurriyet.com.tr/*
// @match        hurriyet.com.tr/*
// @match        http://sosyal.hurriyet.com.tr/*
// @match        sosyal.hurriyet.com.tr/*
// @grant        none
// ==/UserScript==



function addCustomScript () {
    //var dNode = document.getElementsByClassName('hsaali-article')[0];
    // dNode.classList.remove('hsaali-article');
    $('.hsaali-article').unbind('contextmenu');
    $('.hsaali-article').unbind('mousedown');
    $('.hsaali-article').unbind('mouseup');
    $('.hsaali-article').unbind('copy paste');
}

waitForKeyElements (".hsaali-article", addCustomScript);