Skip to content

Instantly share code, notes, and snippets.

@prateekjadhwani
Last active April 20, 2016 17:50
Show Gist options
  • Select an option

  • Save prateekjadhwani/e0fb8fb1b154640dd71ce90d2ed95c63 to your computer and use it in GitHub Desktop.

Select an option

Save prateekjadhwani/e0fb8fb1b154640dd71ce90d2ed95c63 to your computer and use it in GitHub Desktop.

Revisions

  1. prateekjadhwani revised this gist Apr 20, 2016. 1 changed file with 17 additions and 0 deletions.
    17 changes: 17 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    #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
  2. prateekjadhwani created this gist Apr 20, 2016.
    1 change: 1 addition & 0 deletions bookmark.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    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);})();