Skip to content

Instantly share code, notes, and snippets.

@revooms
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save revooms/d125bb458d594f1fb7e6 to your computer and use it in GitHub Desktop.

Select an option

Save revooms/d125bb458d594f1fb7e6 to your computer and use it in GitHub Desktop.
Reader greasmonkey collection.
// ==UserScript==
// @name reader: heise.de
// @namespace readerHeise
// @description Reader layout for heise.de
// @include http://www.heise.de/newsticker/meldung/*
// @include http://www.heise.de/newsticker/foren/*
// @include http://www.heise.de/forum/heise-online/*
// @version 0.1b
// @require http://code.jquery.com/jquery-2.1.1.min.js
// @grant none
// ==/UserScript==
hideUnusedElements();
adjustLayout();
function hideUnusedElements() {
$('#logo_bereich').hide();
$('#bannerzone').hide();
$('#themen_aktuell').hide();
$('#mitte_rechts').hide();
$('.heisetopnavi').hide();
$('.aufmacherbild').hide();
}
function adjustLayout() {
$('#container_content').css('top', '0');
$('#mitte_links').css('width', '98%');
}
// ==UserScript==
// @name reader: netvibes.com - Nicer view
// @namespace readerNetvibes
// @description Reader layout for netvibes.com
// @include http://netvibes.com/*
// @include https://netvibes.com/*
// @include http://www.netvibes.com/*
// @include https://www.netvibes.com/*
// @version 0.1
// @require http://code.jquery.com/jquery-2.1.1.min.js
// @grant none
// ==/UserScript==
hideUnusedElements();
adjustLayout();
function hideUnusedElements() {
$('#header').hide();
}
function adjustLayout() {
$('.nv-reader-item .item-actions-wrapper').css('background-color', '#eee').css('width','200px');
}
// ==UserScript==
// @name reader: netzpolitik.org
// @namespace readerNetzpolitik
// @description Reader layout for netzpolitik.org
// @include https://netzpolitik.org/*
// @include https://www.netzpolitik.org/*
// @version 0.1
// @require http://code.jquery.com/jquery-2.1.1.min.js
// @grant none
// ==/UserScript==
hideUnusedElements();
adjustLayout();
function hideUnusedElements() {
$('#header').hide();
$('.sidebar').hide();
$('.postauthor').hide();
$('#commentsAdd').hide();
$('footer').hide();
}
function adjustLayout() {
$('.article').css('width', '98%').css('max-width','100%');
$('.content').css('width', '98%');
$('.content_box').css('width', '98%');
$('.post').css('width', '98%');
$('.single_post').css('width', '98%');
}
Reader is a collection of layout and style changes to make webpages more readable on large displays.
// ==UserScript==
// @name unbiased-imgur
// @namespace unbiasedimgur
// @description No points on imgur
// @include http://imgur.com/*
// @version 0.1
// @require http://code.jquery.com/jquery-2.1.1.min.js
// @grant none
// ==/UserScript==
hideUnusedElements();
function hideUnusedElements() {
$('#logo_bereich').hide();
$('#bannerzone').hide();
$('#themen_aktuell').hide();
$('#mitte_rechts').hide();
$('.heisetopnavi').hide();
$('.aufmacherbild').hide();
}
function adjustLayout() {
$('#container_content').css('top', '0');
$('#mitte_links').css('width', '98%');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment