Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
LiSA Official Blog Reader
// ==UserScript==
// @name LiSA Official Blog Reader
// @namespace
// @include*
// @version 1.0.0
// ==/UserScript=='.subContents'), function(content) {
var html = content.innerHTML;
html = html.replace(/([^>])<br><br>([^<])/g, '$1$2');
html = html.replace(/<br>(\s*<br>)+/g, '<br>');
content.innerHTML = html;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.