CSDN插件。

自用插件,用于学习。

Verze ze dne 14. 11. 2022. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         CSDN插件。
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  自用插件,用于学习。
// @author       ZZT
// @match        https://blog.csdn.net/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @license      MPL
// @require    http://code.jquery.com/jquery-1.11.0.min.js
// ==/UserScript==
//$("td.normal font").remove();
//$("td.normal").css("font-family","宋体").css("font-size","18px").css("font-style","normal").css("font-weight","normal").css("color","blue");
//$("b").css("font-family","宋体").css("font-size","18px").css("font-style","normal").css("font-weight","normal").css("color","blue");
//alert("欢迎来到内部网!")//弹出对话框
//console.log('hello!')//后台调试输出

var r=window.confirm("来了老弟~");
if (r==true)
{
alert("来了都是一家人");
var wang=window.confirm("王珂是狗嘛?");
if(wang==true){
    var x="欢迎来到内部网!";
    alert(x);
}else{
    x="快滚!!!";
    alert(x);
}
    
}
else
{
    x="快滚!!!";
    alert(x);
}

$("div.toolbar-logo toolbar-subMenu-box csdn-toolbar-fl").remove();
$("a.hasAvatar").click(function(){
   // 动作触发后执行的代码!!
   window.location.href = "https://www.runoob.com";
});
//$("input.editbox3x").click(function(){
//    // 动作触发后执行的代码!!
//});