Jump to content

User:Jeeputer's Cat/common.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m better to highlight page title; more visible
Line 6: Line 6:
$('#firstHeading > span[class^="mw-page-title"]').css('color', '#C41E3A');
$('#firstHeading > span[class^="mw-page-title"]').css('color', '#C41E3A');
}
}
importScript('User:Jeeputer/specialRandomPage.js'); // Backlink: [[User:Jeeputer/specialRandomPage.js]]

Revision as of 09:40, 10 July 2023

mw.loader.load("//fa.wikipedia.org/enwiki/w/index.php?title=MediaWiki:Tofawiki.js&action=raw&ctype=text/javascript");
importScript('User:Nardog/CatChangesViewer.js'); // Backlink: [[User:Nardog/CatChangesViewer.js]]
importScript('User:Evad37/CatVision.js'); // Backlink: [[User:Evad37/CatVision.js]]
// Highlight page title when IW link to Commons is present
if ($('.wb-otherproject-commons').length) {
    $('#firstHeading > span[class^="mw-page-title"]').css('color', '#C41E3A');
}
importScript('User:Jeeputer/specialRandomPage.js'); // Backlink: [[User:Jeeputer/specialRandomPage.js]]