Question

Read a piece on how to "Keep YouTube Videos Large with this Bookmarklet"

And I used this script:

javascript:void(document.<wbr>cookie="wide=1;expires=Wed, 12 Feb 2015 12:23:45 GMT")

to create a bookmarklet:

So the bookmarklet looks like this:

I got to YouTube, pick a random video and click the bookmarklet in the bookmarks toolbar but it has no effect on the video player.

Firefox version 27.0.1

Does this even work? And if it does, what am I doing wrong?

Was it helpful?

Solution

The original code has an error. Must remove the <wbr>.

Also, this is probably better:

document.cookie='wide=1;expires='+(new Date((new Date()).getTime()+365*24*60*60*1000)).toUTCString()+'; path=/; domain=.youtube.com'
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top