Skip to content

Commit

Permalink
fix: DA: artist on illust page
Browse files Browse the repository at this point in the history
  • Loading branch information
7nik committed Jan 29, 2024
1 parent 083e7b0 commit cae1383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translate-pixiv-tags.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3592,7 +3592,7 @@ function initializeDeviantArt () {
// https://www.deviantart.com/koyorin/art/Ruby-570526828
findAndTranslate("artist", "a.user-link", {
toProfileUrl: (a) => /** @type {HTMLAnchorElement} */(a).href.replace("/gallery", ""),
predicate: "div[data-hook='deviation_meta'] a.user-link:not(:has(img))",
predicate: "main>*>:nth-child(3) :nth-child(2) > a.user-link:not(:has(img))",
requiredAttributes: "href",
tagPosition: TAG_POSITIONS.afterParent,
asyncMode: true,
Expand Down

0 comments on commit cae1383

Please sign in to comment.