Jump to content

User:Edokter/CompactTabs.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Compact Vector tabs 
   Source: [[User:Edokter/CompactTabs.js]] */

$( document ).ready( function() {
    $( 'a', '#ca-special' ).text( 'Special' );
    $( 'a', '#ca-nstab-user' ).text( 'User' );
    $( 'a', '#ca-talk' ).text( 'Talk' );
    $( 'a', '#ca-view-foreign' ).text( 'Commons' );
    $( 'a', '#ca-edit' ).text( 'Edit' );
    $( 'a', '#ca-addsection' ).text( 'Add' );
    $( 'a', '#ca-viewsource' ).text( 'Source' );
    $( 'a', '#ca-history' ).text( 'History' );
    $( 'a', '#ca-unprotect' ).text( 'Unprotect' );
    $( 'a', '#pt-mytalk' ).text( 'Talk' );
    $( 'a', '#pt-mysandbox' ).text( 'Sandbox' );
    $( 'a', '#pt-preferences' ).text( 'Preferences' );
    $( 'a', '#pt-watchlist' ).text( 'Watchlist' );
    $( 'a', '#pt-mycontris' ).text( 'Contributions' );
});