Skip to content

Commit

Permalink
修正 download 失效問題
Browse files Browse the repository at this point in the history
  • Loading branch information
joe committed May 5, 2023
1 parent 14176fd commit 5715a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function restoreMenuItemTabindex() {

function downloadHtml() {
const container =
document.querySelector("main")?.children[0].children[0].children[0];
document.querySelector("main")?.querySelector('.overflow-hidden').children[0].children[0];
const clonedContainer = container.cloneNode(true);
const avatarList = clonedContainer.querySelectorAll("img.rounded-sm");
const buttons = clonedContainer.querySelectorAll("button");
Expand Down

0 comments on commit 5715a9a

Please sign in to comment.