// ==UserScript== // @name 🚀继续教育刷课平台-自助下单【影刃】 // @namespace https://yingren.xyz/ // @icon https://doc.yingren.xyz/img/logo2.jpg // @version 2.4 // @description 继续教育刷课平台:支持华医网,安徽继续教育在线,深圳市教师教育网,成都职业培训网络学院,网络研修平台,浙江水利-浙水安澜-浙水学习,山财培训网,杭州专业技术人员学习新干线,内蒙古干部网络学院,59iedu甘肃专技-临夏州,国培网-融学APP,河北省专业技术人员继续教育,国家中小学智慧教育平台,安徽省建筑施工企业“安管人员”和特种作业人员继续教育,丽水市人社专技继续教育,河南干部网络学院,中国教育干部网络学院,学习公社,湖南师范大学专业技术人员继续教育,华医网专题专项培训,浙江水利水电学院安全生产培训网校平台 // @author 影刃 // @match http://*/* // @match https://*/* // @grant GM_registerMenuCommand // @license MIT // @antifeature membership // ==/UserScript== (function() { 'use strict'; // 注册一个菜单项 GM_registerMenuCommand("自助下单", function() { goToShop(); }, "s"); // "s" 表示这个命令会被放置在所有脚本菜单命令之前 function goToShop() { var href = location.href if (href.indexOf("91huayi.com")!=-1) { // 华医网 window.open('https://yingren.xyz/shop?projectId=1') }else if(href.indexOf("ahjxjy.cn")!=-1) { // 安徽继续教育在线 window.open('https://yingren.xyz/shop?projectId=3') } else if (href.indexOf("0755tt.com")!=-1) { // 深圳市教师教育网 window.open('https://yingren.xyz/shop?projectId=4') } else if (href.indexOf("www.wlxy.org.cn")!=-1) { // 成都职业培训网络学院 window.open('https://yingren.xyz/shop?projectId=5') } else if (href.indexOf(".bcvet.cn")!=-1){ // 网络研修平台 window.open('https://yingren.xyz/shop?projectId=6') } else if (href.indexOf(".zjwater.com")!=-1) { // 浙江水利-浙水学习 window.open('https://yingren.xyz/shop?projectId=7') } else if (href.indexOf("sdufe.edu.cn")!=-1) { // 山财培训网 window.open('https://yingren.xyz/shop?projectId=8') } else if(href.indexOf(".hzrs.hangzhou.gov.cn")!=-1) { // 杭州专业技术人员学习新干线 window.open('https://yingren.xyz/shop?projectId=9') } else if(href.indexOf(".nmgdj.gov.cn")!=-1) { // 内蒙古干部网络学院 window.open('https://yingren.xyz/shop?projectId=10') } else if(href.indexOf("gslxzj.59iedu.com")!=-1){ // 59iedu甘肃专技-临夏州 window.open('https://yingren.xyz/shop?projectId=13') } else if(href.indexOf("gp.chinahrt.com")!=-1) { // 国培网-融学APP-GP window.open('https://yingren.xyz/shop?projectId=14') } else if(href.indexOf(".heb12333.cn")!=-1) { // 河北省专业技术人员继续教育管理系统 window.open('https://yingren.xyz/shop?projectId=15') } else if(href.indexOf("basic.smartedu.cn")!=-1) { // 国家中小学智慧教育平台-教师培训 window.open('https://yingren.xyz/shop?projectId=16') } else if (href.indexOf("ahjsjg.cn")!=-1) { // 安徽省建筑施工企业“安管人员”和特种作业人员继续教育学习平台 window.open('https://yingren.xyz/shop?projectId=17') } else if (href.indexOf("lshrss.cn")!=-1) { // 丽水市人社专技继续教育培训 window.open('https://yingren.xyz/shop?projectId=19') } else if (href.indexOf("hngbwlxy.gov.cn")!=-1) { // 河南干部网络学院 window.open('https://yingren.xyz/shop?projectId=20') } else if (href.indexOf("enaea.edu.cn")!=-1) { // 中国教育干部网络学院 window.open('https://yingren.xyz/shop?projectId=21') } else if (href.indexOf(".ttcdw.cn")!=-1) { // 学习公社 window.open('https://yingren.xyz/shop?projectId=22') } else if (href.indexOf(".ejxjy.com")!=-1) { // 湖南师范大学专业技术人员继续教育 window.open('https://yingren.xyz/shop?projectId=24') } else if (href.indexOf("ztpx.91huayi.com")!=-1) { // 华医网-掌上华医app-专项培训-专题培训-支持人脸识别 window.open('https://yingren.xyz/shop?projectId=27') } else if (href.indexOf("aqwx.bosafe.com")!=-1) { // 浙江水利水电学院安全生产培训网校平台 window.open('https://yingren.xyz/shop?projectId=29') } else { window.open('https://yingren.xyz/shop') } } })();