Skip to content

Instantly share code, notes, and snippets.

@TauPan
Last active December 5, 2016 11:41
Show Gist options
  • Save TauPan/9b723469c2893fbefaff4cbe9845e34e to your computer and use it in GitHub Desktop.
Save TauPan/9b723469c2893fbefaff4cbe9845e34e to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Archiv nur Buxtehuder Tageblatt
// @namespace http://tampermonkey.net/
// @version 0.2
// @download https://gist.githubusercontent.com/TauPan/9b723469c2893fbefaff4cbe9845e34e/raw/tageblatt-archiv-buxtehude.js
// @description Begrenzt die Archivansicht beim tageblatt.de E-Paper auf Buxtehuder Tageblatt
// @author Friedrich Delgado <[email protected]>
// @match http://www.tageblatt.de/index.php?pageid=573
// @grant none
// ==/UserScript==
(function() {
'use strict';
$('div.artikel.epaper table.tablesorter tr').each(
(i, el) => {
var name = $(el).find('td a')[2];
if (name && name.text != 'Buxtehuder Tageblatt') {
el.remove();
}
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment