browser

Windows Phone 7 Browser - Turn off the gray shading when links are clicked

我的梦境 提交于 2019-12-28 03:45:10
问题 With the Windows Phone 7 Browser, when the user clicks a link, it is shaded with a gray rectangle for approximately 0.5 seconds. This is fine in generally, however, if you have dynamic page behaviour, for example, clicking a link updates the DOM so that the link is no longer visible, the opaque gray rectangle lingers on the screen after the link itself has gone. This looks pretty horrible! Does anyone know how to disable this effect? 回答1: Add a meta tag in you head section in you html file.

Could a website force the browser to go into fullscreen mode?

微笑、不失礼 提交于 2019-12-28 03:38:08
问题 I want to run a psychological study for which participants have to look at large images. The experiment is done on the web and therefore in a browser window. Is it possible to tell the browser to go into fullscreen, for example on button press? I know there is the possibility to open a fixed-size popup window. Do you think this would be a feasable alternative? And if, what would be the best way to do it? Are there elegant ways of detecting a popup-blocker, to fallback and run the study in the

WebClient runs javascript

≡放荡痞女 提交于 2019-12-28 02:53:22
问题 I have one. aspx page that has some JavaScript functions that control paging. I can run this javascript function via webbrowser with the following method within the WebBrowser1_DocumentCompleted WebBrowser1.Document.Window.DomWindow.execscript ("somefunction();", "JavaScript") The webbrowser is very slow and I prefer to use System.Net.WebClient.DownloadString . Has some way to run this script with the System.Net.WebClient methods that are faster, or some other way? 回答1: Well, no. WebClient is

How to prevent a browser from storing password

与世无争的帅哥 提交于 2019-12-28 00:16:12
问题 I need to stop browsers from storing the username & password values, because I'm working on a web application which contains more secure data. My client asked me to do this. I tried the autocomplete="off" attribute in the HTML form & password fields. But it is not working in the latest browsers like Chrome 55, Firefox 38+, IE 11...etc. What is the best solution for this? 回答1: Thank you for giving a reply to me. I followed the below link Disable browser 'Save Password' functionality I resolved

Within a web browser, is it possible for JavaScript to obtain information about the HTTPS Certificate being used for the current page?

余生长醉 提交于 2019-12-27 22:18:51
问题 Is there a method for JavaScript running in a browser to determine which CA certificate is being used to authenticate the remote host for the browser's current HTTPS connection, and also obtain properties of that certificate, such as the name of the CA? If not, are there any other options for programatically obtaining this information, such as ActiveX, Java, CGI on the server side, ...? 回答1: You can use the opensource Forge project to do this. It implements SSL/TLS in JavaScript. You can make

Within a web browser, is it possible for JavaScript to obtain information about the HTTPS Certificate being used for the current page?

时光毁灭记忆、已成空白 提交于 2019-12-27 22:18:10
问题 Is there a method for JavaScript running in a browser to determine which CA certificate is being used to authenticate the remote host for the browser's current HTTPS connection, and also obtain properties of that certificate, such as the name of the CA? If not, are there any other options for programatically obtaining this information, such as ActiveX, Java, CGI on the server side, ...? 回答1: You can use the opensource Forge project to do this. It implements SSL/TLS in JavaScript. You can make

How can I detect browser type using jQuery?

怎甘沉沦 提交于 2019-12-27 22:12:56
问题 I want to detect if the user is using IE and Firefox but I cannot find the script. I have code as below: $(document).ready(function(e) { $.browser.chrome = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()); if($.browser.chrome){ alert(1); //this work well } else if(//the browser is IE){alert(2);} else if(//the browser is Firefox){alert(3);} //The problem is that I don't know how to write a script for IE and FireFox browser for chrome is work fine )}; 回答1: The best solution is probably:

Browser back button handling

旧街凉风 提交于 2019-12-27 17:41:15
问题 I am trying to handle browser back button event but i could not find any solution. I want to ask user if he clicks on browser back button using "confirm box" if he chooses ok i have to allow back button action else i have to stop back button action. Can any one help me in implementing this. 回答1: Warn/confirm User if Back button is Pressed is as below. window.onbeforeunload = function() { return "Your work will be lost."; }; You can get more information using below mentioned links. Disable

How does the Back button in a web browser work?

北慕城南 提交于 2019-12-27 16:41:07
问题 I searched the Web about this question but I found nothing: What is the logic of the back button? What is happening when we hit the back button on a Web browser? I really would like to understand more about that. Thank you. 回答1: Your web browser keeps a stack (or list, if you will) of the web pages that you have visited in that window. Let's say your home page is google.com and from there you visit a few other websites: youtube.com, yahoo.com, and cnn.com. Upon visiting the last one, the list

How does the Back button in a web browser work?

a 夏天 提交于 2019-12-27 16:40:12
问题 I searched the Web about this question but I found nothing: What is the logic of the back button? What is happening when we hit the back button on a Web browser? I really would like to understand more about that. Thank you. 回答1: Your web browser keeps a stack (or list, if you will) of the web pages that you have visited in that window. Let's say your home page is google.com and from there you visit a few other websites: youtube.com, yahoo.com, and cnn.com. Upon visiting the last one, the list