This file contains hidden or 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
// ==UserScript== | |
// @name Card Farmer lel | |
// @version 1 | |
// @include https://mnevnt-prod1.pegacloud.io/* | |
// @grant none | |
// ==/UserScript== | |
checkFrame(); | |
function checkFrame() |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Vite + Lit + TS</title> | |
<script type="module" src="/src/index.ts"></script> | |
</head> | |
<body> | |
<my-context-provider> | |
<my-inner-element>AAA</my-inner-element> |
UPDATED 22.11.2022
It's been two years since the last update, so here's the updated working script as per the comments below.
Thanks to BryanHaley for this.
setInterval(function () {
video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];
video.querySelector('#primary button[aria-label="Action menu"]').click();
OlderNewer