Translate Ideas and Comments
Choose language:
There was an error during translation

Settings and activity

  1. 300 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    35 comments  ·  Video Features » VODs (past broadcasts)  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    EternityPotato commented  · 

    I ended up just writing a simple bookmarklet for this. Keep in mind this was made for use in chrome, and I really just winged it. It just waits for the amount of time you set in minute, and then simulates a click on the twitch player, which pauses it. Your mileage may vary, but works for me. Obviously the twitch tab will also have to be in the foreground. To use it, just save the following as a bookmark, with the code being the URL, and the name being whatever. Then when you click that bookmark on the twitch page, it'll pop up a dialogue for the time and a confirmation box after.

    javascript: var minutes = prompt("Enter number of minutes until pause (decimals are okay as well)"); setTimeout(function() { document.querySelector("#root > div > div.Layout-sc-nxg1ff-0.qViOJ > div.Layout-sc-nxg1ff-0.kXaHWh > main > div.root-scrollable.scrollable-area.scrollable-area--suppress-scroll-x > div.simplebar-scroll-content > div > div > div.InjectLayout-sc-588ddc-0.persistent-player > div > div.Layout-sc-nxg1ff-0.video-player > div > div > div > div > div.InjectLayout-sc-588ddc-0.click-handler.gkrBD").click(); }, (minutes * 60000)); alert("Timer set for " + Math.trunc(minutes/60) + ((Math.trunc(minutes/60)==1) ? " hour" : " hours") + " and " + (minutes % 60) + ((minutes % 60==1) ? " minute" : " minutes"));

    EternityPotato supported this idea  · 
  2. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Video Performance » Bugs  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    EternityPotato shared this idea  ·