旧: v1.10.1 - 2016/08/13 - fixes by @nobody123: thespectrum.net and madokami; fix for auto-loading on manhua.dmzj.com; gomanga.co workaround
新: v1.10.2 - 2016/08/14 - added hotkey for loading (when autoload is off) Ctrl+, (control + comma)
- @@ -1,7 +1,7 @@
- // ==UserScript==
- // @name Manga Loader
- // @namespace http://www.fuzetsu.com/MangaLoader
-// @version 1.10.1
- +// @version 1.10.2
- // @description Support for over 70 sites! Loads manga chapter into one page in a long strip format, supports switching chapters, minimal script with no dependencies, easy to implement new sites, loads quickly and works on mobile devices through bookmarklet
- // @copyright 2016+, fuzetsu
- // @noframes
- @@ -1852,6 +1852,15 @@
- waitAndLoad(imp);
- return true;
- }
- + // setup load hotkey
- + var loadHotKey = function(e) {
- + if(e.ctrlKey && e.keyCode == 188) {
- + e.preventDefault();
- + btnLoad.click();
- + W.removeEventListener('keydown', loadHotKey);
- + }
- + };
- + W.addEventListener('keydown', loadHotKey);
- // append button to dom that will trigger the page load
- btnLoad = createButton('Load Manga', function(evt) {
- waitAndLoad(imp);