// ==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/*/* // @include https://www.fimfiction.net/story/*/* // @include http://www.fimfiction.net/story/*/* // @compatible firefox // @compatible chrome // @noframes // @grant GM_xmlhttpRequest // @grant GM_getValue // @grant GM_setValue // @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.20151106143113 // @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? Add copies of all links at the end of a fanfic. Save settings? -- In location bar! && in GM storage! */ // 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