User:NuclearWarfare/Mark-blocked script.js

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.
//If you add this script to your monobook, it will mark all linked blocked users with a strikethrough, and mark all linked indefinitely blocked users with italics and a strikethrough.
//
// Installation Method 1:
// Add the following line to your monobook.js
// importScript('User:NuclearWarfare/Mark-blocked script.js');
// 
// Installation Method 2:
// Just copy and paste the uncommented part of this page

mw.loader.using( ['mediawiki.util', 'mediawiki.page.ready'], function () {
	importScript('MediaWiki:Gadget-markblocked.js');
});