A blog about how-to, internet, social-networks, windows, linux, blogging, tips and tricks.
29 December 2016
YouTube Notifications in the Navigation Bar
YouTube has recently started to experiment with replacing Google+ notifications in the navigation bar with YouTube notifications. You get notifications for recently uploaded videos from your subscribed channels, but only if you've enabled notifications for those channels. For example, you can go to the subscription manager and click the bell icon next to a channel to enable or disable notifications.
The settings button sends you to the Notifications section from YouTube's Settings page and the 3-dot icon next to each notification lets you turn off notifications from the corresponding channel.
If you don't like this experiment, you can always clear cookies for youtube.com in your browser's settings and opt out.
Google's New Mobile UI for Recipe Search
Just in time for New Year's dinner, Google has a new mobile interface for recipe search. I searched for [avocado mayo] and noticed a long list of related searches below the search box and ads: salad, egg salad, chicken, avocado salad and more. You can select more than one related search and this helps you refine the results.
When selecting a related search, you get a completely different interface that only shows recipes: bigger expandable cards, bigger thumbnails, infinite scrolling.
16 December 2016
How to Add a Picture Password to your Google Forms
Google Forms have this “all-or-none” problem. The forms are either public (anyone can fill your form) or, if you are on Google Apps, you can create forms that are visible to everyone in your organization. It is however not possible to restrict access to forms to specific people.
Another shortcoming is that Google Forms do not allow passwords or CAPTCHAs to prevent spam bots from filling your forms with random data. Google itself maintains the reCAPTCHA project but it is not known if integration with Google Forms is in the works. There is a workaround, though.
Google Forms with Picture Passwords
Google Forms do not support CAPTCHA but they do offer an option to attach images with questions. These can be used as picture passwords.
The idea is simple.
We add a multiple-choice question where the user is asked to pick an image from a selection of multiple images. If they select the correct image, the main form is displayed else an error message is shown. Also, these images are shuffled so the answer’s position is random for each respondent.
How to Make Google Forms with Picture Passwords
Take this sample Google Form for a spin and you’ll get the idea.
Open a new Google Form and create 3 sections. The first section will have the picture password, the second section will contain the error message and the last one will have the actual questions that you want to ask users who have passed the anti-spam test.
In the first section, create a multiple choice question and attach a different image with every choice. Make this a required question and turn on the shuffle order for the question. Also turn on the option “Go to section based on answer” for the section so that only valid answers are taken to the main form.
For each choice that is not valid, choose “Go to section 2” (see screenshot) and choose “Go to section 3” for the right choice. In section 2, do not add any questions but for the error message in the section description. Also set “Go to section 1” after section 2 so that the user cannot go to the main section 3 without passing the picture test.
Make the Google Form live and respondents will only see the main questionnaire if they have solved the problem in section 1. You should also check out another technique for restricting access to Google Forms with passwords.
Related: File Upload Forms for Google Drive
The story, How to Add a Picture Password to your Google Forms, was originally published at Digital Inspiration by Amit Agarwal on 15/12/2016 under Google Forms, Internet.
15 December 2016
How to Generate a Report of Bounced Email Addresses in Gmail
Some of the email messages you have sent through Gmail might not get delivered at all. There could be a problem with the recipient’s email address, their mailbox could be full or maybe the mail server could be specifically blocking your emails due to the content of the message.
When an email message is returned, you get a bounce-back notice from MAILER-DAEMON@gmail.com and it will always contain the exact reason for the delivery failure along with the SMTP error code. For instance, an error code 550 indicates that the email address doesn’t exist while a 554 indicates that your email was classified as spam by the recipient’s mail server.
How to Get a List of Email Addresses that Bounced
It is important to keep track of your bounced messages and remove all undelivered email addresses from your future mailings as they may adversly affect your sending reputation.
Mail Merge keeps track of all your bounced messages in Gmail but if you are using mail merge yet, here’s an open-source Google Script that will prepare a list of all email addresses that have bounced inside a Google Spreadsheet.
Gmail Bounce Report – Getting Started
Here’s how you can get started:
- Go to labnol.org/bounce to make a copy of the Google Spreadsheet.
- Click the Gmail menu (adjacent to Help) and choose Bounce Report.
- Allow the Google Script to access* your Gmail account.
- Watch as the Google Sheet is populated with bounced addresses.
The email bounce report includes the email address that bounced, the reason why that email failed to deliver and the date when the bounce occurred. The spreadsheet will also have a direct link to the bounced message received from MAILER-DAEMON@google.com.
The story, How to Generate a Report of Bounced Email Addresses in Gmail, was originally published at Digital Inspiration by Amit Agarwal on 14/12/2016 under GMail, Internet.
13 December 2016
An Undocumented Gmail Trick – Search Emails by Date and Time
Gmail supports a plethora of search operators to help you instantly find that elusive email message buried in your mailbox. You have size search – like larger_than:5mb – to find the big messages in your account. File search – like has:attachment filename:doc – will locate email messages that contain file attachments of specific types. This graphic illustrates all the known search operators that work both on Gmail and Google Inbox.
Date Search in Gmail
Date search in Gmail helps you locate emails sent or received in a specific period. Here are some examples:
- newer_than:7d from:me – Emails sent in the last 7 days
- after:2016/12/01 to:me – Emails received in the month of December 2016
Specify Time Modifiers in Gmail Search
Gmail also supports time-based searches allowing you to find emails in the specific hour, minute or second. For instance, you can limit your Gmail search to emails that were received between Dec 10 8:15 PM and Dec 10, 2016 8:45 PM.
To get started, convert the date and time to Epoch time and then use the timestamp with the standard after or before search operator of Gmail.
For instance, the Epoch time for Dec 10, 2016 8:15 PM is 1481381100 and the Epoch time for Dec 10, 2016 8:45 PM is 1481382900. Use the search query after:1481381100 before:1481382900 and you’ll get a list of all emails received during that 30-minute period.
Epoch time is the number of seconds that have elapsed since January 1, 1970 (UTC). Use the Epoch converter to represent a human readable date and time in Epoch and use that timestamp with the before or after search operator of Gmail to find that elusive email.
The story, An Undocumented Gmail Trick – Search Emails by Date and Time, was originally published at Digital Inspiration by Amit Agarwal on 13/12/2016 under GMail, Internet.
How to Receive Notifications for Google Forms on your Mobile Phone
The Email Notifications add-on for Google Forms will send you the form data in an email message each time a respondent submits your form. You can use the same add-on to also send automated emails to the form respondents immediately after they complete your Google Form.
The popular Google Forms add-on has been updated and it can now send push notifications to your mobile devices as well. That means when respondents complete and submit your online form, you’ll get an instant real-time notification (sample) on your iPhone or Android phone. The notification text can also include answers from the Google Form.
A fast response time is a key to success, especially in areas like customer service and closing sales leads, and mobile notifications will ensure that your important form entries are never lost in the daily deluge of emails.
Setup Mobile Notifications for Google Forms
It takes a few easy steps (video tutorial) to get up and running.
- Install Email Notifications for Google Forms from the Google Add-on store.
- Install the IFTTT mobile app on your Android or iOS device.
Next, we need to create a connection between our Google Form and the IFTTT app so that mobile notifications are triggered on the mobile phone immediately after the form is submitted.
1. Configure IFTTT
Open ifttt.com on your desktop and create a new applet. Choose the Maker service for if-this condition and set the Event name as the name of your Google Form. For if-this-then-that action, choose Notifications as the service and set the text as . Click Finish to make your IFTTT applet live.
2. Configure Google Forms
Open any Google Form, go to the Addons menu, choose Email Notifications and then select Mobile Notifications. Enter the Event name, the IFTTT key and the notification text. You can put any in the text and these will be replaced with actual values filled by the user.
That’s it. Click the Test button to test the connection between the form and your mobile phone. If it works, click Save to enable mobile notifications.
If you have multiple Google Forms, you need to create separate IFTTT applets for each form and the event name should be unique for each applet.
Internally, when someone submits your form, the Google Addon triggers and sends a web request to the IFTTT service which in turn pushes the notification to your mobile device.
Troubleshooting Mobile Notifications
- Ensure that your mobile is connected to the Internet.
- The event name in the applet should match the event name in the form configuration.
- You are logged into the IFTTT app on your mobile phone.
- Check the activity log to ensure that notifications are getting sent.
- If you are still facing any issue, contact support.
The story, How to Receive Notifications for Google Forms on your Mobile Phone, was originally published at Digital Inspiration by Amit Agarwal on 13/12/2016 under Android, Google Forms, IPhone, Internet.
09 December 2016
Google Translate's 5000 Character Limit
For some reason, Google Translate now has a limit of 5000 characters per translation. There's even a character counter at the bottom of the input box. If you happen to paste a long text that has more than 5000 characters, you'll get an error message ("maximum characters exceeded: X characters over 5000 maximum") and a "translate more" option that lets you translate the rest of the text.
I don't understand the purpose of this restriction, considering that Google doesn't impose any limitation when translating web pages. It's worth pointing out that Google Translate's API has a similar limitation: "the maximum size of each text to be translated is 5000 characters, not including any HTML tags". Google's translation card from Google Search has a different limit: about 2800 characters.
08 December 2016
Google Tests Movie Ratings
Google's knowledge graph card tests a feature that lets you like or dislike movies and TV shows. For example, when you search for "It's a Wonderful Life", you can click like or dislike and check the percentage of Google users who liked it.
The same buttons show up when you search for a TV show like "Saturday Night Live".
Search Engine Land reports that Google confirmed this experiment, which was first spotted last month.
06 December 2016
Google's Holiday Decorations
When you search Google for [Christmas], [Hanukkah], [Kwanzaa], [Festivus] or other related queries, you'll see some special decorations related to each holiday. Festivus is "a holiday celebrated by those seeking an alternative to the commercialism and pressures of the Christmas holiday season."
Christmas trees, Santa Claus, the Christmas star adorn the Google search page and bring the hoiday spirit.
The Hanukkah menorah and Kwanzaa's Mishumaa Saba (The Seven Candles) are lighting up Google's search pages.
Here are the decorations from 2015, 2014, 2013, 2012 and 2011.
New Interface for Google Search
Google's desktop search pages have a new interface for navigating between search results. The search box is bigger, there's a new search icon and Google now only shows 2 or 3 specialized search engines next to "all", down from 4. Apps and shopping seem to be missing from the list of search engines, so you can only pick from image search, video search, Google News, Google Maps, Google Flights and Google Books.
The settings dropdown is now placed below the search box and it includes the option that lets you hide private results. You can still change search settings, languages, turn on or turn off SafeSearch, use advanced search options, open Web History or go to the help center.
Search tools are now simply called tools and they include the same options: search by date and verbatim.
Image search lets you quickly go to the saved images page and change SafeSearch setting.
Google Shopping is broken. While the homepage still loads, when you click a product image or search for something, Google shows an empty page.
Here's the old Google Search interface, via Wikipedia:
16 November 2016
Make a Bookmark to Quickly Restart Google Chrome
Google Chrome, most would agree, is a memory hog. Open a few website tabs in Chrome and your system slows down to a crawl. The most recommended solution is that you uninstall the non-essential Chrome add-ons and restart your browser to release some RAM.
How do you restart Chrome? Close the browser and double-click the application icon on the desktop to launch it again. That’s the usual way but Chrome also offers a special URL that makes it easy to restart Chrome from the address bar.
Go to the browser address bar, type chrome://restart and hit the Enter key. Voila! The browser restarts itself.
Make a Chrome Restart Bookmark
If you restart Chrome frequently, it may be a good idea to create a bookmark that will help you restart with a click. Here’s how.
Press Ctrl+D (Windows) or Cmd+D (Mac) to bookmark this page in your browser. Now click the Edit button on the bookmark screen, put chrome://restart in the URL input field and click save to create the restart bookmark.
That’s it. Type chrome://chrome-urls in your browser address bar to see other internal pages of Chrome that can be accessed via special URLs.
The story, Make a Bookmark to Quickly Restart Google Chrome, was originally published at Digital Inspiration by Amit Agarwal on 16/11/2016 under Google Chrome, Internet.
How to Make Someone Else’s YouTube Playlist Your Own
Millions of YouTube users are working diligently to organize this ever-growing database of videos into playlists that make the YouTube experience even more enjoyable.
Looking for inspiring Steve Jobs speeches on YouTube? Classic nursery rhymes for kids? Popular music videos of Adele? Well, chances are that some YouTube user may have already curated the best videos for a topic into playlists that you can watch on any device with a click. You can even download YouTube playlists on your Android or iPhone for offline viewing.
Meet YouTube Copier, a web app that lets you copy YouTube Playlists of another user to your own account. https://t.co/T295US6vJ8 http://pic.twitter.com/a2CEtD7RH1
— Amit Agarwal (@labnol) November 16, 2016
Save Playlists vs Copy Playlists
When you open any video playlist on YouTube, you have the option to save that playlist. This is like creating a bookmark that you can revisit later to watch that playlist again. However, it is a read-only playlist and you have absolutely no control over the content of that playlist.
Also, like everything else on the web, your saved YouTube playlists may disappear without warning. This can happen if the playlist creator deletes the playlist or if their YouTube account is suspended for, say, copyright infringement. When the YouTube account is gone, the user’s playlists are removed too.
The solution is simple. If you would like to save a YouTube playlist permanently, you should clone that playlist into your own YouTube account. You’ll become the owner of the copied playlist and thus, if the original disappears, you aren’t affected.
How to Copy YouTube Playlists of Another User
Introducing YouTube Copier, a web app that lets you easily copy any public video playlist to your own YouTube account.
To get started, sign-in with your YouTube account and allow the app to access your Youtube account. Now enter the YouTube playlist URL (like this one) and choose the privacy of your new playlist – it can be either public (visible to all), private (only visible to you) or unlisted (visible to people who know the link). That’s it.
Click the “Copy Playlist” button and a copy should be ready in your YouTube channel within a minute. Also, you can copy playlists of any size – they can have 20 video or 800 – the tool will copy them all.
How to Merge Multiple YouTube Playlists
The YouTube Copier offers another handy feature – you can input any video playlist (it could be yours or someone else’s) and merge it with an existing playlist in your YouTube account. So if you have discovered 3 different playlists of your favorite music, you can save them all in a single playlist rather than having to create multiple playlists.
The tool uses the official YouTube API and the source code is available on ctrlq.org. Download the YouTube video to get started.
The story, How to Make Someone Else’s YouTube Playlist Your Own, was originally published at Digital Inspiration by Amit Agarwal on 15/11/2016 under YouTube, Internet.
26 October 2016
How to Embed Images from Google Photos into your Website
Google Photos is the best service for backing up your digital photos to the cloud. They have no storage restrictions, your can upload images as well as videos, and visual search helps you find photos by people or things in them. There’s one feature though that’s still missing in Google Photos.
You can easily share your photos with anyone using a simple link but Google Photos offers no option for you to embed an existing image into a website. That is, if you have already uploaded an image onto Google Photos, you can’t directly embed it into your website through Google Photos.
I wrote an app to help you embed #GooglePhotos in your website https://t.co/cDt4NorvWi http://pic.twitter.com/mq7J4h4qzj
— Amit Agarwal (@labnol) October 25, 2016
Google Photos as an Image Host
Embed Google Photos is a new web app that, as the name suggests, makes it extremely easy for you to pick any image hosted on Google Photos and place it on a web page using simple HTML code.
Here’re the steps involved:
- Go to photos.google.com and open any image that you wish to embed in your website.
- Tap the Share Icon (video tutorial) and then choose Get Link to generate a shareable link for that image.
- Go to http://j.mp/EmbedGooglePhotos, paste that link and it will instantly generate the embed code for that picture.
Open your website template, paste the generated code and save (see sample). The image will now serve directly from your Google Photos account. This technique can also be used for embedding images in HTML Mail without having to use an external image hosting service.
Embed Google Photos – How it works?
When you share a single photo via a link inside Google Photos, it creates an unlisted link that is accessible to anyone including those who are not logged into their Google Accounts. Internally, the app downloads the page behind this link and extracts the Open Graph tags to determine the direct link of the image and the underlying photo album.
Also see: Google Photos – The Good Parts
The embed app only works for single images and not albums. One more thing. I am not aware of any bandwidth limitations for images shared via Google Photos. If have a very popular site, this may not be the way to go.
The story, How to Embed Images from Google Photos into your Website, was originally published at Digital Inspiration by Amit Agarwal on 25/10/2016 under Embed, Image, Internet.
18 October 2016
How to Capture Screenshots in Google Chrome without using Extensions
There are umpteen ways to capture screenshots of web pages in your Google Chrome browser. You can use the good-old Print Screen key (or Cmd+Shift+4 on a Mac), get a snapshot utility like SnagIt or the Windows Snipping Tool, or even better, get a dedicated Google Chrome extension like Smartshot that lets you capture the screen and annotate it.
What some may not know is that the newer versions of Google Chrome have a built-in screenshot capabilities allowing to perform screen captures without install any extensions. The more interesting part is that you can even add device frames to your captured images for more realistic mobile screenshots.
Did you know you can take screenshots of web pages inside Google Chrome without any extension. https://t.co/jR2O8JMXJv http://pic.twitter.com/UqEM7O96lU
— Amit Agarwal (@labnol) October 18, 2016
How to Screen Capture in Google Chrome
To get started, open any web page inside Google Chrome and choose Settings -> Tools -> Developer Tools. Alternatively, press F12 on Windows or Cmd+Opt+I on a Mac to directly open the Chrome Dev Tools window.
Next, toggle the Device Toolbar button so that it turns blue. Now select any mobile device from the built-in list of device presets. Set the zoom to 100% and click the Rotate icon to change the orientation (default is portrait mode).
The stage is set. Click the 3-dot menu in the right and enable device frame. Next, choose Capture Screenshot from the same menu to save a device screenshot in PNG format.
Capture Screenshots in Firefox
You can capture screenshots of web pages in Firefox as well without installing any add-ons. Unlike Chrome which can only capture visible region, Firefox developer tools can take a snapshot of the entire web page and automatically saves it in your default downloads folder.
Open Web Developer tools inside Firefox and, under Settings, enable the option – Take a screenshot of the entire page. Firefox will add a camera icon to the developer toolbar letting you capture screenshots with one-click.
The story, How to Capture Screenshots in Google Chrome without using Extensions, was originally published at Digital Inspiration by Amit Agarwal on 18/10/2016 under Google Chrome, Screen Capture, Internet.