User:Microchip08/scriptcheck.js

From Simple English Wikipedia, the free encyclopedia

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
$(function () {
   addPortletLink ('p-personal', '', '            ', 'scriptcheck', 'Your javascript and CSS are free from syntax errors.','','pt-userpage');
});
/*
 add
 importScript('User:Microchip08/scriptcheck.js')
 to your monobook.js and add
 @import url('http://simple.wikipedia.org/w/index.php?title=User:Microchip08/scriptcheck.css&action=raw&ctype=text/css');
 to your monobook.css

 This adds a tick icon to the corner of the screen to verify that your javascript has no errors
*/