Skip to content

Instantly share code, notes, and snippets.

@jesperronn
Created December 9, 2012 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesperronn/4247115 to your computer and use it in GitHub Desktop.
Save jesperronn/4247115 to your computer and use it in GitHub Desktop.
"Læs også"-links flyttet til bund af artikel. Jeg var så træt af at der står "LÆS OGSÅ: ..." efter hvert andet afsnit på DRs websider.
// ==UserScript==
// @name 'Læs også'-- men senere
// @namespace jespersscripts
// @version 0.1
// @description "Læs også"-links flyttet til bund af artikel. Jeg var så træt af at der står "LÆS OGSÅ: ..." efter hvert andet afsnit på DRs websider.
// @match http://www.dr.dk/*
// @match http://dr.dk/*
// @copyright 2012+, Jesper Rønn-Jensen
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
// ==/UserScript==
jQuery.noConflict();
jQuery('.linkbox').appendTo(jQuery('.linkbox').closest('.wcms-article-content'));
//alert('done');
// This mootools version did not work, so I used JQuery instead
// $$('.linkbox').inject($$('.wcms-article-content')[0], 'bottom');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment