Greasy Fork is available in English.

w4tchdoge's AO3 Bookmark Maker

Modified/Forked from "Ellililunch AO3 Bookmark Maker" (https://greasyfork.org/en/scripts/458631). Script is out-of-the-box setup to automatically add title, author, status, summary, and last read date to the description in an "collapsible" section so as to not clutter the bookmark.

< 腳本w4tchdoge's AO3 Bookmark Maker的回應

評論:正評 - 腳本一切正常

§
發表於:2024-05-01

Awesome script :)

I've got only a small grievance. Line 1095 and following (reading out relationship tags): consider using cloneNode() before removing attributes and saving it for the bookmarking. Removing the class "tag" messes with my skin (and maybe others too) :)

Quick fix (through I only tested it once, but it should be straightforward):

var raw_rels_arr = Array.from(document.querySelectorAll(`.relationship.tags ul a`));
var rels_arr = [];
raw_rels_arr.forEach((el) => {
  var clone = el.cloneNode(true);
  clone.removeAttribute(`class`);
  rels_arr.push(`• ${clone.outerHTML}`);
});
w4tchdoge作者
§
發表於:2024-05-12

Awesome script :)

I've got only a small grievance.
Line 1095 and following (reading out relationship tags): consider using cloneNode() before removing attributes and saving it for the bookmarking. Removing the class "tag" messes with my skin (and maybe others too) :)

Hi there! Sorry for the late reply and thanks for letting me know about the incompatibility and the subsequent fix. I've implemented it in v2.6.1 which should be live now.

§
發表於:2024-05-12

<3

發表回覆

登入以回復