1
Help Support Topics Archive / Re: Online player not working
« on: September 16, 2016, 08:05:25 »
Magic sauce to make it work:
Right click on the window, select 'inspect element'
hit escape until the console opens
type this into the prompt:
window.libopenmpt = Module; initPlayer();
Module now plays.
Alternatively, use greasemonkey or tampermonkey with this script:
Right click on the window, select 'inspect element'
hit escape until the console opens
type this into the prompt:
window.libopenmpt = Module; initPlayer();
Module now plays.
Alternatively, use greasemonkey or tampermonkey with this script:
Code: [Select]
// ==UserScript==
// @name Fix online player
// @namespace https://modarchive.org/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://modarchive.org/index.php?*
// @grant none
// ==/UserScript==
window.onerror = function(message, source, lineno, colno, error) {
if(source === 'https://modarchive.org/style/js/chiptune2.js' && lineno === 150) {
window.libopenmpt = window.Module;
console.log('player fixed, retry');
initPlayer();
return true;
}
return false;
};