// ==UserScript== // @name FanfictionQomplete // @description Loads all following chapters on fanfiction.net and strips off bloat. // @namespace https://greasyfork.org/en/users/11891-qon // @author Qon // @include https://www.fanfiction.net/s/*/* // @include https://www.fictionpress.com/s/*/* // @compatible firefox // @compatible chrome // @noframes // @grant GM_xmlhttpRequest // @run-at document-start // @license Simple Public License 2.0 (SimPL) https://tldrlegal.com/license/simple-public-license-2.0-%28simpl%29 // @version 0.0.1.20150923175850 // @downloadURL none // ==/UserScript== /* TODO !checkForBadJavascripts! (remove addJS_Node ?) Add support for other sites WIP https://www.fictionpress.com WIP fimfiction.com Change width by dragging the border? and position? -- Loading bar modified slightly. -- Super narrow mode for small devices like phones. Thinner rainbow edge and less padding. -- Convert images to data url. Add copies of all links at the end of a fanfic. Automatically qomplete fanfics? -- if the url ends with #Qomplete Save settings? In location bar! -- :nth-of-type instead of col1..6 -- Chapters qolor qoded in the chapter selector. */ // javascript:var script=document.createElement("script");var t=new Date(Date());script.src="https://greasyfork.org/en/scripts/10182-fanfictionqomplete/code/fanfictionqomplete.js?"+t.getFullYear()+t.getMonth()+t.getDate();document.body.appendChild(script);window.setTimeout(function(){document.runFFQomplete();},500); // Source for checkForBadJavascripts: https://gist.github.com/BrockA/2620135 /*--- checkForBadJavascripts() This is a utility function, meant to be used inside a Greasemonkey script that has the "@run-at document-start" directive set. It Checks for and deletes or replaces specific