The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

256

In Firefox or Chrome on Android it's possible to view source by prefixing the URL in the address bar with "view-source:", i.e. "view-source:http://google.com".


17

You are correct. The built-in browser is only updated when a full new ROM is installed. If there is an exploit, the only thing to do is wait for a new version of the OS to be released. Alternatively, you can use a third-party browser such as Opera or Google Chrome. Those are installed as apps and can receive updates independently. As far as I know, there ...


17

In chrome for mobile, you can save the opened web page as a PDF. To do that, you have to install the Google Cloud Print application to do this. Once you have installed it, first open a desired web page in the chrome. Then click on the menu icon and select on Print option. There you can select the Save As PDF option. Select the location and click on the ...


16

You can't change this without root. The system framework is hard-coded to use a specific package for applications that request a WebView component. By default (in AOSP) it uses the value com.android.webview, which is the version that is compiled during the AOSP build process. On devices from manufacturers that modify this component, the package name may ...


15

Press the favicon for the site and a pop-up will allow you to change a few settings for that specific site including removing data like cookies, just did it, Android 6.01, works.


14

Addresses are cached for 600 seconds (10 minutes) by default. Failed lookups are cached for 10 seconds. From everything I've seen, there's nothing built in to flush the cache. This is apparently a reported bug in Android because of the way it stores DNS cache. Clearing the browser cache doesn't touch the DNS, the "hard reset" clears it because it simply ...


14

Using only your Android: Kaspersky's Parental Control software does exactly as the title says. Mind you, it's still in beta, but I did install it and tried it out, and it seems to do it's job of blocking websites as well as applications. By the way, Kaspersky's not the only app out on the store that you can use, but I chose it due to its reputation. It's ...


11

2019 Update: My preferred way to get userscripts on Android would now be to use the Firefox browser, which has working, well-maintained Add-ons available for both Greasemonkey and Tampermonkey (search for them through the Add-ons menu in the Firefox app). Pasting the javascript into the address bar still works (at least on Chrome), but note that Chrome now ...


11

On a typical Linux system the cache is cleared by running /etc/init.d/nscd restart, but at least my ROM doesn't use nscd to cache DNS. You can check if yours does, but I doubt it. I've seen suggestions that clearing the brower cache would clear DNS cache too, but one sure way is to do a hard reboot (shutdown, remove battery for 30s, reattach battery and boot)...


11

It does not, and Flash is also not supported as of now. Information Week reports (and I can personally corroborate): Web apps and extensions, including Adobe Flash Player, are not supported in the initial release of Chrome for Android Beta. Trying to visit the extensions Web Store page on my Xoom results in a page which simply says the following: ...


11

I have a Galaxy S4 and use ConnectBot to connect to my SSH server and setup a port forward via the client to port 8080. Then setup Firefox to use the SOCKS proxy by just going to About:Config and entering the following: network.proxy.socks: 127.0.0.1 network.proxy.socks_port: 8080 (or whatever port you chose to forward in ConnectBot) network.proxy....


10

Try directly this if link is originated from an app for Android to handle: market://details?id=<package_name> Note: There's no domain and host.


10

It turns out you can use Firefox for Android to do this: In the address bar go to about:config and then search for pixels. Select layout.css.devPixelsPerPx and change the value from -1.0 (default) to 1 if you want sites to think the resolution of your browser is the true native resolution of the screen rather than a DPI-adjusted value. If you have a ...


9

Try: Settings → Applications → Manage Applications → Select Browser ("All apps" tab) → Clear Data. This would delete all the data belonging to the app. Quite like a factory reset, but just for that app. Be careful while using this. Make sure you select the correct application (Its called 'Browser' some phones and 'Internet' on some) in the All apps list. ...


9

Summed-up solution from above comments: You can use a filtering proxy like e.g. FilterProxy, which lets you define what URLs should be blocked. To prevent other users from simply disabling the proxy then, you could protect it using an app locker like e.g. App Lock.


9

You can save as PDF on Firefox too. Just go to menu -> page -> Save as PDF


8

If you're running Android 4.0+, just use Google Chrome both on PC and Android, and associate it with the same Google account. This allows you to sync your browsers so that you can see open tabs from both locations on all devices. You can even have multiple PCs/OSs synced, just use the same Google account. "Sign in to Chrome to sync your open tabs, ...


8

The overall outlook is not so great for you, AFAIK. The Market has content filtering, check the Settings in the Market app. For the browser, that's a wholly different kettle of fish. The built-in browser doesn't have any kind of filtering available. 3rd party browsers might, but they'll be trivial to sidestep (by simply opening the built-in browser). ...


8

In the comments, ce4 pointed out what was going wrong. A space gets inserted automatically after each exclamation mark (and probably other sentence limiting characters like full stop, half stop or question mark too), resulting in an invalid password with a space char too much. Whenever I enter an exclamation mark, I also enter the following character, use ...


8

The Custom Tabs help page says: What happens if the user doesn’t have a recent version of Chrome installed? Custom Tabs uses an ACTION_VIEW Intent with key Extras to customize the UI. This means that by default the page willopen in the system browser, or the user's default browser. If the user has Chrome installed and it is the default browser, ...


7

The app mentioned in this answer hasn't been updated since 2009. You might want to try VT View Source.


7

The only way to do this in Android is to do a hard reboot. The necessary command-line tools are not normally available, however in my tests a hard reboot has always done the trick for me (Galaxy Nexus, and HTC Desire, various ROMs). This is a pain, but it is quicker than the 10min cache timeout.


7

There should be a "Downloads" app in your app drawer. Open it to view your downloads. Previous versions of Android (up to Gingerbread, AFAIK, possibly Honeycomb) had a "Downloads" option in the Browser itself under Menu->More->Downloads, but it's possible this no longer exists on ICS. Alternatively, if you have a file manager they should be in /sdcard/...


7

You can't prevent that. If the system (or App) reload the content, this is because it has decided to reload it. There is no option to prevent that. But you can create your own browser that will handle the resume as you want ;)


7

Just found the setting in Chrome. If you go to Settings -> Accessibility and then tick the option "Force enable zoom" then you should be able to zoom in on any site. (I have read a few sites still manage to stop you, but the vast majority should then work).


7

It depends on the pages. If the pages are media-heavy (lots of large images or other media) then yes, the pages load faster since Google scales and recodes the images on the servers before sending them to your device, and optimizes other page content also. However, the device still needs to render the layout of the page, which can be slow on mobile devices. ...


7

ad-type.google.com redirect adware has been most stubborn malware on the internet now. Step 1: Disable JavaScript in all your browsers Step 2: Install Malwarebytes Anti-malware for android This should inhibit the infection. If Problem persists go ahead with next step Step 3: Your router might be infected too. Ask your ISP(internet service provider)...


6

Another tool that is useful for viewing source AND modifying them live, in Firebug/Web Inspector-like manner, is the weinre remote debugger.


6

Synchronizing bookmarks between the Android browser and your Chrome desktop browser is now a built-in feature of Ice Cream Sandwich (Android 4.0).


Only top voted, non community-wiki answers of a minimum length are eligible