Benutzer:Joe-le/wikia.js: Unterschied zwischen den Versionen
imported>Joe-le (Entferne gesamten Inhalt von der Seite) |
imported>Joe-le |
||
Zeile 1: | Zeile 1: | ||
+ | $('a[data-id="wikiactivity"]').attr('href','/wiki/Special:RecentChanges').attr('title','Recent Changes').html('<img height="0" width="0" src="http://images1.wikia.nocookie.net/__cb25182/common/skins/common/blank.gif">RC'); | ||
+ | //move potential toc and sidebar to Rail, remove everything else | ||
+ | $('#toc').insertAfter('.WikiaPagesOnWikiModule'); | ||
+ | $('.wiki-sidebar').insertAfter('.WikiaPagesOnWikiModule'); | ||
+ | $('.WikiaPagesOnWikiModule').remove(); | ||
+ | $('.WikiaActivityModule').remove(); | ||
+ | $('.LatestPhotosModule').remove(); | ||
+ | $('#WikiaSpotlightsModule').remove(); | ||
+ | |||
+ | //remove all remaining <details> | ||
+ | // (the only one still existing should be the bar after the article title) | ||
+ | $('details').remove(); | ||
+ | |||
+ | //remove Wikia navigation | ||
+ | $('#WikiaHeader > nav').remove(); | ||
+ | $('img.banner-corner-right').remove(); | ||
+ | $('img.banner-corner-left').remove(); | ||
+ | |||
+ | //remove Spotlight footer | ||
+ | $('#SPOTLIGHT_FOOTER').remove(); | ||
+ | $('.WikiaFooter > h1').remove(); | ||
+ | |||
+ | //remove image attribution | ||
+ | $('.picture-attribution').remove(); | ||
+ | |||
+ | //$('li.mytools').insertAfter('ul#AccountNavigation li:first-child'); |
Version vom 17. November 2010, 00:02 Uhr
$('a[data-id="wikiactivity"]').attr('href','/wiki/Special:RecentChanges').attr('title','Recent Changes').html('<img height="0" width="0" src="http://images1.wikia.nocookie.net/__cb25182/common/skins/common/blank.gif">RC');
//move potential toc and sidebar to Rail, remove everything else
$('#toc').insertAfter('.WikiaPagesOnWikiModule');
$('.wiki-sidebar').insertAfter('.WikiaPagesOnWikiModule');
$('.WikiaPagesOnWikiModule').remove();
$('.WikiaActivityModule').remove();
$('.LatestPhotosModule').remove();
$('#WikiaSpotlightsModule').remove();
//remove all remaining <details>
// (the only one still existing should be the bar after the article title)
$('details').remove();
//remove Wikia navigation
$('#WikiaHeader > nav').remove();
$('img.banner-corner-right').remove();
$('img.banner-corner-left').remove();
//remove Spotlight footer
$('#SPOTLIGHT_FOOTER').remove();
$('.WikiaFooter > h1').remove();
//remove image attribution
$('.picture-attribution').remove();
//$('li.mytools').insertAfter('ul#AccountNavigation li:first-child');