Using the mod - ahvonenj/synergism-hypersynergy GitHub Wiki
Create a bookmark
Using the mod is simple. Just create a new bookmark in your browser and name it as you wish. For the URL, copy and paste the following:
javascript:(function() {
if('hypersynergism' in window) {
alert('Hypersynergism is already loaded on the page, please refresh if you want to reload the mod');
return;
};
const scriptSrc = `https://cdn.jsdelivr.net/gh/ahvonenj/synergism-hypersynergy@latest/release/mod/hypersynergism_release.js?r=${Math.floor(Math.random() * 1000000)}`;
const script = document.createElement('script');
script.src = scriptSrc;
script.onload = function() {
console.log('[HSMain] Script loaded successfully!');
window.hypersynergism.init();
};
script.onerror = function() {
console.error('[HSMain] Failed to load the mod!');
};
document.head.appendChild(script);
})();
Alertnatively the same loader code can be found in here.
Example:
Enable the mod
Now just load up the game in your browser (or refresh the page if it's already running) and click on the bookmark after you've clicked away the "Since you were away" box.
The bookmark will always load up the latest version of the mod, so once you're set up on your end, you're set for life!