-
Notifications
You must be signed in to change notification settings - Fork 1
/
pogo.user.js
32 lines (24 loc) · 841 Bytes
/
pogo.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;(function () { // eslint-disable-line no-extra-semi
'use strict';
const plugin_info = {};
if (typeof GM_info !== 'undefined' && GM_info && GM_info.script) {
plugin_info.script = {
version: GM_info.script.version,
name: GM_info.script.name,
description: GM_info.script.description
};
}
const setup = function () {
alert('The iitc-plugin-pogo, "pogo for portals" plugin is outdated and its features are included in "s2Check".\r\n' +
'Please, uninstall this plugin to avoid conflicts');
};
setup.info = plugin_info; //add the script info data to the function as a property
if (!window.bootPlugins) {
window.bootPlugins = [];
}
window.bootPlugins.push(setup);
// if IITC has already booted, immediately run the 'setup' function
if (window.iitcLoaded && typeof setup === 'function') {
setup();
}
})();