Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

How to retrieve data from browser tabs?

  • 3 réponses
  • 2 ont ce problème
  • 1 vue
  • Dernière réponse par NoahSUMO

more options

Hello

I'm trying to extract data from the Firefox browser by dragging tabs into a Windows/Mac/Linux application. Specifically, I was hoping to grab HTML medadata and current video time (eg 1:23 of 5:00) of YouTube pages for off-browser bookmark storage and reactivation.

I could not find online help or documentation covering this issue. Any suggestions?

Thanks

Hello I'm trying to extract data from the Firefox browser by dragging tabs into a Windows/Mac/Linux application. Specifically, I was hoping to grab HTML medadata and current video time (eg 1:23 of 5:00) of YouTube pages for off-browser bookmark storage and reactivation. I could not find online help or documentation covering this issue. Any suggestions? Thanks

Solution choisie

It's a extra command added to the end of the Youtube url. You have to add &t=*m*s to the end of the url. Where the asterisks are, you replace them with numbers. For example: http://www.youtube.com/watch?v=Zb7gTeLmpHs&t=3m24s

The m is for minutes and s for seconds.

You can also find this information by loading a Youtube video, dragging the time slider to the time you want, pause the video, then right-click on the video and choose:
"Copy video URL at current time".

Lire cette réponse dans son contexte 👍 2

Toutes les réponses (3)

more options

Dragging a tab tears it out of its current window to a new window, so that isn't going to work.

If you drag the favicon (site identity icon) from the urlbar, you get the URL and page title, and the receiving application decides what to do with it. I don't think any page content is provided to the receiving application.

Perhaps you should consider creating an add-on or userscript to extract the information you want and load it on the clipboard, or export it to some kind of storage? I'm not sure you can get information from the Flash player plugin, if the page is using it. (For that matter, I don't know whether you can get the current video time from the native HTML5 video player, either.)

more options

Okay, well in the past I've bookmarked a Youtube page mid-video, and upon re-opening the bookmark I'm brought to the exact same frame in the video.

Do you understand why that would be?

more options

Solution choisie

It's a extra command added to the end of the Youtube url. You have to add &t=*m*s to the end of the url. Where the asterisks are, you replace them with numbers. For example: http://www.youtube.com/watch?v=Zb7gTeLmpHs&t=3m24s

The m is for minutes and s for seconds.

You can also find this information by loading a Youtube video, dragging the time slider to the time you want, pause the video, then right-click on the video and choose:
"Copy video URL at current time".