Last active
September 27, 2025 19:18
-
-
Save p3g4asus/7e19e58067081800e223f663a22b4bc6 to your computer and use it in GitHub Desktop.
Auto click watch live when accessing paramount plus live stream
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 Paramount plus Auto Watch Live | |
| // @namespace https://github.com/p3g4asus | |
| // @version 1.1 | |
| // @description Start whatching paramount live channel automatically | |
| // @author p3g4asus | |
| // @match https://www.paramountplus.com/live-tv/stream/* | |
| // @icon https://commons.wikimedia.org/wiki/File:Paramount_Plus.svg | |
| // @homepageURL https://gist.github.com/p3g4asus/7e19e58067081800e223f663a22b4bc6 | |
| // @updateURL https://gist.github.com/p3g4asus/7e19e58067081800e223f663a22b4bc6/raw/paramount_live_autowatch.js | |
| // @downloadURL https://gist.github.com/p3g4asus/7e19e58067081800e223f663a22b4bc6/raw/paramount_live_autowatch.js | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| setTimeout(() => { | |
| let col = document.getElementsByClassName("ppp-watch"); | |
| console.log('col '+ col); | |
| if (col && col.length) { | |
| console.log('Clicking'); | |
| col[0].click(); | |
| } | |
| }, 5000); | |
| // Your code here... | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment