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.

< Opinie na w4tchdoge's AO3 Bookmark Maker

Ocena: Dobry - skrypt działa

§
Napisano: 01-05-2024

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}`);
});
w4tchdogeAutor
§
Napisano: 12-05-2024

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.

§
Napisano: 12-05-2024

<3

Odpowiedz

Zaloguj się, by odpowiedzieć.