Skip to content

Instantly share code, notes, and snippets.

@prateekjadhwani
Last active April 20, 2016 17:50
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 prateekjadhwani/e0fb8fb1b154640dd71ce90d2ed95c63 to your computer and use it in GitHub Desktop.
Save prateekjadhwani/e0fb8fb1b154640dd71ce90d2ed95c63 to your computer and use it in GitHub Desktop.
WuxiaWorld Simplify

#WuxiaWorld Simplyfy

It removes all the distractions from wuxiaworld and shows only the main chapter that you are reading.

Installation

####Step 1 Create a new bookmark in your browser with any name and with any url.

####Step 2 Copy the code from bookmark.js file given in this gist

Step 3

Paste it in the url section of the bookmark. You can always right click on the bookmark and edit it, then you can paste the code in URL section.

Step 4

When you are reading a chapter, click on the bookmark that you just created. This will remove everything other than the chapter and next and previous chapter links

javascript:(function(){var el = document.querySelector("#main"),html = document.querySelector("html");el.querySelector("article").style.width = "auto";el.removeChild(el.querySelector("#comments"));html.removeChild(document.querySelector("body"));var body = document.createElement("body").appendChild(el);document.querySelector("html").appendChild(body);})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment