User:Mr. Stradivarius/gadgets/FollowSandboxRedirect.js

/* This gadget removes "&redirect=no" from the end of the "Sandbox" link in the * personal toolbar. This means that redirects will be followed whenever you * click on it. To install the script, put the following in your * Special:MyPage/skin.js:

importScript( 'User:Mr. Stradivarius/gadgets/FollowSandboxRedirect.js' ); // Linkback: User:Mr. Stradivarius/gadgets/FollowSandboxRedirect.js



$( document ).ready( function {	$( '#pt-sandbox a' ).attr( 'href', '/wiki/Special:MyPage/sandbox' ); } );