User:Shahadat/script-functions

From Justapedia, unleashing the power of collective wisdom
Jump to navigation Jump to search

User:Shahadat/script-functions.js is required to include multiple shared functions, and the custom "TV Scripts" header, many of which are used identically in a few of my other scripts - you only need to include it in Special:MyPage/common.js once.

Installation

To install just this script, add:

importScript('User:Shahadat/script-functions.js');

to Special:MyPage/common.js. To make sure that the functions script has loaded before any other Shahadat script, load your script into common.js as such:

importScript('User:Shahadat/script-functions.js');
setTimeout(function() {
	importScript('User:Shahadat/{SCRIPT}.js');
},1000);

Bugs

Please report any bugs on the talk page of the script's creator.

See also

Script Attribution