Magic Userscript+ : Show Site All UserJS

Finds available userscripts for the current webpage.

< Rückmeldungen aufMagic Userscript+ : Show Site All UserJS

Rezension: Gut - Skript funktioniert

§
Veröffentlicht: 21.09.2022

宽度出问题的,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%";
}

§
Veröffentlicht: 21.09.2022
Bearbeitet: 21.09.2022

上个版本的(2.3.13)

§
Veröffentlicht: 21.09.2022

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();
}
}
}
上一个方案作废,这个更好些

Antwort schreiben

Anmelden um eine Antwort zu senden.