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

Commit

Permalink
V20
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python authored Dec 23, 2023
1 parent b954373 commit 761211c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions fav.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
console.log('fav.js >> V2.00.19');
var ver = 'fav.js >> V2.00.20';

function run() {


var videos = [],
infini_detect = 0;
Expand Down Expand Up @@ -48,7 +51,7 @@ function end_scan() {
var mpl = document.createElement("p");
mpl.setAttribute("class", "is-hidden");
mpl.setAttribute("id", "my_playlist");
mpl.innerText = videos.replace(/&list/, "").join(";");
mpl.innerText = videos.join(";").replace(/&list/, "");
body.appendChild(mpl);

var scr_list = [
Expand Down Expand Up @@ -130,8 +133,17 @@ Array.from(scan_buttons).forEach(e => {
}
});

}

console.log(ver);
setTimeout(function() {
console.log(ver);
window.addEventListener('load', function() {
run();
});
}, 1000)

location.reload();



Expand Down

0 comments on commit 761211c

Please sign in to comment.