[Q] Activate javascript in IE10 mobile? - Windows Phone 8 Q&A, Help & Troubleshooting

Nokia Lumia 920
I am having a problem with a mobile version of one website on my Windows Phone: The home page loads and displays correctly, but when you touch a link, a "server or DNS cannot be found" - error is shown. However, after hitting "refresh", the page addressed by the link is displayed fine. This is very annoying, so I reported that behavior to the web master of the site.
The suggested solutions that came in response were two:
- allow cookies all the time (I changed that setting, but it did not fix the issue)
- make sure that java scripting is enabled in the Internet Explorer
While in the regular version of IE you can adjust this setting easily through the respective menu, I couldn't find any option in the Windows Phone system or in the options of IE mobile to adjust java scripting.
Questions:
1. Can these settings be changed at all?
2. What are the java script settings in IE mobile by default?
Many thanks
Joerg

First of all, "JavaScript" - one word - is the language commonly used in websites. Java (which is not scripted, although in old versions it was interpreted much the way scripts are) is occasionally also used on the web, but very rarely.
Windows Phone supports JavaScript, and this support cannot be turned off in the browser to the best of my knowledge. Apps can turn it off within their internal WebView controls, but in IE it is always on.
Possibly a silly suggestion, but have you tried rebooting the phone? After that, my next suggestion would be trying the mobile site in IE10 on the desktop, probably using the Developer Tools to spoof the WP8 IE10 user agent string.

GoodDayToDie said:
First of all, "JavaScript" - one word - is the language commonly used in websites. Java (which is not scripted, although in old versions it was interpreted much the way scripts are) is occasionally also used on the web, but very rarely.
Windows Phone supports JavaScript, and this support cannot be turned off in the browser to the best of my knowledge. Apps can turn it off within their internal WebView controls, but in IE it is always on.
Possibly a silly suggestion, but have you tried rebooting the phone? After that, my next suggestion would be trying the mobile site in IE10 on the desktop, probably using the Developer Tools to spoof the WP8 IE10 user agent string.
Click to expand...
Click to collapse
Yes, I tried rebooting - to no avail. Opening the site in IE10 on the desktop does not work, because it automatically detects the browser and switches to the regular (instead of the mobile) site.
Meanwhile, I have encountered the same issue with more mobile sites: clicking on links causes an error. This error does not occurr when you open the site e.g. in Safari on an Ipad.

... probably using the Developer Tools to spoof the WP8 IE10 user agent string
Click to expand...
Click to collapse
I take it you're not overly familiar with how web browsers (and servers) work. I can try figuring out what the problem is if you let us know what the problematic site is, though.

Hello guys ... I dont know if this is the place to post my problem but its the only one that is close to what I have as an issue... So .. I have a problem with some active buttons in some sites, when I log in the site there are little active buttons on the top of the page ( account, community, forum, etc. ) so when I try to click on those buttons the phone ( lumia 920 ) just selects the text and gives me the option to copy it. I have few android devices and there is no such issue with them, I dont know if this is connected with the java script or flash or what ever ... I just need some help if there is a fix for this. THX in advance and have a happy new year :good::good::good:

If possible, tap off the text but still on the button (zoom in if you need to). You could also try tapping more quickly, or alternatively tap-and-hold and see if it offers you the context menu for links.

Related

Two Things...Both longshots

1) Can someone produce some Javascript which adds xda-developer's search engine to Firefox's pull down list of search engines.
Javascript gurus, go here for help
http://66.102.9.104/search?q=cache:...fox&hl=en&gl=uk&ct=clnk&cd=9&client=firefox-a
2) Is there any proxy server software for PocketPC...It'd be great to be able to view barred websites on my work PC and impress my work mates...NO! I don't mean Porno :lol: and no I cannot use my phone as a GPRS modem because of the severe user profile restrictions my work are running in Windows XP.
Thanks...By the way, the phone is a Universal.
Search plugin
Here's a firefox search plugin I knocked up. I don't really use firefox so no use to me!
Note: due to the fact that xda forums uses "post" instead of "get" form submission, and firefox search plugins don't currently support "post" it defaults to only returning results in "post" form, not "topic", PITA and not my limitation, but the browser's. There may be a way around it, but it's also a PITA
Unzip the attached files and drop into your firefox \searchplugins\ subfolder.
V
You're a legend vijay...Nice one :mrgreen:
Now can anyone help with the proxy server software.....I would like to get a proxy server running off my Universal.

