Wednesday, February 4, 2015

How to disable redirects from Google Search results to Android apps?


I had the Wikipedia app installed a few weeks ago. It lacked the ability to switch between different languages (link to read the same article in a different language), and it still does. This bothered me a lot since I know more than one language and some articles are much better written in other languages. So I like the ability to easily switch language. This is something that works very good on the mobile versions of Wikipedia (e.g. m.en.wikipedia.org).


Here's a screenshot showing an example.


leibniz


Click on the image for a larger view.


So I uninstalled the Wikipedia app in order to go back to browsing Wikipedia content normally via the Chrome or Firefox Web browser. But now when I do a search with Google, and I see a Wikipedia link in the result, it says "Wikipedia app" underneath it. If I tap on it, it tries to open it in Wikipedia app, and since it is uninstalled now, it brings me to the app page in Play Store.



Is there a way I can disable or disallow this behaviour? I certainly don't approve of it, but I was never asked about it either. I'm not interested in using the Wikipedia app any more. I just want normal Web browsing to be back. Is that too much to ask? I tried re-installing and uninstalling the Wikipedia app two times, it didn't help.





You may have noticed that there is an "Open on wikipedia.org" link further down the page. This will certainly open the article in the browser, instead of insisting on opening in the Wikipedia app. But the problem with this is that it's much harder to pin-point the link, because it has smaller font size.


As for "Default applications" menu option, I don't have any option to disable Wikipedia or wiki links. I only have "Home", and "Message" options.


default applications





The problem is with Chrome


This problem is clearly related to Chrome browser only. Here are two screenshots of Chrome and Firefox respectively, showing the same Google search results.



firefox chrome


Firefox on the left, Chrome on the right.


Firefox (version 32.0.3) clearly doesn't even have the ability to link to the Wikipedia app. Instead, it would show the article as a normal web page. Regardless of whether or not the Wikipedia app is installed or not.


There are no default options


As can be seen from the screenshot above, in first update, the "Default applications" option has no options to set or reset defaults for wiki links (or other types of app links in Chrome). Additionally, there are no default settings that can be reset under Application manager. Not for Chrome, nor for Wikipedia app. It just says "no defaults set".


chromeNoDefaults wikipediaNoDefaults


Chrome on the left, Wikipedia on the right.


Latest Chrome update solves the problem


Chrome version 33.0.1750.517 came with the latest Android 4.4.2 (or a few versions below that, for this phone model anyway). In this version, tapping on a link for a Wikipedia article redirects to the Wikipedia app automatically. If the Wikipedia app is not present, it brings up the app page in Play Store. This behavior can't be change through setting in the Chrome browser or some default settings in the phone menu. However, updating Chrome to the latest version, which at the moment is 37.0.2062.117 does away with this problem. The first noticeable difference is that it presents the "Complete action using" dialog, which was not present with version 33.x.


chrome-33 chrome-37 wikipedia-2.0



Chrome 33 on the left, Chrome 37 in the middle, Wikipedia 2.0-r-2014-08-13 on the right.


The second difference is what's really good! When you uninstall Wikipedia, it no longer shows the "Complete action" dialog. Neither does it bring up the app page in Play Store. Instead, it opens the Wikipedia article like a normal web page. The normal behavior one would expect. Yes, it still says "Wikipedia app" underneath the link, but it opens like a normal web page. The same behavior as seen in Firefox.



Answer



This is in part because the Wikipedia app is set as the default app for Wikipedia links, and in part because Chrome is not up to date.



  1. Go to Settings menu.

  2. Tap "More".

  3. Tap "Application manager".

  4. If the Wikipedia app is installed, go to step 4. Else, go to step 7.

  5. Locate "Wikipedia" and tap on it.


  6. Under "Launch by default", tap the "Clear defaults" button.

  7. Go back to Application manager.

  8. Locate "Chrome" and tap on it.

  9. If Chrome version number is equal or greater than 37.0.2062.117, press the home button to go back to the home screen. Else, go to Play Store, locate "Chrome" and make sure to get the latest update.

  10. Open Chrome. The following steps are optional.

  11. Press the Menu button on the phone.

  12. Tap on "Settings".

  13. Tap on "Content settings".

  14. Tap on "Website settings".

  15. Locate "en.m.wikipedia.org" and tap on it.


  16. Tap "Clear stored data".

  17. Press the home button to go back to the home screen.


These steps apply to Android 4.4.2.


wikipedia-app chrome-website-settings chrome-website-settings


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...