Skip to content

mechalynx/yt-url-at-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yt-url-at-time

Install from OpenUserJS

Get timestamped URLs for YouTube videos easily.

Installation

This is a userscript so you need a browser extension that can run them:

Then you need to get the userscript itself. At the moment, it is hosted at OpenUserJS. Alternatively, it can be found on Greasy Fork.

Usage

Clicking the current time on YouTube's video player will modify the URL, adding a timestamp hash to it:

Click on the current time

begets:

Timestamped URL

By using:

  • Alt + click: you get a precise timestamp, including fractional seconds
  • Ctrl + click: the final URL is copied to the clipboard

These keys can be combined, so Alt + Ctrl + click will copy a precisely timestamped URL to your system clipboard.

Alternatively, you can use the keyboard shortcuts:

  • Alt + ` : adds a regular timestamp to the URL
  • Alt + ` ` : adds a precise timestamp to the URL (note: that's two consecutive backticks, without releasing Alt!)
  • Alt + q + ` : adds a timestamp and copies the result to clipboard - works with both single and double backticks

Currently the hotkeys are not configurable. Firefox captures the Alt key, so if you use precise timestamps through the hotkeys, it'll be stuck on precise timestamps even on the single backtick. Just tap Alt twice and it'll fix itself.

In case of trouble

Report bugs in the issue tracker of this repository. Comments in other locations are likely to be missed.

Releases

No releases published

Packages

No packages published