
Screenshot of the Gmail Write New Mail Bookmark
Here’s a great way to make a Email Link bookmark in Gmail in Google Chrome so it takes you straight to “Compose Mail”.
Someone has posted a bookmarklet to email links with your default mail program, but for those who use Gmail as webmail, this will work.
Make a new bookmark and make the name Email with Gmail or whatever you want, and the URL
Code:javascript:document.location='https://mail.google.com/mail/?ui=1&view=cm&fs=1&su='+document.title+'&body='+document.location;If you want a pop-up bookmarklet, use the following URL
Code:That currently opens a new tab. I’m working on getting the pop-out effect that Gmail has.
Unfortunately, middle-clicking the first one does not work, because when it opens it in a new tab, it is reading the URL and title from that new tab instead of the original one you wanted to to link to. I may work on a solution to this in the future.Oddly this makes the text box in Gmail not the width of the screen. I’m not sure why that is, but it works just fine- just looks a little funny. If anyone can offer any wisdom to this, I would appreciate it.
via chromespot
Tags:163, amp, bookmarklet, code javascript, default mail program, document location, document title, email, gmail, google, Google Chrome Hacks, hack, link bookmark, new mail, screenshot, url code, wisdom
(Making a new bookmarklet for Youtube FLV download on Google Chrome Browser)
Well, here’s another cool hack that all you YouTubers might enjoy as you can download the actual YouTube videos with a little effort. This hack probably works for Firefox and other browsers too because it’s a simple Javascript bookmarklet.
Here’s how to do it, copy the following code and make a bookmarklet, you should see “Download FLV” as shown below:
javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + swfArgs['video_id']+ "&l=" + swfArgs['l'] + "&sk=" + swfArgs['sk'] + '&fmt_map' + swfArgs['fmt_map'] + '&t=' + swfArgs['t'];
At the bottom of above Chrome browser window, you will see that the video is being downloaded after I press on the bookmarklet.
Here’s the code for downloading high-resolution MP4:
javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + swfArgs['video_id']+ "&fmt=18" + "&l=" + swfArgs['l'] + "&sk=" + swfArgs['sk'] + '&fmt_map' + swfArgs['fmt_map'] + '&t=' + swfArgs['t'];
via googlechromeboard
Tags:amp, bookmarklet, cool hack, firefox, flv download, fmt, google, Google Chrome Hacks, high resolution, map, sk, video id, youtube videos