browser

Unexpected end of input while loading javascript on a web page

那年仲夏 提交于 2019-12-20 02:33:17
问题 I have a bit different case of "unexpected end of input" than all the cases I have found so far here in SO and other forums. Frankly, I am stuck. I have JBoss EAP 6.4 on a CentOS machine. Attempting to open the admin console on a Windows 7 box (all the latest patches from MS) ends with blank white page with most possible cause being an incomplete loading of a .js file: Unexpected end of input for protovis JS file This happens exactly the same with Firefox, Chrome and IE. On the other hand,

How to write a web browser plugin for IE, Firefox and Chrome

廉价感情. 提交于 2019-12-20 02:33:14
问题 I need to write a web browser plugin that supports IE 7+, Firefox 3+, Chrome. This plugin has to be able to place a DirectX object in a web page. I have no experience with plugins. I did some investigating and decided to do it with FireBreath. I couldn't understand the way to place an image inside the plugin area. Can someone provide example? How do I place a DirectX object there? Any example? How do I trigger automatic installation? Thanks! Sara 回答1: Well, there are two problems you have to

Xpages browser error

随声附和 提交于 2019-12-20 02:29:41
问题 I have the following error: Error 403 HTTP Web Server: You are forbidden to perform this operation I had this application on local and it worked fine both client and browser. But when I created a copy on our server (I have access to the server) the application works fine on client, but on web I have the above error. Any ideas? Thank you, Florin 回答1: Sign your database with an id which is allowed to "Sign or run unrestricted methods and operations". This is a setting in Domino Directory Server

What's the best way to detect a browser with php?

核能气质少年 提交于 2019-12-20 02:28:11
问题 Could anyone tell me the best way to detect a browser using php? IE 6 and 7 are terrible when it comes to achieving full browser compatibility with CSS so my site isn't going to support and version of IE that's older than 8. I'm current using $_SERVER['HTTP_USER_AGENT'] to detect the browser but I've been told that that isn't a good way to do it since browsers can lie and send any user agent info that they want. So, does anyone know of a sure fire way to detect the type of browser that the

Is it possible to use Javascript to close Android Browser?

╄→尐↘猪︶ㄣ 提交于 2019-12-20 02:26:53
问题 I want to put a "close" button in a web page (our client wants to do that) and when I click this button, I want to close Browser (not the current tab but "browser" in Android Browser, IE, Firefox, Chrome etc.). I've searched around and found a method: window.close() but seems to only work on IE. My question is: Is there any way to close Android Browser using Javascript? 回答1: Nope - and that's a Good Thing: the webpage has no business messing with the browser itself ("wait, where did my window

Chrome 40 beta Title Tabs Rendering With Serif-style Font

家住魔仙堡 提交于 2019-12-20 02:14:06
问题 I've noticed an interesting anomaly when running Chrome 40.0.2214.10 beta-m (64-bit) on Win7. Admittedly, I have yet to test this on other browsers. In the screenshot below you will see to eBay item pages -- the first has a title which renders as a Serif (is that Times New Roman) in the Chrome Title Tab. The latter renders in the standard Sans-Serif Chrome font. The URL for the first example is here: http://ebay.com/itm/301399607776 My principle question is whether or not this is something

Why HTTP/2 on a specific site works in FF, but doesn't work in Chrome, IE and Edge on the same Windows 10 computer?

人盡茶涼 提交于 2019-12-20 01:37:12
问题 I have a site, that runs on a Nginx 1.10.0 on Ubuntu 16.04 server (OpenSSL 1.0.2h). I want to serve this site over HTTP/2, so I configured Nginx accordingly: listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server And it works fine in FF 47 and Chrome 51 on my office Ubuntu 15.10 desktop and in the same browsers on my home Ubuntu 15.10 desktop. However on my home Windows 10 desktop and laptop HTTP/2 works only in FF. Chrome 51, IE 11 and Edge are using HTTP/1.1 on this

How to find the browser height including the toolbars and buttons with javascript?

怎甘沉沦 提交于 2019-12-20 01:11:43
问题 Is there a way to find the browser height with the toolbars and buttons of the browser, not only the window or document height? 回答1: For the size of the viewport, you use window.innerWidth and window.innerHeight . For the whole window, including decorations, use window.outerWidth and window.outerHeight . Then, all you need to do is subtract one from the other. Edit: There is no supported way of doing this in IE8 and older. This is explained in this article and also provides a workaround which

Force capitalize letters in domain name [closed]

末鹿安然 提交于 2019-12-19 22:04:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . So I understand the fact that domain names are case insensitive: google.com, GOOGLE.COM, GooGLe.Com, gOOgle.cOm ===> google.com but my question is: Is it possible to force letters in a domain name to appear capitalized by default? For example, if I owned www.crazycapitalization.com is there any way I could make

Why do browsers allow switching off Javascript? [closed]

一世执手 提交于 2019-12-19 19:43:09
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . Am curious why modern browsers allow switching off Javascript. It's so clear now that to do any substantial modern web application you need to integrate some high level of Javascript, why cant javascript be made an integral part of the browser? It becomes even more annoying