User:DanCherek/UserLogPatrol.js

// Written by User:DannyS712 mw.loader.using( 'mediawiki.util', function {    $(document).ready( function  { if ( mw.config.get('wgCanonicalNamespace') === 'Special' && mw.config.get('wgCanonicalSpecialPageName') === 'Log' ){ mw.util.addPortletLink ( 'p-cactions', 'javascript:void(0)', 'Hide', 'ca-hideStuff', 'hide', "'"); $('#ca-hideStuff').on('click', function {	       	$('li.mw-logline-newusers:has(a.mw-usertoollinks-contribs-no-edits)').hide;	    	} ); }   } ); } );