ctrlcctrlv / infinity

A vichan fork permitting users to create their own boards
Other
318 stars 149 forks source link

Add option to disable 8chans JS #197

Open ScriptKi77y opened 10 years ago

ScriptKi77y commented 10 years ago

I'd like to request a simple option to disable execution of the sites main.js file. sort of how 4chan implemented some time ago.

This would really help in development of userscripts. The sites main.js file likes to break our 8chan-x script unless we intentionally add something to cause a runtime error with the sites jquery immediately on page load, but even that still leaves event handlers present and the sites autoupdate running and we'd like to avoid that if possible. Our script is a slightly more advanced version of what's running on the site with addition of possible error reporting and tested for compatibility with the majority of current browsers and mobile devices.

TL;DR we have our own version of main.js which we would prefer to use. Please add option to disable site default main.js Thank you.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5415901-add-option-to-disable-8chans-js?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github).
ScriptKi77y commented 10 years ago

Something like http://jsfiddle.net/ax74c8uq/ at the top of the script will be nice.