-
Notifications
You must be signed in to change notification settings - Fork 1.8k
FancyBox Permission Denied Microsoft Edge #1155
Comments
Could you show your page? |
Here's an example of the popup box: After clicking submit the popup will not close, we get a permission denied but ONLY in Edge. Also we cannot cross of the popup box, same issue. Also we can't manually put the javascript close into the Edge console. Same error everytime. Thanks |
I wanted to see your actual page, not just screens :) Because I can not replicate your scenario. |
Hi, I can't show the page as it is an internal network website. The website uses iFrames to display FancyBox. Also this happens only in Edge. The examples work fine which are included with fancybox. Our setup is pretty simple. The fancybox loads a form which we can enter data in. When you click Submit it runs simple PHP to enter the data into the database. At this point everything becomes Permission denied when trying to close the popup. Thanks |
Actually, IE has that issue for a long time, try googling "jQuery IE Access denied error". |
Hi, It's weird because IE works fine (Aside from the page doesn't look right in IE) but the fancybox will work fine. We're using jquery-1.10.1.min.js which is included with fancybox Thanks |
Try updating to latest jQuery 1.x from https://code.jquery.com/ |
Hi, Switched over to 1.12.4 but still no look. Even putting Into the Edge console results in a permission denied. This only happens after the submit button has been pressed. Weird. Thanks |
Any luck? |
I tried to recreate this, but worked fine for me. |
I have the same problem. It only happens after I perform a POST of a form inside the iFrame. |
If you are posting to "" (e.g., |
Using full url didn't help. jquery 1.10.1 |
This post suggests that this has been fixed in the last stable version of Edge - http://stackoverflow.com/questions/34643687/getting-script70-permission-denied-only-with-edge-browser-javascript-error Maybe I can not reproduce this issue, because I have the latest (Microsoft Edge 38.14393.0.0 / Microsoft EdgeHTML 14.14393). What version are you using? |
That is also the version I am testing on. It seems more like an Edge issue than a script issue to me. I am thinking about solving it with an AJAX call ps, I use the click() workaround to open the fancybox, but that should not make any difference I assume function magic_fancy(trans,PARAM1,PARAM2,PARAM3) {
} |
Have you tried updating to the most recent version of jQuery? This looks like a nasty IE/Edge issue and jQuery included some workarounds jquery/sizzle@28f4c67 Also, why are you using such a weird hack? I have seen it multiple times, but I do not know where does it come from. You can just use |
That solved it <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>I hadn't tried it because it didn't help the person above. I'll probably run into other problems unrelated to fancybox, but thanks for the help! (Not sure why I used that workaround to open boxes. It is from a long time ago) |
Hey guys,
Using FancyBox with edge results with a SCRIPT70: Permission denied when trying to close a popup. Also inserting the code manually into the browsers console 'parent.jQuery.fancybox.close();' also results in a Permission Denied.
The text was updated successfully, but these errors were encountered: