// ==UserScript== // @name 卓客订阅6Vhao和80s影视 // @namespace [url=mailto:741227905@qq.com]741227905@qq.com[/url] // @version 0.1 // @description 订阅66Vhao和80s影视的最新电视剧,动漫,将会用邮件和微信形式发送给你,期待你喜欢哦。 // @author gdky005 // @match *://www.hao6v.com/* // @match *://www.80s.tw/* // @require https://unpkg.com/vue/dist/vue.js // @require https://unpkg.com/element-ui/lib/index.js // @require https://code.jquery.com/jquery-3.3.1.min.js // @grant GM_addStyle // @grant GM_getValue // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // @connect zkteam.cc // @downloadURL https://update.greasyfork.icu/scripts/371381/%E5%8D%93%E5%AE%A2%E8%AE%A2%E9%98%856Vhao%E5%92%8C80s%E5%BD%B1%E8%A7%86.user.js // @updateURL https://update.greasyfork.icu/scripts/371381/%E5%8D%93%E5%AE%A2%E8%AE%A2%E9%98%856Vhao%E5%92%8C80s%E5%BD%B1%E8%A7%86.meta.js // ==/UserScript== (function() { 'use strict'; // Your code here... var current_url = document.URL; console.log("当前访问的 url 是:" + current_url); var header_link = ''; //将以上拼接的html代码插入到网页里的ul标签中 var header_link_tag = $("head"); if (header_link_tag) { header_link_tag.append(header_link); } var type = '' if(current_url.indexOf("80s") != -1) { console.log("获取的是80s"); type = '80s' } else if(current_url.indexOf("hao6v") != -1) { console.log("检测到:hao6v"); type = '6vhao' } var vue_code = '
{{ userInfo.user_name }} , 你要订阅的信息如下:
' vue_code+='关注微信号免费获得微信订阅消息通知服务
' vue_code+=''
vue_code+='