Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

0 votes
0 answers
48 views
How can I circumvent the character limit set by mobile browsers for a JavaScript prompt() input?
I discovered, to my dismay, that mobile browsers seem to have a different character limit than desktop browsers for JavaScript `prompt()` input. How can I work around it to input my long string on mobile? Here's a nice page for testing: https://javascript.info/alert-prompt-confirm#a-simple-page I us...
I discovered, to my dismay, that mobile browsers seem to have a different character limit than desktop browsers for JavaScript prompt() input. How can I work around it to input my long string on mobile? Here's a nice page for testing: https://javascript.info/alert-prompt-confirm#a-simple-page I used printf '%s ' {1..1250} to generate a suitable test string. Please find the resulting 5142-character string below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250
On a Mac desktop's Chrome, the website accepts this input, no problem. On Android, it cuts off the input in the middle of 1222, at 5000 characters, and I'm unable to type more. I've tried Brave, DuckDuckGo, Firefox, Chrome, and Opera. The behavior is the same in all these mobile browsers. Changing to the desktop layout in the browser settings has no effect.
Astaldo (1 rep)
Sep 12, 2025, 03:02 PM • Last activity: Sep 18, 2025, 09:36 AM
2 votes
1 answers
16301 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 there's some html tag in the page I was added to detect this: /* my Javascripts */ The current browse...
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 there's some html tag in the page I was added to detect this: /* my Javascripts */ The current browser can't run Javascript. which displays on the page: "The current browser can't run Javascript." So how can I enable Javascript in HTML Viewer? Both Opera and Browser are somehow can't found out the file when I typed in the address textbox: file://localhost/sdcard/page.htm The problem exist on almost any phone. But the later just works on some of my phone. Another not.
tvc (121 rep)
Dec 3, 2013, 01:19 PM • Last activity: Jun 17, 2025, 10:06 PM
1 votes
0 answers
88 views
How can I view webpages in "text-only" mode while also using JavaScript?
In an effort to reduce my data consumption, I want to view webpages, specifically webpages with logins and forms, in text-only mode. These pages usually require JavaScript, it seems. I want very basic text-only mode. The browser "low-data/no images" options don't quite cut it for my goal of stretchi...
In an effort to reduce my data consumption, I want to view webpages, specifically webpages with logins and forms, in text-only mode. These pages usually require JavaScript, it seems. I want very basic text-only mode. The browser "low-data/no images" options don't quite cut it for my goal of stretching 500MB over a month with frequent use. Right now, I am using a mix of DuckDuckGo Lite, Textise, and Lynx in Termux for Android to bring my data consumption down to a minimum, but this doesn't work with websites that require JavaScript. Does anyone know how I can accomplish having JavaScript enabled while still using very little bandwidth?
MonkeyNoodles (51 rep)
Mar 28, 2025, 10:46 PM • Last activity: Mar 30, 2025, 05:47 AM
11 votes
3 answers
27492 views
How to display JavaScript console on Chrome (or a different browser)?
I want to quickly try some JavaScript code on an Android phone. I cannot find how to open the console or something similar on either Chrome or the default browser. `about:debug` doesn't do anything, and I don't want "remote debugging". I can download another app if necessary (but I don't want to roo...
I want to quickly try some JavaScript code on an Android phone. I cannot find how to open the console or something similar on either Chrome or the default browser. about:debug doesn't do anything, and I don't want "remote debugging". I can download another app if necessary (but I don't want to root my device).
Karel Bílek (485 rep)
Feb 10, 2016, 08:49 AM • Last activity: Feb 14, 2025, 05:09 PM
1 votes
2 answers
508 views
undeletable "permanent File" Android 11 phone
I have this file: /storage/emulated/0/Tones/test1/test2/test3/test4/brooke-shields,-a�os-80.jpg Cannot delete. I get a response when I try to delete using several different file managers. My phone is unrooted. Tried through javascript, termux, iShredder, and others. Have tried to understand the blac...
I have this file: /storage/emulated/0/Tones/test1/test2/test3/test4/brooke-shields,-a�os-80.jpg Cannot delete. I get a response when I try to delete using several different file managers. My phone is unrooted. Tried through javascript, termux, iShredder, and others. Have tried to understand the black diamond with the question mark, but unclear what it truly is. Am a real novice, so have patience. Any suggestions on how to delete this file.
Jimmy B (11 rep)
Dec 5, 2023, 09:50 PM • Last activity: Dec 6, 2023, 03:36 PM
4 votes
0 answers
296 views
Tasker Scene WebView JavaScript Interaction
Is it possible to call a Javascript function that exists within a WebView from Tasker? I tried calling a URL on the WebView of "javascript:FUNCTION_NAME()", but that did not seem to work. This is a completely random example. Lets say, from Tasker, that I want to be able to change the background colo...
Is it possible to call a Javascript function that exists within a WebView from Tasker? I tried calling a URL on the WebView of "javascript:FUNCTION_NAME()", but that did not seem to work. This is a completely random example. Lets say, from Tasker, that I want to be able to change the background color of the body of the WebView. In the webview, I have the code function ChangeBGColor(NewColor) { document.body.style.backgroundColor=NewColor; } I want to be able to call ChangeBGColor() from Tasker with a color.
Dakusan (141 rep)
Dec 16, 2022, 12:53 AM • Last activity: Dec 16, 2022, 07:01 AM
28 votes
5 answers
73255 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][1] 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 question may be related to [this other one][2] I submitted but I believe they may have totally different...
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 question may be related to this other one I submitted but I believe they may have totally different answers.
Matt (19401 rep)
Sep 16, 2010, 11:44 AM • Last activity: Oct 8, 2022, 11:59 AM
0 votes
1 answers
144 views
Tasker JavaScriptlet prepending "undefined" in String
I maintain shows, and films from several platforms within an OrgMode File. Now the string you get when sharing from netflix has unnecessary information.[![Netflix Shared Link in Orgzly][1]][1] I get rid of that with Tasker and a Java Scriptlet. ``` var endName = astext.search(" auf Netflix gesehen?"...
I maintain shows, and films from several platforms within an OrgMode File. Now the string you get when sharing from netflix has unnecessary information.Netflix Shared Link in Orgzly I get rid of that with Tasker and a Java Scriptlet.
var endName = astext.search(" auf Netflix gesehen?") -1;
var text = astext.slice(15,endName);
endName = endName+24;
var replacer = astext.slice(0,endName);
var link = String(astext.replace(replacer));
With
as input source from AutoShare Netflix Toast Interception. So far so good, but as I have actually never used JavaScript before I get to a problem I don't really understand. Infront of my string stored in
there is "undefinded" prepended. I don't really know if I mess up JavaScript syntax or if there is something special with the interpreter Tasker is using. undefined String prepended This also happens if I instead of "resharing" the link simply print it out via
Task in Tasker
Tietan (1 rep)
Jan 27, 2022, 08:42 PM • Last activity: Jan 28, 2022, 08:09 AM
1 votes
1 answers
462 views
How To Autofill Custom Forms?
I have a webapp I frequently use, which have such kind of forms: ``` ``` What I want to do is to be able to autofill those fields with specified values (e.g.: urname=kristian, secretid=abcdefghijkl, otherfield=000111222333444555666777888999). Currently I do it by opening "note" app then copy-pasting...
I have a webapp I frequently use, which have such kind of forms:
What I want to do is to be able to autofill those fields with specified values (e.g.: urname=kristian, secretid=abcdefghijkl, otherfield=000111222333444555666777888999). Currently I do it by opening "note" app then copy-pasting its content each time, which can get tedious since it's quite long and I have to go back and forth 3 times. Also, the content of the autofill input is not exactly a secret. Is there a way to do it? I found a question with similar problem on Super User: [Autofill web forms](https://superuser.com/questions/1242775/autofill-web-forms) (but instead of Chrome on PC I want to do it in Chrome in Android). The comments seems to recommend a Cchrome extension that can inject JavaScript into the page. I don't mind that, I can write JS, but I don't think Chrome extensions are available on Android. EDIT: I found here that I can execute bookmarked JS via chrome without extensions here: https://android.stackexchange.com/questions/159308/how-can-a-bookmarklet-be-added-on-mobile-chrome-without-copying-and-pasting/210701 So I made a bookmark with such content:
javascript:(function(){ document.querySelector(#urname).value=kristian; document.querySelector(#secretid).value=abcdefghijkl ; document.querySelector(#otherfield).value=000111222333444555666777888999 ; })()
Which if it gets prettified/formatted it will looks like:
javascript:(function(){
  document.querySelector(#urname).value=kristian;
  document.querySelector(#secretid).value=abcdefghijkl ;
  document.querySelector(#otherfield).value=000111222333444555666777888999 ; 
})()
But I still have problem: the page seems to use some kind of data binding (e.g.: react two-way binding). So when the value got changed via JS, when I click on the element it goes back to its old (empty) value. Now, how should I circumvent it?
Kristian (111 rep)
Oct 8, 2021, 04:27 PM • Last activity: Oct 8, 2021, 05:56 PM
1 votes
1 answers
2155 views
How do I disable Javascript in the stable version of Firefox in Android?
Sometimes I need to disable Javascript on some webpages for various reasons. From [a rather old post on Mozilla Support][1] and some other sources, I learned that it is done through ```about:config```. However, from the answer on [this question][2] on SE Android, I learned that ```about:config``` is...
Sometimes I need to disable Javascript on some webpages for various reasons. From a rather old post on Mozilla Support and some other sources, I learned that it is done through
:config
. However, from the answer on this question on SE Android, I learned that
:config
is no longer accessible on the stable version of Firefox for Android. So I am back to the square 1, how do I disable Javascript in Firefox on Android? I have the following constraints in roughly the order of decreasing concern. Please keep these constraints in consideration while answering the question, but I am still welcome to learn about solutions that violate some of these constraints. 1. I do not want to use nightly or beta versions. They might have security vulnerabilities or unexpected behavior. 2. I do not want to change any Firefox configuration files on the file system, unless from within Firefox. I don't know much about Android application and I am afraid I might break something while messing with files. 3. I do not want to install any add-on on Firefox unless it is opensource or is widely known to be trustworthy.
paki eng (233 rep)
Jun 2, 2021, 02:21 PM • Last activity: Jun 2, 2021, 11:31 PM
0 votes
0 answers
201 views
Can applications access users information without having ( camera , microphone or etc) permissions?
I recently became very suspicious of apps.  And a few questions have occupied my mind, please help me 1. Is there any way that an application can access the camera without having the camera permission in the settings? (Android 9 and above) 2. Can an app use intent to use the camera without the...
I recently became very suspicious of apps.  And a few questions have occupied my mind, please help me 1. Is there any way that an application can access the camera without having the camera permission in the settings? (Android 9 and above) 2. Can an app use intent to use the camera without the user's knowledge? (And take photos and videos of the user?)
undertaker
Feb 9, 2021, 09:04 PM • Last activity: Feb 9, 2021, 09:45 PM
22 votes
4 answers
15364 views
How can a bookmarklet be ADDED on mobile Chrome without copying and pasting?
On my Android phone, how can a user add a [bookmarklet][1] to my Chrome bookmarks, *without needing to use another device, and without copying and pasting?* I have a bookmarklet on my website that I want *other people* to add to their bookmarks, so I'm looking for a straightforward method. Bookmarkl...
On my Android phone, how can a user add a bookmarklet to my Chrome bookmarks, *without needing to use another device, and without copying and pasting?* I have a bookmarklet on my website that I want *other people* to add to their bookmarks, so I'm looking for a straightforward method. Bookmarklets are bookmarks, but of which contain Javascript code instead of a regular web link. Bookmarklets can be added to Chrome on the PC very easily in many ways. - However, on Android, if the bookmarklet is displayed as a link on a page, it cannot be "dragged to the bookmark bar" as with a PC. - If I try to open it in a new tab, the address bar will not contain the Javascript, so the user can't use the bookmark button. - Tapping the link to the bookmarklet will not put the code in the address bar either. - The only way I've been able to add a bookmarklet on my phone has been to tap and hold on the link, then tap "Copy link address", then edit a *pre-existing* bookmark's link and pasting in the bookmarklet code, then renaming said bookmark. But that's a pain, and trying to explain it to non tech savy folks isn't happening. Is there a more simple method? Note that I have a particular bookmarklet that even when added on my PC, does NOT sync to my Phone's bookmarks. I believe it may be due to the length (It's over 9000 characters!). This is why I need an easy method for users to save this bookmarklet.
Bort (997 rep)
Oct 5, 2016, 11:42 AM • Last activity: Jan 5, 2021, 12:52 PM
0 votes
0 answers
110 views
Changing third-party websites on android device without browser extensions available
I'm searching a way on how to change behavior of some website in mobile browser. For example: * Remove annoing Ad (specific one) * Change some elements on a website, to make it easier to read on small screen (change some css) * Make site measure how much time I've spent on it, and "block" me from us...
I'm searching a way on how to change behavior of some website in mobile browser. For example: * Remove annoing Ad (specific one) * Change some elements on a website, to make it easier to read on small screen (change some css) * Make site measure how much time I've spent on it, and "block" me from using it more time per day than I've configured. On desktop browser I'm usually solving this tasks by using extensions like TamperMonkey/GreasyMonkey (which allows me to add custom JavaScript code to page and do what I want on the page), StayFocusd (to limit distractions) and so on. But most of mobile browsers doesn't have extensions (and it's understandable because they often writen poorly and could eat too much CPU on not-so-powerfull device). To be honest, Firefox for Android has addons but there are very few. Just adblocking, privacy and some bugfixing extensions. No TamperMonkey/GreasyMonkey analog. Also, I know, that UCBrowser has it's extension store, but my Chineese is bad, and the store is all on Chinesse :) **I came to the folowing idea:** 1. Setup my own DNS server and configure my Android to use it (now it's possible without root) 2. Setup my own squid proxy server 3. Create self-signed SSL-certificate and add it to my Android's certificates storage. 4. For sites where I want to make some augmentations, my DNS should give IP-address of my squid-proxy (which is using my self-signed cert or generating cerificated for needed sites, signed by my self-created authority certificate) 5. The proxy should be loading the real site, and patch it's html files, adding my JavaScript file into it. 6. So I would be able to change parts of the sites, removing ads, measure time spend and so on. Everything is possible! I have knowledge and skills to make all of the described steps (or it seems so), **BUT!** I don't have enough free time. I want to know, maybe there are something like this implemented in a single service? Or maybe you could direct me to some easier solution of the problem?
MihanEntalpo (101 rep)
Mar 31, 2020, 07:44 AM
1 votes
1 answers
2751 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, [![enter image description here][1]][1] This allow user to load unsafe script. However, the above option is not coming or not available when i open th...
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, enter image description here This allow user to load unsafe script. However, the above option is not coming or not available when i open the same page in Android phone's chrome browser. My chrome app version is 71.0.3578.99 Any idea how to get above pop-up in android chrome to allow user to load unsafe scripts?
AADAndroidEnthusiasts (2365 rep)
Mar 14, 2019, 12:12 PM • Last activity: Oct 17, 2019, 12:02 PM
1 votes
0 answers
85 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](https://www.youtube.com/watch?v=iq6Xiums05o&t=04m04s)). If it's possible, can it be done also via JavaScript?
Can I connect an external flashlight to an Android smartphone and control it? I've seen it done on an iPhone ([YouTube video](https://www.youtube.com/watch?v=iq6Xiums05o&t=04m04s)) . If it's possible, can it be done also via JavaScript?
OMGsh (121 rep)
Jul 19, 2019, 05:25 PM • Last activity: Jul 19, 2019, 08:03 PM
8 votes
5 answers
4892 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?
Can I make these work on Android or is there a google place to create or convert bookmarklets to make them Android Compatible?
Matt (19401 rep)
Sep 16, 2010, 11:40 AM • Last activity: May 4, 2019, 11:35 AM
0 votes
1 answers
690 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).Then,I tried opening the file directly from the file manager,but it only loaded html but not javasc...
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).Then,I tried opening the file directly from the file manager,but it only loaded html but not javascript. Afterthat ,I pasted the file path > content://com.mi.android.globalFileexplorer.myprovider/external_files/... in the browser but even in this case only html was recognised but not javascript.However as seen from this forum thread here ,this solution has worked on other phones. Is there any way to detect javascript in MIUI10 OS?
srt111 (113 rep)
Jan 14, 2019, 12:36 PM • Last activity: Jan 15, 2019, 07:43 AM
1 votes
0 answers
938 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 with today's date. To do so, I can pass a query string to the URL, that will end up looking like: https...
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 with today's date. To do so, I can pass a query string to the URL, that will end up looking like: https://docs.google.com/forms/d/e//viewform?entry.=YYYY-MM-DD Since today's date is not the same as tomorrow's (yay!), this URL needs to be updated every day with a different YYYY-MM-DD. I followed this post and has been able to create a bookmark with a dynamic URL using JavaScript, on Chrome Desktop: [How to create a dynamic bookmark with today’s date in the URL](https://trendblog.net/how-to-create-a-dynamic-bookmark-with-todays-date-in-the-url/) , but I would also like to have it on my phone. I came across [this answer](https://android.stackexchange.com/a/156135/269083) , where it shows how to use JavaScript to change the current page. However, when applied to my case, it will compute the date before creating the URL, so this URL is not dynamic. Is there a _"native"_ way to achieve this? My other option for the moment would be having a local HTML page that redirects to the form.
anonom (11 rep)
Jul 18, 2018, 03:47 AM
-1 votes
1 answers
458 views
Sound from browsers with javascript buggy on HTC Desire?
I'm trying to stream music from [The Hype Machine][1] 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 I arrive at the site again Only then the music will start playing. If I activate the key lock or ta...
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 I arrive at the site again Only then the music will start playing. If I activate the key lock or take the focus away in any other way, the sound will stop. When using Opera Mobile I can't seem to get the sound to work at all. Looking at the site's source the streaming is done with Javascript (mootools). On my desktop I don't get any javascript errors and the site works perfectly fine. Can anybody tell me why I have to jump through such hoops with the stock browser to get the sound going, how I can have the browser keep playing in the background or with the key lock on or why the sound doesn't seem to work in the otherwise nice Opera Mobile?
Boris Callens (121 rep)
Jan 19, 2011, 11:43 PM • Last activity: Dec 9, 2017, 12:24 PM
-2 votes
1 answers
5555 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 phone. I own an HTC desire 620g.Unsure if that was necessary though
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 phone. I own an HTC desire 620g.Unsure if that was necessary though
yasaaMoin (1 rep)
Mar 23, 2016, 12:27 PM • Last activity: Jul 26, 2017, 11:20 PM
Showing page 1 of 20 total questions