donanimhaber

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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=./");
}