Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
SCAN+
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python authored Dec 21, 2023
1 parent 271a01d commit 95f8dd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fav.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ function scan_vids() {
var scan_buttons = document.getElementsByClassName("yt-spec-button-shape-next yt-spec-button-shape-next--filled yt-spec-button-shape-next--overlay yt-spec-button-shape-next--size-m yt-spec-button-shape-next--icon-leading");
Array.from(scan_buttons).forEach(e => {
e.removeAttribute("href"), e.innerHTML = "Scanner la playlist", e.onclick = function () {
e.setAttribute("disabled", ""), scan_vids()
e.setAttribute("disabled", "");
e.innerHTML = "Scan en cours...";
scan_vids();
}
});

Expand Down

0 comments on commit 95f8dd4

Please sign in to comment.