Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 2.49 KB

README.md

File metadata and controls

60 lines (39 loc) · 2.49 KB

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.