wuxingsanren / 【电影票观影】maoyan猫眼电影优惠卡券代金券礼品卡Coupon共享,MaoyanMovie猫眼电影电子卡储值卡序列号Card账号密码,猫眼电影折扣券通兑代金券免费领/Cdkey卡券密码

// ==UserScript==
// @name         【电影票观影】maoyan猫眼电影优惠卡券代金券礼品卡Coupon共享,MaoyanMovie猫眼电影电子卡储值卡序列号Card账号密码,猫眼电影折扣券通兑代金券免费领/Cdkey卡券密码
// @namespace    wuxingsanren
// @version      1.0.2
// @description  免费领取猫眼电影现金红包券,maoyan猫眼电影优惠卡券代金券礼品卡Coupon共享,MaoyanMovie猫眼电影电子卡储值卡序列号Card账号密码,猫眼电影折扣券通兑代金券免费领&Cdkey卡券密码
// @author       wuxingsanren
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAJe0lEQVRoQ+2ZeYxV9RXHP+fe994MCMMyMAtLUIoMIIIl2opaow2MWzWMVmxtq6I2Nqlao03atP80aVKtNk21beqSukArlB1rLQ1ajCtqtTZotaBGEGdlhplhYGbee/f+mnOX8b43b4XBNoZfAnnv3d9yPud7fuf8fneEz1iTzxgPx4H+3xU9rtBxhT5lDxwPuU/Z4WUvd0QKmfuooI542auVOmAy0E9KLmaw1CFhv7KBzEbmszC+CttMY9CAFJnCGIgJXsVLFelv8PvZwEG3hXb3GmnkzXKgygIya1jIosRGTq6YSTINXWkIjci1qj6zBMYHy/QYSBuw8pio3XRMXwDV4+yh071SlvBaqVAlA5n1nM6piXXMrjwR40LSgTTQqf8Fno2uqoapp6usTwD0tx4XnBz9Q0sO4j+PARXa32lhv3u1LOXZUqBKAjJbOJeGxBoaEvXepK6BQQdswQu7A2pBxEhPGWBcAKPfo02h1A/ZSqkyIaw+U+sSHlQXXe5VsoSni0EVBTKbaGRu7I80VEzy40GB8IG06cIDCuX6n6MwYQhFrQh/6w2gVMUwzKLKhUA6NiHQ63TR6V4jS/lLIaiCQGYTFzEv/jiz4+MzJnFUIdf3YAjVb6D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i3XJijAvKg7uNz1LKZScx3ogdarSXRehIqEL2Ka8YOQHWuAGYXrTTJrfz7SGCOGihQahb1bKaWUzKUyry3DbcvCqN7ppPd0k6T3MzbRwozIkAe1L2cTC1bqGHuEJR388pjmioVqOUp08F7dHh75qhgRgzIg/oVDaaGLVJLw1CdKgQUhlk779FGk3yPt45GmXDsEWW5fAsrFDVsoS6AKnBJ9JRp431aaJLb2TkSMCOqUGiQuYf5TPWgZuasU8Fxhg72so/L5fu8PlIwxwTIC7+7OJXpHtRJGdkvKJq08REf0zTSMMcMyIO6hwVMYQv1nBgmCi/MWtlHs6dMyX+VK0fBEd1D2QubuzmNKWymnhneLaGFZtEEcDuvlmNkOX2PKZCn1N0sYjqbjRAXDbM72FGOgeX2PeZAHtTPmcIoLLk197W5XKML9f9UgEbS4GJzHQcq5qH/9fP/ApTYZtYHfjIIAAAAAElFTkSuQmCC
// @resource     vipLevel http://cdn.dgsldz.com/product/wildcat/images/pic/vip.png
// @require      http://cdn.staticfile.org/jquery/1.8.3/jquery.min.js
// @supportURL   http://yemao.in/maoyan
// @grant        GM_getResourceURL
// @include      *://maoyan.com/*
// @include      *://*.maoyan.com/*
// @license      GPL-3.0-only
// ==/UserScript==

(function() {
    'use strict';
    var $ = $ || window.$;
    var windowUrl = window.location.href;
    var websiteHost = window.location.host;
    var csdnAnalysis={};
    csdnAnalysis.addHtml=function(){
        var vipLevelImg = GM_getResourceURL("vipLevel");
        var floatBox = "<div style='position:fixed;z-index:999999;cursor:pointer;top:265px;left:0px;'>"+
            "<div id='crack_vip_csdn_box' style='height:32px;line-height:32px;text-align:center;font-size:13px;/*padding:8px 6px;*/color:#fff;background-color:#ff5200;border-top-right-radius:6px;border-bottom-right-radius:6px;'><img src='" + vipLevelImg + "' style='width:20px;height:20px;position:relative;top:4px;' />&nbsp;CSDN资源VIP</div>"+
            "<div id='yemap_vip_url_box' style='font-size:13px;padding:6px 3px;'><a href='http://yemao.in/maoyan' target='_blank' style='color:#3b8cff;text-decoration:none'>http://yemao.in/sucai</a></div>"+
            "<div id='yemao_vip_github_box' style='width:105px;padding:6px 3px;'><embed src='https://ghbtns.com/github-btn.html?user=wuxingsanren&repo=wildcat-vip-account&type=star&count=true' style='height:20px;' /></div>"+
            "</div>";
        $("body").append(floatBox);
        var defaultCrackVipUrl = "http://yemao.in/maoyan?url=#";
        $("body").on("click","#crack_vip_csdn_box",function(){
            defaultCrackVipUrl = defaultCrackVipUrl.replace(/#/g, encodeURIComponent(windowUrl));
            window.open(defaultCrackVipUrl, "_blank");
        });
    };
    csdnAnalysis.init=function(){
        csdnAnalysis.addHtml();
    }
    csdnAnalysis.init();
})();