Friday 19 May 2017

Add Search Shortcuts on your Android or iPhone

How do you search a popular website, say Twitter or YouTube, on your mobile phone? You would launch the browser, open the corresponding website and then use the search box inside that site. Or you would use the mobile app, if you have installed one.

There’s an alternate way as well. You may consider installing search shortcuts on the home screen of your mobile phone and they will help you perform searches on your favorite website with fewer steps.


Let’s dive right into an example.

Open the Safari browser on your iPhone (or iPad) and click here to open the search shortcut for Wolfram Alpha. A pop-up dialog will open but since we are installing the shortcut, hit the Cancel button to close that dialog. Now tap the Share icon in Safari and choose “Add to Home Screen” to add that search shortcut to your home screen.

The next time you want to search Wolfram on your phone, tap the Wolfram shortcut available on your home screen, enter the search terms and it will take you directly to the search results on the Wolfram website. That’s just one tap.

You can similarly add search shortcuts on your Android device using the newer version of Chrome browser. Open any of the search shortcuts listed below, “cancel” the pop-up dialog and then choose the “Add to homescreen” option under the main menu to place a shortcut on your homescreen for quick access.

SEARCH SHORTCUTS FOR ANDROID AND IOS

Here are some ready-to-install search shortcuts for some popular websites that you may add to the homescreen of your Android or iOS device.











WRITE YOUR OWN SEARCH SHORTCUTS

A search shortcut is essentially a little piece of JavaScript, much like a bookmarklet, that accepts input through a pop-up dialog and redirects the user to the search results page.

Writing one is easy. For instance, here’s the code for the Google I’m Feeling Lucky shortcut that automatically transports you to the first search result (useful when you don’t remember the exact URL of a site).

<!-- Page Title -->
<title>Feeling Lucky</title>

<!-- Touch Icon - This will show up on the home screen -->
<link rel="apple-touch-icon" href="lucky.png" />

<script>
    var u = "http://www.google.com/";
    <!-- Show the input dialog -->
    var q = window.prompt('What are you looking for?','');
    if(q) {
        /* If the user has entered input, redirect to search results */
        u = u + "/search?&btnI=I%27m+Feeling+Lucky&q=" + escape(q);
        window.location.href = u;
    } else {
        /* If the user hits cancel, show helper text and do nothing */
        document.write("Add me to your home screen");
    }
</script>
All you need to know is the URL of the search results page and use it in line #13.

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Labels

404 AdBlock Add-on Airtel GPRS Trick Airtel SMS Trick Alexa Amazon Amazon Kindle Amazon Prime Android Android 8 Android Oreo antivirus Apple Apple Mac ASCII Audacity Audio Authotkey Backup Balance Transfer in Vodafone Battery Bing Blogger Blogging Bookmarklet Browser Camera Chromebook clock Cloud colors command lines Computer Computer Tricks configuration Contact Creative Commons Credit Card CSS devolop DIY Doodle DOS Download Dropbox E-Mail eBook Email Email Attachment Embed Encryption English Error Evernote Eyes Facebook Facebook Tricks Feedburner Flipkart Font Foursquare Free Internet Free sms trick in Vodafone G Mail Gadget Game Getty Images GIF Gists Github Google Google AdSense Google Analytics Google Apps Google Chrome Google Contacts Google Currents Google DNS Google Docs Google Drive Google Earth Google Font Google Forms Google Images Google Map Google Photos Google Play Store Google Plus Google Print Google Reader Google Script Google Sheets Google Spreadsheet Google Translate GPRS Setting GPS Hacking Health App HelloFax Hindi Hoodie HTML Icons idea Image Editing Images IMEI Indian Railways Infographics Instagram Internet Internet Explorer Internet Tricks iOS iPad iPhone IRCTC iTunes iTV JavaScript JioCinema JioTV Junglee Kindle Language Translation Laptop Laptop. TV Life Time FREE GPRS Life-Style Link Linkedln Linux logo Make Money Online Microdoft Powerpoint Microdoft Word Microsoft Office Microsoft Outlook Mobile Mosaic Music Name Networking nexus Notepad OCR Online Shopping Open DNS OS Outlook Password PDF Petya Phillips Hue Lights Photogtraphy Pixel Play Station Podcasts Pokemon Pokemon Go Polls Print Productivity Proxy Server Pushbullet QR Code Ransomware Reddit Reliance Hack GPRS Reliance Jio RGB Ringtone Router RSS Safe Mode Samsung Galaxy S Scrabble Screen Capture Screen Sharing Screencast Secrets Security Send free sms from PC SEO Sierra Skype Slideshare SMBv1 SMS Snapchat Snapdeal Social Media Solution Sound Device Speech Recognition Sql Steam Sync Synology NAS Tata Docomo GPRS trick Teleprompter Torrent Trick Tricks TV Twitter UltraISO Unicode Unknown Extension Unlimited 2GB Unlimited 3GB Unlimited GPRS USB USB Security Key Video Editing virtual desktop Virus attack VLC Vodafone 110% working trick for GPRS Vodafone 3g Vodafone GPRS VPN wallpapers WannaCry Web Design Web Domain Website Wget Whatsapp WiFi Wikipedia Windows Windows 10 Windows 10 S Windows KN Windows Tricks windows updates Winows N Wolfarm Alpha WordPress XBox YouTube Zip
Twitter Delicious Facebook Digg Stumbleupon Favorites More