Skip to content

Commit

Permalink
not sure how Array.from(set) can get overriden from furaffinity.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchivingToolsForWBM committed Mar 11, 2024
1 parent a62dffa commit 9f5f5ca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@
}
let UniqueListOfURLs = new Set(StorageSaved_ExtractLinks.ListOfURLs) //Get a set, to remove dupes
UniqueListOfURLs.add(CorrectedURL) //Add only new items in the set
StorageSaved_ExtractLinks.ListOfURLs = Array.from(UniqueListOfURLs) //And place it back
//StorageSaved_ExtractLinks.ListOfURLs = Array.from(UniqueListOfURLs) //And place it back
StorageSaved_ExtractLinks.ListOfURLs = [...UniqueListOfURLs]
}
function addEventListenersToPages(Input_Window) {
//This adds even listeners to each window when the main window is first loaded, then if there are subwindow, do this recursively on each.
Expand Down

0 comments on commit 9f5f5ca

Please sign in to comment.