Add title

By bob2005euro Last update Jun 27, 2008 — Installed 114 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0
Script Summary:
Add title and any watch-vid-title to top of page
Version: 0.0.1

This script has no discussions.

start the discussion

This script has no reviews.

This is an attempt to track down why YouTube Downloader from
http://userscripts.org/scripts/show/29184 does not work on Firefox.

I suspect the problem is it tries to access global variable swfArgs, which is Ok in Opera, but for security Greasemonkey hides all document variables from the script.

I am looking at using unsafeWindow as a workaround. This version logs all the global variables in the current web document.

CHANGELOG
=========
Version 0.0.1
- Works on Opera 9.27 build 8841 Win32 Windows Vista on uk.youtube.com and other sites
- Works on http://www.w3schools.com/js/tryit.asp?filename=...
- Works as a greasemonkey script installed on Firefox
Version 0.0.2
- test document.getElementById("watch-this-vid")
- Works on Opera 9.27 build 8841 Win32 Windows Vista on uk.youtube.com and other sites
- Works on http://www.w3schools.com/js/tryit.asp?filename=...
Version 0.0.3
- replaced with YouTube Downloader source inside a function wrapper.
- Note youtube pages define the variable swfArgs
- works on Opera
- works partly on http://www.w3schools.com/js/tryit.asp (after part-faking a youtube DOM)