B站消息中心,完全显示自己发布的评论信息。

B站消息中心,完全显示自己发布的评论信息,修复只能看到一部分问题。

// ==UserScript==
// @name          B站消息中心,完全显示自己发布的评论信息。
// @description   B站消息中心,完全显示自己发布的评论信息,修复只能看到一部分问题。
// @version       1.0.0
// @namespace     B站消息中心,完全显示自己发布的评论信息。
// @icon          data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @author        会说话的鱼
// @include       *message.bilibili.com/*
// @require       https://cdn.jsdelivr.net/npm/[email protected]/jquery.min.js
// @run-at        document-start
// @grant         none
// @rewritten_script_code javascript
// @license        GPLv3
// ==/UserScript==

(function () {
	'use strict';
	$(function () {
		init();
	});
})();

function init() {
    var append_html = '<style type="text/css">'+
	'.interaction-item__cover {'+
	' margin-top: 10px;'+
	' position: initial;'+
	' width: auto;'+
	' height: auto;'+
	'}'+
	'.interaction-item__cover div {'+
	' line-height: 24px;'+
	'}'+
	'.b-img__inner img {'+
	' line-height: 24px;'+
	' width: auto;'+
	' height: auto;'+
	'}'+
	'</style>';
	$('body').append(append_html);
}