Questions tagged [javascript]

For questions regarding the use and support of JavaScript in Android browsers.

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

Can I connect an external flashlight to an Android smartphone and control it?

Can I connect an external flashlight to an Android smartphone and control it? I've seen it done on an iPhone (YouTube video). If it's possible, can it be done also via JavaScript?
0
votes
0answers
8 views

How to run macro-like code on spreadsheets in android?

I have a javascript code in google-scripts for a google sheet. It is basically a database search and report-maker. I had originally written it in VBA with buttons but converted it into Javascript with ...
0
votes
0answers
114 views

Ctrl+Mouse Drag on Chrome for Android

My work requires me to use an Android mobile phone to surf a web-based image (SVG) viewer. However, the image viewer requires me to press and hold the Ctrl and drag ny the left mouse key through the ...
0
votes
1answer
484 views

Allow android chrome to load unsafe scripts

When any site has mixed content (HTTPS + HTTP), and when you try to open HTTP content, on Desktop chrome, it shows a "shield" icon like screen below, This allow user to load unsafe script. However, ...
0
votes
0answers
49 views

Why browsers don't accept per site JavaScript settings anymore?

Before, I could block JavaScript on Chrome for Android for a specific site. I could let JavaScript enabled as a general setting, and add an exception for a site that annoyed me with it's JavaScript. ...
0
votes
1answer
31 views

Javascript not loading in browser(Miui10 Global8.9.6 beta_Redmi note4)

I had written a custom HTML/javascript application and wanted to run it in a android browser on my Redmi Note4. Firstly I activated javascript in all the browsers (MIUI default browser,chrome,firefox)...
1
vote
0answers
235 views

How to “Add to Home screen” a shorcut with a dynamic URL?

I have a Google Form that I use for daily tracking and I would like to have a shortcut to this form on my home screen. One field of this form is for the date and I would like to have it pre-filled ...
2
votes
1answer
442 views

JavaScript doesn't work on Chrome 58 on Android in offline mode

I have a single-HTML web page with embedded <script> tags. When I view the offline version of this page in Chrome 58 on Android, JavaScript event handlers are not executed. (When I connect to ...
8
votes
2answers
1k views

How can a bookmarklet be ADDED on mobile Chrome?

On my Android phone, how can a user add a bookmarklet to my Chrome bookmarks, without needing to use another device? I have a bookmarklet on my website that I want other people to add to their ...
0
votes
1answer
251 views

Accessing environment sensor data from a web page (HTML/JS/PHP)

Is it possible to fetch the temperature info on the device from a web page using html/javascript/php? Or would an app be required to do this?
-2
votes
1answer
4k views

How to enable cookies and JavaScript on an android phone?

While trying to login my Hackerearth account it put up a disclaimer that my cookies are disabled.Plus many times,many web pages tell me the same thing,and yeah,also ask me to enable JavaScript on my ...
5
votes
0answers
21k views

How to display javascript console on Chrome (or a different browser)?

I want to quickly try some Javascript code on Android phone. I cannot find how to open console or something similar on either Chrome or default browser. about:debug doesn't do anything, and I don't ...
1
vote
1answer
996 views

Can I make a web site continue running when in standby?

I am developing a simple web application which will be used for tracking GPS position. The general idea is that every couple of minutes it'll send the GPS location back to a server with an AJAX ...
1
vote
1answer
92 views

D3 barchart on Firefox Android 4.4.2

It seems I that I can't load this d3 barchart on an android phone (android version 4.4.2) and on Firefox browser. Firefox on Android has javascript enabled (checked from about:config) and also the ...
1
vote
0answers
180 views

Trigger Mousewheel in Android Chrome without mouse

Is there any way to trigger the mousewheel javascript event without actually attaching a mouse? I'm asking as a user.
1
vote
0answers
87 views

Chrome JavaScript stops - reloading tab fixes it

On my Samsung Galaxy Note II, when I visit StackOverflow it occasionally doesn't highlight interesting questions (which is done after the page has loaded). I believe this is a Chrome issue, where ...
2
votes
2answers
32k views

Enable autoplay HTML5 video in chrome

In my project I need to autoplay a HTML5 video in the browser when the page is loaded. I have tried a several javascript solutions but none of them work. I read that the android browser blocks ...
2
votes
1answer
6k views

HTML Viewer seems not running the website's Javascripts

I have an offline saved htm web page on sdcard to test Javascript. The default render on my phone seems to be HTML Viewer. But when I tried to open the page, the code didn't run. I know this because ...
1
vote
1answer
453 views

Sunspider : performance of 3rd party apps relative to stock browser

Hi my aim is to get an idea of the slowdown 3rd party apps face on android, relative to the stock browser, on the SunSpider JavaScript benchmarks. In this post I would like to focus on Twitter since ...
2
votes
1answer
300 views

Are JS apps effectively running through 2 VM's?

When using Google Chrome mobile (or any other android web browser) is the Javascript VM running on top of the Java VM? Or is the JS code compiled to Java bytecode? I ask this because JS seems to run ...
2
votes
1answer
799 views

Disallow JavaScript Setting

I know I could disable JavaScript in most Browsers. Is one able to disable it for WebViews also? I mean every App could specify its own WebView and is able to turn JavaScript on/off inside their app ...
4
votes
2answers
1k views

How to turn on load external Javascript on the Galaxy Nexus?

I just got my Galaxy Nexus and was browsing Stack Exchange (in both mobile and full theme) and got the following warning. As a result things like voting, the dropdown and such don't work. I never had ...
3
votes
2answers
2k views

How do I save `javascript:` URLs in Android's browser?

I've tried tap & hold, like regular URLs, but the menu never pops up. Is there a way to enable that or do I just have to copy and paste the URL into a bookmark (like this)? Here's the page I was ...
-1
votes
1answer
448 views

Sound from browsers with javascript buggy on HTC Desire?

I'm trying to stream music from The Hype Machine on my HTC Desire. When using the HTC Sense stock browser I can press play, go to menu → ... → settings → site specific settings → back out until l ...
22
votes
4answers
44k views

Is there a way to use Userscripts / Greasemonkey Scripts on the Android Browser or Dolphin HD?

I would like to be able to use userscripts in Android. Is this even possible? I read that it was a couple months back and tried a tutorial which I can no longer find but it didn't work. This ...
6
votes
5answers
4k views

Is there a way to use PC browser bookmarklets with the Android Browser or Dolphin HD?

Can I make these work on Android or is there a google place to create or convert bookmarklets to make them Android Compatible?