Greasy Fork is available in English.
图片管理添加背景插件
当前为
// ==UserScript==
// @name 王永杰图片管理添加背景
// @myBlog wangyongjie.top
// @namespace undefined
// @version 0.0.2
// @description 图片管理添加背景插件
// @author 图片管理添加背景
// @match *://cxcms.ds.gome.com.cn/gome-cms-web/gomeCmsImgInfo/list.do
// @match http://cxcms.ds.gome.com.cn/gome-cms-web/gomeCmsImgInfo/list.do
// @match *://erm.ds.gome.com.cn/main.action
// @match http://erm.ds.gome.com.cn/main.action
// @match *
// @match 图片管理添加背景
// ==/UserScript==
$(document).ready(function(){
function colorRandom() {
var a, b, c;
var a = parseInt(255 - Math.random() * 255).toString(16);
var b = parseInt(255 - Math.random() * 255).toString(16);
var c = parseInt(255 - Math.random() * 255).toString(16);
colorStr = '#' + a + b + c;
} colorRandom();
$(".img_slide").css({
background: colorStr
})
console.log("变色成功")
})