Greasy Fork

tiexiaoer

shining

目前为 2021-03-19 提交的版本。查看 最新版本

// ==UserScript==
// @name         tiexiaoer
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  shining
// @author       shining
// @match        https://tiexiaoer.ctrip.com/*
// @match        http://tiexiaoer.ctrip.com/*
// @require      https://libs.baidu.com/jquery/1.8.3/jquery.min.js
// @grant        unsafeWindow
// @grant        GM_log
// @grant        GM_setValue
// @grant        GM_getValue
// @connect      ctrip.com
// @run-at       document-end
// ==/UserScript==

var logo = "北京祥游国际旅行社"
var tooberUrl = unsafeWindow.location.href;

(function() {
    $(".login-logo").html("<h1 align='center' style='color:white;'>" + logo + "</h1>");
    $(".logo").remove();
    $(".sidebar-toggle").remove();
    $(".navbar-custom-menu").html("<h1 align='center' style='color:white;'>" + logo + "</h1>");
    $(".navbar-custom-menu").removeAttr("class")
    $(".main-footer").html("<h1 align='center' style='color:black;'>" + logo + "</h1>");
    $(".login-page").css({"background-color":"#4a52af"});
    //$('body').css({'background':'url(http://hycd.xyz:65511/back.jpg)no-repeat',"background-size":"100% 100%"});
    GM_log(tooberUrl);
})();