Opera on AT&T Fuze

Hi All,
I was told by an AT&T guy that you could change the opera config file to make opera on the Fuze act a fully functional browser. The problem I am having is the opera will take to me to the mobile version of websites and I don't want that. I have tried changing the user agent to 2 and 3, but that didn't correct the problem. Does anyone know what has to be changed to make this work?
thanks
billf.
A couple of other things to do in the opera:config page. First, you want to change the "Custom User-Agent" in "user prefs" to "Mozilla/4.0(compatible; MSIE 6.0; Windows NT 6.0;en)" (although I've also heard that just deleting that string works, too, but I haven't tried it).
The other thing is to delete the HTTP and HTTPS server names in the "Proxy" section.
These changes will get you to the normal version of most sites (although there are some sites that still redirect to wap/mobile versions -- I don't use any of these on a regular basis, but nba.com is one such).
You can upgrade to build 2745
http://forum.xda-developers.com/showthread.php?t=442252&highlight=opera+2745&page=15
I followed all of the tips and some of the sites still wouldn't go, no matter what changes I made. I followed owziee's directions in the link above exactly and upgraded to the 2745 build that herg posted in that same thread. Works perfectly and I can now go to desktop sites. You do have to make the additional changes, can't just run the cab or it doesn't fit vga and zoom properly, but with my low to intermediate skills it wasn't a problem to do.
I can't stand this Opera Mobile. Web pages are constantly changing size on my, and I can't zoom in or out. Is there any way to change the default browser to IE? IE works much better for me.
i didnt like opera at first but its actually way better then PIE. go to the opera settings and there is a button that says "mobile view" uncheck it and all websites are not in mobile view.
also. im sure u know. but for zooming u can run your finger in a circle clockwise or counterclockwise on the button to make it zoom in or out...or u can double tap the touch screen for it to zoom in.
all you gotta do is add to the end of your web address is "index.html". ex. espn.com/index.html
Works perfectly
You have to disable your proxy for your data connection or it will go to the mobile version as well. That is in connection settings. Uncheck the box that says this connection uses a proxy. I was getting all mobile sites until I did that.
waste of time
screw all that programming - just install skyfire and set it as your default browser through itself and if that doesnt work, install total commander and change the internet file - google it and you'll find simple instructions
Hi,
Here's the link to the Opera Mobile thread; have a look at the last 25 or so posts in the thread.
http://forum.xda-developers.com/showthread.php?t=486502
In a nutshell, stock ROM's receive many post-configuration changes via .PROVXML; this means that the experience of applications are changed by the carrier to suit their requirements.
There are a few adjustments that are required in order to achive the experience you're after ... the link will help you achieve your desired configuration and saves me repeating all the same info here.

A few questions

This post contains a few questions I have after a week or so using my Touch Diamond, about issues I've not seen mentioned on this or other boards.
1) When I hold phone then speak to phone a contact, it repeats the contacts name (ie plays the sample of my voice it used to identify the contact). Can I turn that playback off?
2) Sometimes holding the bottom right key (end call) does nothing, or just moves the touchflo 3d selection to the right, instead of locking the phone. It seems to do this more often if I've been using the phone to surf etc, and less if I've just used it for a few seconds, as if it's busy (although it's responsive in every other respect)
3) In the messaging app, under the top line of text, I can choose between:
Gmail
Outlook E-mail
SMS \ MMS
I'd like to remove the Outlook line - I never use it - it's just Gmail or text messages for me. Can I do this?
4) When I use Fring to do Instant Messaging (which doesn't seem to pick up on all my contacts for some reason - any idea why?) it will enable and use Wifi, even if it was turned off. But if I load Opera it'll not re-enable Wifi but will simply use my phone provider (ie 3G, GPRS etc). Is there any way of getting Opera (or any app, if that's easier) to enable Wifi when loaded. I want to use it for speed, and to reduce my data usage via my phone provider, but I don't want to pay the price in battery life.
5) Has anyone had any success in using their Touch Diamond to connect to a network (Ubuntu, using Samba, or Windows - I'm not bothered which)? Surely it should be possible?
6) Can I make Opera and not Internet Explorer the default app for .html files and links in emails/text messages?
7) Has anyone had any luck getting java applets working from web pages in Opera (or Internet Explorer, as a last resort)? I can get regular midlets working in the stand alone Java client thing, but I need to be able to log into secure sites using my phone and the sites use little Java apps.
I'm sure I had another question or two but it's late and I can't remember, so this should keep you going for now!
Thanks in advance.
Too many questions!
I'll answer number 5: Yes you can connect to a network share using a program called Network Plugin or, even better, Resco Explorer, although that one isn't free. I've only used it for Windows XP shares so far.
I'll answer number 2!
Do you use a rubberized case similar to the one in my avatar? I've come to realize that it somehow prevents the talk/end keys from functioning properly (same behavior - itll think im either trying to go left or right in tf3d). Removing the case fixes the problem for me. Sounds silly I know, but when I realized that it was the rubber case, I couldn't stop banging my head.
If you're not using a case of some sort, then I have no clue
I'll asnwer number 2 as well.
Had the same problem. I think it's a kinda bug.
Solved it with the new Rom 2.30.

