Large

YouTube Enhancer

By GIJoe Last update Dec 13, 2011 — Installed 1,194,649 times.

Bug - make the script a little more strict

in
Subscribe to Bug - make the script a little more strict 2 posts, 2 voices



fearphage User
OperaWindows

The script runs on this page:

http://is.gd/create.php?longurl=http://www.yout...

Which it shouldn't. Check domains before running the script since the wildcards are so liberal.

 
GIJoe Script's Author
SeamonkeyMacintosh
I wish i could use regex for the domains....
The problem here is that a youtube url is in the arguments of the url

You can add this to stop the script when it's not on youtube by adding in the last version:
if(!check_on_youtube() && !check_on_userscripts()) { return; }
in the USER SETTING part, just before the "const FORCE_LANGUAGE"

On site other than youtube... the script try to find all youtube videos in a page and bind the media controler under each one.
Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel