cross-browser

how to prevent the security warning in Internet Explorer?

混江龙づ霸主 提交于 2019-12-02 18:43:02
问题 I have a ruby on rails website with a security certificate installed for SSL. I don't get any kind of security warnings in other browsers such as Chrome or Firefox, but I get this in IE Here's a screenshot: If I select "No", everything displays just fine and the CSS files are accessed correctly. But how I can prevent this from popping up completely? I used StartSSL for the cert and the CSS files are part of non-secure if that helps. 回答1: Somewhere in your page, you are specifying a file with

Is it possible to switch browser tab?

房东的猫 提交于 2019-12-02 18:04:38
问题 Here is my requirement, I'm working on a enterprise application which is quite old, and it supports IE browser only. Now, there are chances that the user could open multiple tab/window from this application. I have written a custom timeout plugin for our purpose with jQuery idleTimer Plugin. When the countdown reaches 10 or less than 10, i need to switch to this tab/window to make the user aware that the page gets expired in less than 10 seconds. So, is there a solution for this? I have tried

What is the difference between JSON and AJAX with jQuery?

左心房为你撑大大i 提交于 2019-12-02 17:46:40
I've heard that JSON serializes all the data, which stops me having problems client side in terms of cross-browser support etc.. I've been using AJAX with jQuery and it seems easy, but I'm unsure of the differences, I've read I can also use this to get the data: $.ajax({ url: url, dataType: 'json', data: data, success: callback }); Can anyone explain the difference between making a jQuery AJAX request using JSON and making a jQuery AJAX request without the json type? Will the answer be ok for all browsers? I think you are confusing the terms. AJAX stands for A synchronous J avascript a nd X ML

If I'm already using Modernizr, will I then even need HTML5 Shiv?

橙三吉。 提交于 2019-12-02 17:37:16
1) If I'm already using Modernizr, will I then even need HTML5 Shiv to enable HTML5 tag support for IE? 2) Is HTML5 Shiv only for IE, or for all browser who don't have native HTML 5 support? Like older versions of Firefox, Safari, Chrome, etc? 1) If I'm already using Modernizer then even will I need HTML5 Shiv to enable HTML5 tag supports for IE. You don't need to separately include html5shiv , because Modernizr includes it: As of Modernizr 1.5, this script is identical to what is used in the popular html5shim/html5shiv library. http://www.modernizr.com/docs/#html5inie 2) and is HTML5 Shiv

Overflow: overlay doesn't work in firefox

对着背影说爱祢 提交于 2019-12-02 17:26:22
On my website I need to use the css property overflow: overlay for a <div> . However, it is not rendering in the browser and an inspection of the css in firebug shows that it isn't even there, but it is as it works in Chrome. I havn't tested out safari. What must I change to get the overflow: overlay css property working? Thanks Possible values for overflow are: visible hidden auto scroll See here or here for a discussion of these. Using any other value in different browsers will yield unpredictable results as they handle the incorrect value differently. Edit : Following the comment, I've

How cross browser is the ping attribute of anchor elements?

时光毁灭记忆、已成空白 提交于 2019-12-02 17:23:17
<a ping="..."> is a relatively new, relatively unknown attribute in HTML5's anchor element. How cross-browser compliant is it? I've looked at online sources like MDN and http://caniuse.com , but found nothing that suggest browser support. I want to know if it's a viable option for link tracking today in 2014. The ping attribute was included in pre-W3C drafts of HTML5. It remained in W3C drafts of HTML5 up until early 2010 - the last draft to include it was W3C Working Draft 4 March 2010 ; the next draft was W3C Working Draft 24 June 2010 . Why was it removed? It was massively unpopular - an

Cross browser testing in cucumber

…衆ロ難τιáo~ 提交于 2019-12-02 17:19:45
问题 I want to run a feature file in three different browsers parallely. How can I create three different instances of webdriver? and please add How to do the same for two different feature files? P.S. I am working on cucumber with java. 回答1: When you mention "three different browsers in parallel" do you mean like Chrome, Firefox and explorer running in parallel OR three different instances of Chrome only . If it is the second case refer to this article - https://opencredo.com/running-cucumber-jvm

@font-face: bold in FF is bolder than in Chrome

喜夏-厌秋 提交于 2019-12-02 16:46:52
I used this code: @font-face { font-family: 'DroidSansRegular'; src: url('droidsans-webfont.eot'); src: url('droidsans-webfont.eot?#iefix') format('embedded-opentype'), url('droidsans-webfont.woff') format('woff'), url('droidsans-webfont.ttf') format('truetype'), url('droidsans-webfont.svg#DroidSansRegular') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'DroidSansBold'; src: url('droidsans-bold-webfont.eot'); src: url('droidsans-bold-webfont.eot?#iefix') format('embedded-opentype'), url('droidsans-bold-webfont.woff') format('woff'), url('droidsans-bold

How to use json proxy to access remote services during development

為{幸葍}努か 提交于 2019-12-02 16:33:22
问题 This is my doubt after going through How to send headers while using jsonp proxy? and How Ajax call is working in mobile app (PhoneGap), but not in PC browser? As per this we can use json proxy instead of jsonp in mobile but not in desktop browser. This sounds good but my problem is I am using my desktop as develop environment and browser is quickest way to test and debug whatever I am doing but if I use json proxy this won't work because of cross domain issues. Please suggest ways such that

Stupid error: Failed to load resource: net::ERR_CACHE_MISS

依然范特西╮ 提交于 2019-12-02 16:16:59
I'm developing Web app in Yii framework. I need use AJAX in my some pages. So, when I clicked the button (which I loaded them with AJAX the Google Chrome Developer Tools browser says me: Failed to load resource: net::ERR_CACHE_MISS How to solve this problem? P.S: I know it's duplicate question, but I couldn't find the solution for my problem. In some posts users said use Ctrl + Shift + N and try it. it will works. and/or somebody said: reload pages with Ctrl + F5 because Google Chrome likes cache everything. . So, I read all of these topics and applied all solution tips. But there were not