Questions tagged [javascript]

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

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
23k 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 ...
2
votes
1answer
7k 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
0answers
42 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?
1
vote
0answers
290 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 ...
1
vote
1answer
97 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
181 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 ...
0
votes
0answers
10 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
279 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
0answers
51 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
64 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)...
0
votes
1answer
259 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?