microsoft-edge

Getting DataTables to keep its state when the user clicks the back button (without the stateSave option)

不羁岁月 提交于 2019-12-06 17:47:48
问题 The problem I'm experiencing in Chrome and Edge: Go to https://datatables.net/examples/basic_init/zero_configuration.html Sort the table by some column (e.g. "Age") Use the pagination interface at the bottom of the table to go to one of the other pages Click on one of the navigation links to the left (e.g. "FAQs" or "Download") Click the browser's back button and observe that the table is now back to its original state (sorted by the "Name" column and on page 1) In Firefox, the table is still

How to remove Microsoft Edge's cache using PHP or Javascript?

走远了吗. 提交于 2019-12-06 13:37:52
I've currently started on a project including AJAX, and I ran into a problem. When using Microsoft Edge (and Internet Explorer) it won't update data, unless I close the entire page and open it again, or if I open my PHP file, from which I send data through AJAX. Does anyone no how to solve this issue using PHP and/or Javascript? Thanks in advance user400654 A "quick fix" would be to use the cache: false option of the $.ajax method, but this really isn't the right way to solve this problem if you have control of the server. Instead, you shoudl have php return a no-cache header on services you

NPAPI plugin support or similar for reading smartcards

╄→尐↘猪︶ㄣ 提交于 2019-12-06 11:48:46
问题 Now that Chrome and FireFox (FF to a lesser but still relevant extent) are removing support for NPAPI (basically Java) and Edge (formerly Spartan won't have it, what are the alternatives? I appreciate there is no one-size-fits all replacement and as of yet I am struggling to find something which would suffice. It will need to connect to a NFC reader attached via USB, with the ability of reading and writing to smartcards. I have found various options such as Native Client but this is Google

Microsoft Edge: window.open only works correctly at first attempt

一世执手 提交于 2019-12-06 09:56:25
In MS Edge (windows 10 build 10162), window.open call only works correctly the first time, but subsequent window.open calls only shows a blue screen with the e logo. <body onclick="myOpen();"> <p>Click this page and window.open() is called.</p> <script> function myOpen() { window.open("http://jsfiddle.net/sbhat/f74wt293/", null, "height=200, width=400, status=yes, toolbar=no, menubar=no, location=no"); } </script> </body> See demo here: http://jsfiddle.net/sbhat/f74wt293/1/ Click on the page, close the pop up window, and click on it again. There's a blue screen. I filed another issue with

Is it possible to create and use a Microsoft Edge variable / object in VBA?

自闭症网瘾萝莉.ら 提交于 2019-12-06 09:31:21
I have some VBA code that pulls stock prices from the web. My code uses an InternetExplorer object / document to do so. However, if possible, I would like to use a Microsoft Edge object / document instead. In my current code: I initialize an InternetExplorer variable: Dim ie As InternetExplorer Then I create an object: Set ie = CreateObject("InternetExplorer.Application") I'm wondering if it is possible to use a Microsoft Edge instead of Internet Explorer object / document in my code. Thank you in advance. destination-data Unfortunately Edge doesn't have an API VBA can use. IE will continue to

Webdriver MS Edge browser does not get URL

依然范特西╮ 提交于 2019-12-06 08:46:45
I tried to navigate URL with MS Edge Browser but it giving me error. My Environment is as follows: Windows: 10 64x pro. Browser: MS Edge 25.10586.0.0 Selenium WebDriver: 2.48.2 import org.openqa.selenium.WebDriver; import org.openqa.selenium.edge.EdgeDriver; public class edgeBrowser { public static void main(String[] args) { System.setProperty("webdriver.edge.driver", "C:\\Program Files (x86)\\Microsoft Web Driver\\MicrosoftWebDriver.exe"); WebDriver driver = new EdgeDriver(); driver.get("http://www.google.com"); } } MS edge browser opens but it does not navigate to google.com and I received

Can't get Edge to Return a Promise in my WebExtension

二次信任 提交于 2019-12-06 08:10:59
I am trying to create a new tab using browser.tabs.create() from my background.js WebExtension as shown here: createTab: function () { var newTab = browser.tabs.create({ url: someUrl }); newTab.then(onCreated, onError); } The new tab creates in the browser , but when the last line is reached, an error is thrown: SCRIPT5007: Unable to get property 'then' of undefined or null reference The Locals window shows newTab is undefined . What am I doing wrong here? I thought that .create() would immediately return a Promise . I know create() is an asynchronous function - but my calling function doesn't

MS Edge won't save cookies returned from AJAX request in local HTML file

回眸只為那壹抹淺笑 提交于 2019-12-06 07:47:04
问题 The following is a stripped down version of a local file that I'm loading into Microsoft Edge: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <script> var url = "http://example.com" // Document is ready ready(function () { var xhr = new XMLHttpRequest(); xhr.open('POST', url, true) xhr.withCredentials = true xhr.setRequestHeader("Content-Type", "application

Preventing high-contrast mode in Edge from adding background to text

旧城冷巷雨未停 提交于 2019-12-06 05:39:56
I'm working to adjust some components so that they all function and look good in high-contrast mode. Edge seems to be adding a black background under all text that IE11 does not add. I can't seem to find a way to target this background in CSS, or any other way to normalize the behavior between the two browsers. For example, let's say I have the following: <div class="SelectedText"> Text! </div> And let's say I assigned background-color: cyan; and color: black; to the .SelectedText div. In this scenario, IE11 renders it as expected with the div and text having the assigned colors. However, in

How to move and resize the browser's window in Microsoft EDGE browser?

我的未来我决定 提交于 2019-12-06 03:32:48
问题 As per the Microsoft release update EDGE: Window objects associated with frames are no longer affected by moveTo, moveBy, resizeTo, or resizeBy In this case , How can we move a window to the desired location through JavaScript? My code which is working across all browsers IE 11, Firefox, Chrome but not with EDGE. my code: <!DOCTYPE html> <html> <body> <button onclick="openWin()">Create new window</button> <button onclick="moveWinTo()">Move new window</button> <button onclick="moveWinBy()"