山东-专业技术人员继续教育管理服务平台

济宁-山东理工职业学院继续教育平台

  1. // ==UserScript==
  2. // @name 山东-专业技术人员继续教育管理服务平台
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.4
  5. // @description 济宁-山东理工职业学院继续教育平台
  6. // @author 帮帮客
  7. // @license bbk_1106
  8. // @match *://*.zhuanjipx.com/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=zhuanjipx.com
  10.  
  11. // @grant GM_setValue
  12. // @grant GM_getValue
  13. // @grant GM_listValues
  14. // @grant GM_xmlhttpRequest
  15. // @grant unsafeWindow
  16. // ==/UserScript==
  17. class Verify {
  18. constructor() {
  19. var version = 'version';
  20. var hear = 'hear';
  21. var version_ = "0.3";
  22. var txt = '操作流程:\n' +
  23. '1.复制输入框里的内容;\n' +
  24. '2.点击浏览器右上角的油猴图标;\n' +
  25. '3.点击管理面板,找到刚安装的油猴脚本并点击打开;\n' +
  26. '4.在下方这行代码下,有一行是空白行,请将复制的内容粘贴上去;\n' +
  27. '[ // @require https://www.g****in=zhuanjipx.com]\n' +
  28. '[ 空白行 ]\n' + //!!!!注意:并非替换此行(28行),请将复制的内容粘贴到第10行!(鼠标滚轮往上滑,在上方)
  29. '[ // @grant GM_setValue]\n' +
  30. '5.注意!!!记得保存后再刷新页面。 < Ctrl + C 复制输入框内容>';
  31. var str = '// @require http://139.224.47.209:91/bbk_sdzy_4.js';
  32. let Set = GM_getValue("set");
  33. if (GM_listValues().indexOf("set") == -1) {
  34. jh();
  35. confirm("初始化完毕!\n请按流程完成功能激活。");
  36. } else if (version_ > Set[version]) {
  37. jh();
  38. }
  39. data();
  40. setTimeout(function(){
  41. Set = GM_getValue("set");
  42. if (Set[hear] != true || !jc()) {
  43. prompt(txt, str);
  44. } else {
  45. var date = new Date();
  46. date.setTime(date.getTime() - 10000);
  47. document.cookie = "jk=; expires=" + date.toGMTString();
  48. }
  49. },1500);
  50. function data() {
  51. var url_n, url_t;
  52. url_n = unsafeWindow.location.href.split("/");
  53. url_t = url_n[url_n.length - 1].split("?")[0];
  54. if (url_t != "course_list_v2.aspx") {
  55. $('body').append(`
  56. <div id=gzh style="font-weight: bold;right: 17px;font-size: 14px;height: 32px;text-align: center;display: block;background: #ffffff;position: fixed; top:272px;width: 129px;color: #717375;margin-left: 0px;line-height: 15px;">微信扫一扫<br>关注帮帮客公众号</div>
  57. <iframe src="https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=Mzk0MjMxNTcxOQ==&mid=2247483681&idx=1&sn=382747485cbe09c94f7e7ee0eef363b5&send_time="
  58. style="right: 17px;display: block;position: fixed; top:143px;width: 129px;color: #555;margin-left: 0px;line-height: 11px;border-radius: 6px;height: 160px;">
  59. </iframe>
  60. `);
  61. }
  62. }
  63. function jh() {
  64. GM_setValue("set", {"hear": "","version": "","k_id": "","k_d": "","k_t": "","k_code": ""});
  65. }
  66. function jc() {
  67. var arr, reg = new RegExp("(^| )jk=([^;]*)(;|$)");
  68. if (arr = document.cookie.match(reg)) {
  69. return unescape(arr[2]);
  70. } else {
  71. return "";
  72. }
  73. }
  74. }
  75. }
  76.  
  77. new Verify();

QingJ © 2025

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