Magic Userscript+ : Show Site All UserJS

Finds available userscripts for the current webpage.

< Magic Userscript+ : Show Site All UserJS 피드백으로 돌아가기

리뷰: 좋음 - 스크립트가 잘 작동함

§
게시: 2022-09-21

宽度出问题的,ctrl+f查找setSize(w,h)把里面的代码替换成这个就能用了
setSize(w, h) {
qs('#jae_userscript_box > .jae-userscript', doc.body).setAttribute('style', `width: ${w}px;height: ${h}px;`);
let r = qs('#jae_userscript_box > .jae-userscript', doc.body);
let dom = r.children[0];
let c = dom.contentDocument ?? dom.contentWindow.document;
c.body.querySelector("#app").style.width = "100%";
}

§
게시: 2022-09-21
수정: 2022-09-21

上个版本的(2.3.13)

§
게시: 2022-09-21

render() {
if (!this.isQuiet) {
if (this.getCountData(this.host)) {
$("body").append(this.tplBox);
iframe.write();
this.execFrameJs(jaeFetchUserJSFrame.window);
let r = qs('#jae_userscript_box > .jae-userscript', doc.body);
let dom = r.children[0];
let c = dom.contentDocument ?? dom.contentWindow.document;
c.body.querySelector("#app").style.width = "100%";
this.bindEvent();
}
}
}
上一个方案作废,这个更好些

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元