browser

HTA's; use other browser to host?

霸气de小男生 提交于 2019-12-30 08:31:49
问题 If Microsoft's method for using IE as a local host for HTA's then, can I use any other browser instead? 回答1: You can't. There is a similar Mozilla project named XULRunner, but HTA only works in Internet Explorer - the two technologies aren't compatible. To make this clear: HTA will probably not work in anything that's not IE. Yes, HTA is a browser control in a window, but it also has normal aplication privileges (i.e. filesystem access, registry, arbirary code execution etc.). When running in

Which browsers' back button does not generate request to the server?

我只是一个虾纸丫 提交于 2019-12-30 06:42:11
问题 I need to test my web application against a browser for which back button doesn't generate request to server. Could you give me examples of such browsers? 回答1: That doesn't depend on the browser used, but on the HTTP response headers sent to it. If the browser is by the response headers instructed to cache the page, then it will cache the page. But if it is instructed to not cache the page, then it will not cache the page and fire a real request. You have control over the response headers on

Which browsers' back button does not generate request to the server?

你离开我真会死。 提交于 2019-12-30 06:42:06
问题 I need to test my web application against a browser for which back button doesn't generate request to server. Could you give me examples of such browsers? 回答1: That doesn't depend on the browser used, but on the HTTP response headers sent to it. If the browser is by the response headers instructed to cache the page, then it will cache the page. But if it is instructed to not cache the page, then it will not cache the page and fire a real request. You have control over the response headers on

Is it possible to use WebGL max texture size?

僤鯓⒐⒋嵵緔 提交于 2019-12-30 06:38:30
问题 I am working on an app where higher resolution is always better. But I'm stuck with WebGL max_texture_size problems. I create an image of size exactly this dimension (16384x16384 on my laptop) and WebGL crashes saying that: GL_INVALID_ENUM : glBindFramebuffer: target was GL_READ_FRAMEBUFFER_ANGLE GL_INVALID_ENUM : glBindFramebuffer: target was GL_READ_FRAMEBUFFER_ANGLE WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost And the same happen when I try with 0.75 of the max values. Only working

DocumentCompleted firing multiple times - accepted StackOverflow answer not working

耗尽温柔 提交于 2019-12-30 06:36:13
问题 I test if my WebBrowser is completed with: webBrowser2.DocumentCompleted += (s, e) => { // Do stuff } The webpage I am accessing as tons of JS files and iframes and stuff, so I use the below function to make sure it's the actual page that's completed loading. webBrowser2.DocumentCompleted += (s, e) => { if (e.Url.AbsolutePath != (s as WebBrowser).Url.AbsolutePath) { return; } // Do stuff } However, it still doesn't appear to be working. Am I doing something wrong or is this syntactically

Is 5MB the de facto limit for W3C Web Storage?

风格不统一 提交于 2019-12-30 05:48:04
问题 I am looking into using browser sessionStorage for a web application, and was trying to find current information on size limitations. It appears most desktop browsers have imposed a 5MB limit. However, I am not finding many recent articles nor information on the mobile browsers. The Disk space of the W3C Web Storage specification says "A mostly arbitrary limit of five megabytes per origin is recommended. Implementation feedback is welcome and will be used to update this suggestion in the

HTML link that bypasses cache?

人走茶凉 提交于 2019-12-30 05:44:06
问题 I have a file that I link to from my website like <a href="http://example.com/myfile.txt>View!</a> However, this file changes very frequently and when the link is clicked, the browser loads the cached version of the file, not the actual file. Is there a way so that clicking on that link will bypass the cache for that page? Something nice like <a bypassCache href=""> would be wishful thinking. 回答1: Something nice like would be wishful thinking. Indeed, there is something you can do from within

Excel VBA create an embedded WebBrowser and use it

末鹿安然 提交于 2019-12-30 04:48:06
问题 Hi I'm trying to dynamically create a web browser inside a spreadsheet and then use it but the WebBrowser functions don’t seem to work Here is how I create the WebBrowser Set myWebBrowser = Sheets("test").OLEObjects.Add(ClassType:="Shell.Explorer.2", Link:=False, DisplayAsIcon:=False, left:=147, top:=60.75, width:=141, height:=96) This will work myWebBrowser.top = 10 But this will give me an error myWebBrowser.Navigate ("about:blank") Any ideas on what should I do thank you UPDATE: This will

An expanding middle in CSS

╄→尐↘猪︶ㄣ 提交于 2019-12-30 04:44:09
问题 How would I go about designing a website which has a fixed height header and footer (attached to the top and bottom of the browser window) but an expanding middle. The scroll bars would be only for the middle (orange section in diagram) so that the rest of the page would never need to scroll. I have drawn a mock-up below to explain more clearly. Ideally it needs to be entirely implemented in CSS and HTML (no javascript fiddles!). I've got quite far with this problem but I can't force the

Why do browsers block some ports?

本小妞迷上赌 提交于 2019-12-30 04:00:21
问题 I'm playing around with websockets and it appears, that all browsers with native websocket support I tested with (Safari, Chrome) block some ports. If I try to connect to my server over port 80, everyting works fine. If I try other ports, like 81, 82 or 1000, the connection is prematurely closed because there's nothing on the other end. That's the expected behaviour and it works beautifully. However, with some ports (such as 20, 37 or 79), the Chrome developer console simply says WebSocket