parent
7315cb14e2
commit
72891579c0
|
@ -1,8 +1,8 @@
|
|||
javascript: (() => {
|
||||
const getClassAndSkip = (name) => {
|
||||
let skip = document.getElementsByClassName(name).shift();
|
||||
let skip = document.getElementsByClassName(name)[0];
|
||||
if (skip) {
|
||||
skip.children.shift().click();
|
||||
skip.children[0].click();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -11,5 +11,5 @@ javascript: (() => {
|
|||
getClassAndSkip("skip-credits");
|
||||
// paramount plus
|
||||
getClassAndSkip("skip-button");
|
||||
}, 1e3);
|
||||
}, 60000);
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue