Created
February 29, 2024 16:02
-
-
Save babico/41d23f93289c7223ab26771cc4393367 to your computer and use it in GitHub Desktop.
tutorial -> https://youtu.be/hk1Zac53M04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function x() { | |
let items = $(".grid-item.col-md-3.col-sm-4.fade-watched-on"); | |
console.log("xd", items.length); | |
$.each(items, function(index, item) { | |
if ( | |
(items.length - 1) == index | |
|| | |
parseInt(document.querySelectorAll("div.interactions > a > span")[0].innerText.replace(",", "")) <= 60 | |
) { | |
console.log("xd", 3); | |
return false; | |
} | |
historyRemove($(this).closest('.grid-item'), parseInt(item.attributes["data-history-id"].value)); | |
}); | |
} | |
x(); | |
setTimeout(() => { console.log("xd", 1); }, 3000); | |
window. Refresh(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment