browser

Detecting installed plugins under different browsers?

烈酒焚心 提交于 2019-12-31 22:27:12
问题 I'm wondering if there is a way to detect installed plugins on different browsers. So far I have found that you can "detect" plugins on firefox by trying to guess if chrome://path/to/some/plugin/image.gif exists. This code for firefox looks like this: <img src="chrome://firebug/content/blank.gif" onload="var a=document.getElementById('FireBug'); a.innerHTML = 'You are using FireBug';" style="visibility:hidden"> <div id="FireBug">You are not using FireBug</div> I'm interested how does the code

Google API Keys Missing Warning Message when using Chromium Portable

落爺英雄遲暮 提交于 2019-12-31 11:18:07
问题 When i use the new Chromium Portable browser it always shows "Google API keys are missing.Some functionality of Chromium Portable will be disabled" after starting up. How do i get rid of this warning message and what does it mean?. 回答1: To get rid of the message... ...on Windows, you can use the command prompt to set the following environment variables to "no": setx GOOGLE_API_KEY "no" setx GOOGLE_DEFAULT_CLIENT_ID "no" setx GOOGLE_DEFAULT_CLIENT_SECRET "no" Windows' environment variables can

Cross-browser compatibility issues

 ̄綄美尐妖づ 提交于 2019-12-31 10:47:37
问题 I see that many people have problems with cross-browser compatibility issues. My question is why do browsers render the html, css or js differently? Is it due to the DOM? The box model? Why are there cross-browser compatibility issues when there are standards from W3C etc? Are there any differences in the way the major Internet browsers display HTML content? Why is it that Internet Explorer, Firefox (Mozilla), Opera may display the same content differently? What should I keep in mind when

Can I use python to create flash like browser games?

我与影子孤独终老i 提交于 2019-12-31 10:43:10
问题 is it possible to use python to create flash like browser games? (Actually I want to use it for an economic simulation, but it amounts to the same as a browser game) Davoud 回答1: The answer would be yes, assuming you consider this a good example of what you want to do: http://pyjs.org/examples/Space.html This browser-based version of Asteroids was created using Pyjamas, which enables you to write the code in python in one place, and have it run either on the browser, or on the desktop: http:/

Mixing percent and fixed CSS

点点圈 提交于 2019-12-31 10:20:20
问题 This is a duplicate from UI.StackExchange.com: https://ux.stackexchange.com/questions/1004/mixing-percent-and-fixed-css Should you ever apply percentage and fixed CSS together? Will it cause problems, and if so what kinds? Does mixing degrade browser render performance? Will mixing give you weird results on initial load with progressive rendering browsers? Below is just a dumbed-down example of mixed usage, it could be any mixture. I am not looking for validation of the example. I have heard

Mixing percent and fixed CSS

夙愿已清 提交于 2019-12-31 10:19:49
问题 This is a duplicate from UI.StackExchange.com: https://ux.stackexchange.com/questions/1004/mixing-percent-and-fixed-css Should you ever apply percentage and fixed CSS together? Will it cause problems, and if so what kinds? Does mixing degrade browser render performance? Will mixing give you weird results on initial load with progressive rendering browsers? Below is just a dumbed-down example of mixed usage, it could be any mixture. I am not looking for validation of the example. I have heard

check if user has already installed PWA to homescreen on Chrome?

删除回忆录丶 提交于 2019-12-31 09:23:48
问题 I'm trying to create an "Add To Home Screen" button on my progressive web app, as described in Chrome's documentation. I'm generally following the prescribed pattern, where I have some hidden button which is displayed when Chrome's beforeinstallprompt event fires. I capture the event once it fires, and then use the event to begin the native install dialogue once my own install button is clicked. The sample code is below: let deferredPrompt; window.addEventListener('beforeinstallprompt', (e) =

iOS browser - iFrame jumps to top when changing css or content using JavaScript

北慕城南 提交于 2019-12-31 08:11:37
问题 This problem seems to have been around forever. Under some specific circumstances, iOS browsers surface this frustrating bug. The issue: If you have a web page which contains an iFrame and you are modifying the iFrames content document programmatically, the iFrame will jump to the top of the page. However, this only happens if the page, before the DOM manipulation, is beyond some height, typically this seems to be a length greater than twice the length of the viewport. This issue appears

Firefox : Force full-screen mode from webpage

99封情书 提交于 2019-12-31 05:27:05
问题 I am developing a web-based database that needs to be opened through firefox web browser(because of some css3 elements). I want the page to open automatically in full screen mode. I dont want the user of the database to have access to the firefox menu items 回答1: Can't be done if you just have control of the webpage. Controls in the webpage cannot cause changes in the browser instance itself. It would be a security issue if that were allowed. You could look into writing a Firefox extension to

What is all the browser agent stuff?

女生的网名这么多〃 提交于 2019-12-31 04:37:11
问题 I am new to ASP.NET and wanted to capture details about people on my site. So I capture the Request.UserAgent attributes to file. Can anyone explain how to deconstruct these so I know what they mean? I am actually stumped by some of the user agents I see. Examples: IE2.0d; WinNT: Mozilla/1.22 (compatible; MSIE 2.0d; Windows NT) : Never heard of IE2.0, so is this spoofed for scanning my site, and why? Also, how is IE related to Mozilla in this case? IE6.0; WinXP: Mozilla/4.0 (compatible; MSIE