Skip to content

Instantly share code, notes, and snippets.

@Xyvyrianeth
Last active June 16, 2019 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xyvyrianeth/847166fd4d05aa230ca436b6f6d3c78a to your computer and use it in GitHub Desktop.
Save Xyvyrianeth/847166fd4d05aa230ca436b6f6d3c78a to your computer and use it in GitHub Desktop.
Dan-Ball Comment Board Beautifier
// ==UserScript==
// @name Dan-Ball Comment Board Beautifier
// @description Makes the CBs a little less ugly.
// @author Xyvyrianeth
// @match https://dan-ball.jp/en/bbs/*
// @include https://dan-ball.jp/en/bbs/*
// @include http://dan-ball.jp/en/bbs/*
// @include https://dan-ball.jp/bbs/*
// @include http://dan-ball.jp/bbs/*
// @namespace http://tampermonkey.net/
// @grant none
// ==/UserScript==
/*
Xyvyrianeth's Dan-Ball Comment Board Beautifier
DO NOT REDISTRIBUTE. Modification is permitted. Non-commercial use is permitted.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
////////////////////////////////////////////////////////////////
INFORMATION:
This script is meant to be ran on a Chrome extension called TamperMonkey (if
you're a Firefox user, the equivelant is GreaseMonkey).
This is not the "final" version of the script, so updated versions will eventually be released.
If you have any suggestions, comments, or complaints, feel free to email them to me at
xyvyrianeth@gmail.com
Or leave a comment on this gist or at
https://sites.google.com/site/xyvyrianethdanball/home
*/
if (!localStorage.DBCBBScript) {
delete localStorage.DBCBBScript;
delete localStorage.DBCBBVersion;
var js_script = document.createElement('script');
js_script.type = "application/javascript";
js_script.src = "https://pastebin.com/raw/B91gGDdC";
js_script.async = true;
js_script.charset = "utf-8";
document.getElementsByTagName('head')[0].appendChild(js_script);
} else {
try {
eval(localStorage.DBCBBLauncherScript);
} catch (err) {
console.log(err);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment