donanimhaber

donanimhaber forumu için bir takım güzel işler yapar, bunun için para pul istemez.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name       donanimhaber
// @namespace  https://greasyfork.org/scripts/13135-donanimhaber
// @version    0.4
// @description donanimhaber forumu için bir takım güzel işler yapar, bunun için para pul istemez.
// @match      http://*.donanimhaber.com/*
// @copyright  2015, Turkhero
// @require https://code.jquery.com/jquery-2.1.4.min.js
// @run-at document-start
// ==/UserScript==

cakma_cerez();
document.addEventListener ("DOMContentLoaded", DOM_ContentReady);
//window.addEventListener ("load", pageFullyLoaded);

function DOM_ContentReady () {
  $("tr[bgcolor='#FFFFFF']").remove();
  $("tr[class='r-ustkonu']").remove();
  $("tr[class='ustkonu']").remove();
  $(".konulisteTextReklam").remove();
  $("#Table7").remove();
  $("td[width='13%'").remove();
  $("td[width='10'").remove();
  $("img[src^='http://adserve.donanimhaber'").parent().remove();
  $("a[href='/m_94015223/tm.htm']").parent().parent().parent().parent().remove();
  $("img[src='http://icon.donanimhaber.com/avantajx_buton.png']").parent().remove();
  $("img[src='http://icon.donanimhaber.com/gfbuton.png']").parent().remove();
}

function pageFullyLoaded () {

}

function cakma_cerez(){
  // Pop-up banner iptal
  var zaman=new Date();
  var icerik=zaman.getHours() + '.' + zaman.getMinutes() + '.' + zaman.getDay();
  document.cookie = "PageBanner" + "=" + escape(icerik);
  var date = new Date();
  date.setDate(date.getDate()+1);
  document.cookie += ("; expires=" + date.toGMTString() + "; path=./");
  // Tüm sayfayı kaplayan banner iptal
  document.cookie = "PBanner" + "=1";
  document.cookie += ("; expires=" + date.toGMTString() + "; path=./");
}