77mh 漫畫列表

列出章節內所有圖片

  1. // ==UserScript==
  2. // @name 77mh.com image list
  3. // @description Lists all images in a chapter/volume
  4. // @name:zh-TW 77mh 漫畫列表
  5. // @description:zh-TW 列出章節內所有圖片
  6. // @version 1.1.2
  7. // @include /^http\:\/\/.*?\.77mh\.com\//
  8. // @author willy_sunny
  9. // @license GPL version 2 or any later version; http://www.gnu.org/licenses/gpl-2.0.txt
  10. // @namespace https://gf.qytechs.cn/users/9968
  11. // ==/UserScript==
  12. //
  13. // ************************
  14. // Own Variable Declaration
  15. // ************************
  16. // imgList: the output result
  17. //
  18. // *************************************************
  19. // Site function/variable Declearation
  20. // The manga's page list and info are stored inside
  21. // the 8 hash letter js file like this:
  22. // http://css.177mh.com/coojs/201411/f529f09a.js
  23. // *************************************************
  24. // However, the js file that actually processes
  25. // it is located inside another js file as:
  26. // http://css.177mh.com/img_v1/v17ql_cont_v150213.js
  27. // *************************************************
  28. // The nextLink_ba variable is the next page link
  29. // *************************************************
  30. //
  31. // The imgList code is a direct modification on the above mentioned js file
  32. // "img.src=img_qianz+arr[page];"
  33. // This should be quite obvious, just use arr.length to get the total page count
  34. // And just write a loop, poof, done.
  35.  
  36. var imgList=""; // declear image list
  37. for(var i=0;i<arr.length;i++){ // looping pages
  38. imgList+='<img src="'+img_qianz+arr[i]+'"><br>'; // addes pages to the list
  39. }
  40. document.write(imgList+nextLink_ba); // output images + next chapter link

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址