Website Monitor

I was wondering if there is any windows mobile software that can monitor some specific websites on http or on specific ports.
I'm a web developer with some servers which I want to check every 10 minutes if they are online, and since i always have my mobile it would be useful if i could run some program on it.
I found the following software:
- Porta+ http://portaplus.com/
This one does not work on windows mobile 6, it always says it doesn't find a data connection, even not when I use wifi or gprs
Perhaps someone has something better?
Found in the Windows Mobile MarketPlace a nice one: "Server Monitor"
Greetingz Themuzz
Email Alerts?
In my opinion, the far better option is to run some server-side monitoring package which sends out email alerts. Then use push email to your phone. Much more powerful monitoring can then be done, you can filter which alerts you want to get, and you'll still have monitoring being performed (but without the alerts) if you switch your phone off.
Nagios is one option - my preference is the free version of Big Brother (see http://bb4.org/home1.html - available in *nix or Windows versions). Both of those would do what you want - and more.
Thanx for the reply, but the problem is that I don't have a server where I can runs this sort a software, I only have dedicated servers pure for http en sql.
My phone is always on and has a internet plan so it would be easy if i could run something like porta+ on my phone.
Perhaps someone else has a solution?
Greetingz Themuzz
Ask porta+ if they can update it?
Just did, i'm wondering what their response will be.
But in the mean time, if anyone has another solution?
Well, found a nice one (after a year ) on the Windows Mobile MarketPlace. Namely "Server Monitor".
(For the people who where still searching)

Javacode , exploit possibility ?

you can use java codes with the IE browser (also with Favorites)
maybe window break could get advanced
examples
javscript:history.forward
javascript:alert(document.cookie)
javascript:alert("xda")
IE10 mobile with windows phone 8 (tested on Lumia 920)
IE9 mobile with Windows Phone 7 doesn't work (tested on Mozart)
saywa said:
you can use java codes with the IE browser (also with Favorites)
maybe window break could get advanced
examples
javscript:history.forward
javascript:alert(document.cookie)
javascript:alert("xda")
IE10 mobile with windows phone 8 (tested on Lumia 920)
IE9 mobile with Windows Phone 7 doesn't work (tested on Mozart)
Click to expand...
Click to collapse
I'm not sure how this would ever help us, though. That's pretty much the same as just running javascript within the browser. And either way, the browser runs under low privileges anyway.
Good thought, though!
First of all, Java has nothing to do with JavaScript except for some idiot marketing scheme by Netscape long ago. Don't confuse them.
Second, if it were possible to use JS to jailbreak a phone, then it would also be possible for an attacker to take over your phone just because you visited a website. This would be bad.
Third, WP7/IE9 actually does support "scriptlets" or "bookmarklets" (javascript:<code> favorites); see my signature for a link to a few of them for WP7, including a "Find on page" tool.
Fourth, while Jaxbot is absolutely correct that the browser has low privileges (even if we could cause it to execute anything we want, we *probably* couldn't manage to unlock the phone), it is nonetheless probably a good idea to keep an eye out for any exploits released against IE10 on the desktop. Much of the code in the Windows Phone version is the same, and it might be possible to use a known exploit (at least, until it gets patched) to have another way to learn more about how the OS works, which might allow us to find a vulnerability that can be used for an unlock. It's not a sure thing, but it *might* help.

Categories

Resources