User:Davipo/monobook.js

// user scripts

importScript('Wikipedia:WikiProject_User_scripts/Scripts/TimeTraveller.js');

importScript('User:Davipo/wikipast.js');

// Remove ", the free encyclopedia" suffix from function trim_title { var suffix = ", the free encyclopedia"; var i = document.title.indexOf(suffix); if (i != -1) { document.title = document.title.slice(0, i); } } $(trim_title);