Clean DIA HTML

Digitális Irodalmi Akadémia HTML tisztító (e-könyv készítéshez)

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         Clean DIA HTML
// @namespace    http://tbitai.github.io/clean-dia-html/
// @version      1.0
// @author       Tamás Bitai
// @description  Digitális Irodalmi Akadémia HTML tisztító (e-könyv készítéshez)
// @include      http://dia.jadox.pim.hu/jetspeed/*
// @require      http://code.jquery.com/jquery-2.1.4.min.js
// ==/UserScript==


$("span.oldaltores").remove();

// Remove anchor elements having name attribute
// (these are inside links, not needed in an ebook).
$("a[name]").remove();

// Remove Google Analytics code.
$("script:contains('google')").remove();
$("script:contains('pageTracker')").remove();