fix
This commit is contained in:
parent
20e3edfbfc
commit
78c80baf77
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name tieba page
|
// @name tieba page
|
||||||
// @namespace http://tampermonkey.net/
|
// @namespace http://tampermonkey.net/
|
||||||
// @version 1.014
|
// @version 1.015
|
||||||
// @author fthvgb1
|
// @author fthvgb1
|
||||||
// @match https://tieba.baidu.com/*
|
// @match https://tieba.baidu.com/*
|
||||||
// @match https://tiebac.baidu.com/*
|
// @match https://tiebac.baidu.com/*
|
||||||
|
@ -351,6 +351,7 @@
|
||||||
margin: 0 4px 0 0;
|
margin: 0 4px 0 0;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
font-size: 14px;
|
||||||
">楼主</span>`
|
">楼主</span>`
|
||||||
let y = ':'
|
let y = ':'
|
||||||
if (window.lz.un === info.un || window.lz.name_show === info.un) {
|
if (window.lz.un === info.un || window.lz.name_show === info.un) {
|
||||||
|
@ -370,15 +371,7 @@
|
||||||
let un = c.href.split('un=')[1];
|
let un = c.href.split('un=')[1];
|
||||||
un = decodeURI(un);
|
un = decodeURI(un);
|
||||||
if (window.lz.un === un || window.lz.name_show === un) {
|
if (window.lz.un === un || window.lz.name_show === un) {
|
||||||
c.outerHTML += ` <span style="text-align: center;
|
c.outerHTML += i
|
||||||
background: #3381e3;
|
|
||||||
color: #fff;
|
|
||||||
padding: 0 4px;
|
|
||||||
margin: 0 4px 0 0;
|
|
||||||
border-radius: 2px;
|
|
||||||
vertical-align: middle;
|
|
||||||
font-size: 14px;
|
|
||||||
">楼主</span>`
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user