Each time I load a page with Safari dev tools opened (no matter which tab), some breakpoints get triggered and I get redirected to the Sources tab with the message "Debugger Paused".
The problem is that I didn't set any breakpoints, at least, intentionally, and these redirects don't let me review the source code or load webpages properly.
Even if I disable them, they get re-enabled as soon as I reload the page. I'm failing to understand why this happens.
I see two breakpoints in the Sources tab: All Exceptions and Uncaught Exceptions, but they don't seem to be enabled.
Unfortunately, I couldn't find how to disable the debugger or locate those exceptions. There are no options to do that in the context menu if I right-click the "Debugger Paused" message, disabled exceptions in the Sources tab or Safari settings.
Has anybody come across similar issues or know how to fix that behavior? Any help is much appreciated. Thanks!
Safari 13.1
macOS 10.15.4
Here's how it looks like
You click "+" next to the Breakpoints, then you click All Requests. And then it will appear in the list and is enabled by default. You click disable - VIOLA! See the attached image.
Related
I updated Safari today to 11.0 and the 'disable cache(s)' menu item (under Develop) is missing. Anyone know the new way to effect this?
As Adam has answered there was information about disable caches added to the release notes, and I've updated my answer accordingly:
For a one-off, you can use ⌥⌘R on the page to reload from origin or ⇧⌘R from Web Inspector.
For a more permanent solution, you can tell Safari to ignore cache when loading resources by opening Web Inspector then going to the Network tab and setting the icon in the top right (it turns blue when active).
After experimentation with the option in the Network tab, it doesn't appear to behave as documented in the release notes:
The setting appears to persist until manually disabled, even when quitting Safari.
Caching appears to be disabled for all pages, not just the inspected one.
Web Inspector didn't always need to be left open.
Resources served from localhost are sometimes still served from the memory cache, even if caching is disabled in the Network tab. Restarting Safari seemed to clear this behaviour.
Safari Technology Preview Release Notes (Release 27)
Browser Changes
Added a “Reload Page From Origin” alternate menu item to the View menu. This action reloads a page without using cached resources.
Removed the Option-Command-R (⌥⌘R) keyboard shortcut from “Enter/Exit Responsive Design Mode” and mapped it to “Reload Page From Origin” instead.
Removed the Disable Caches menu item in the Develop menu. The equivalent functionality is now available through Web Inspector’s Network tab.
Web Inspector
Added “Disable Caches” toggle in the Networking tab that only applies to the inspected page while Web Inspector is open.
Safari 11.1
The appearance of the icon has changed slightly in Safari 11.1:
It looks like (according to the “Safari Technology Preview Release Notes”) that the only way is to open the “Web Inspector” and go the the “Network” tab, and click the small button to ignore the resource cache.
From my testing on Safari 11.0.3, you should restart Safari after toggling "Ignore the resource cache when loading resources".
I'm trying to add Google Signin to our login page. I've followed the code supplied by Google, as well as a GitHub project that I used for code example. Both work perfect on Chrome, FireFox, Safari, but I can't get it to work on IE11 or Edge.
The GitHub project is at https://github.com/googleplus/gplus-quickstart-javascript. This project uses Google's newer apis.google.com, however I've also tried plus.google.com as suggested in another post. Neither work.
I added a data-onfailure function to the button, and get an error "popup_blocked_by_browser" even though the popup blocker is turned off in the browser. Even though I get this popup error, I do get a popup that asks which Google account to use, but when I choose one, I get the "The webpage your are viewing is trying to close the window" message. If I choose Yes, the window closes, but I don't get logged in.
Anyone have any advice for getting this to work in IE or Edge?
I ran into this problem on IE 11 with Windows 10.
I fixed it and then it happened again after receiving Windows Updates - annoying!
Here is what fixed it for me; it was an IE Setting.
Go to:
IE -> Internet Options -> Security
Check "Apply" and then "OK" To exit.
IE Settings Screen Shot
Finally, restart IE.
My web app uses IndexedDB and I'm testing on SauceLabs. Some months back my tests ran but now they block on a browser dialog that says "http://gbserver3.cs.unc.edu/" wants to: store files on this device", with an Allow button.
This is Win7 and Chrome or Firefox. Likely others too.
How can I dismiss or prevent this dialog?
Update: I have discovered that if I don't ask for quota I don't get the popup and my tests succeed. I'd still like to learn how to get rid of that dialog.
we are using Nightwatch.js in our project and we were facing the same issue.
What actually did the trick was using --unlimited-storage switch when launching the browser.
(List of other command line switches for Chromium can be found here)
I have safari 5.1.7 , but under the Debug menu I can not find any option to stop the auto-refresh. I try un-checking the "Use multi-process tabs", but it did not solve the auto-refresh problem. any idea about disabling auto-refresh inside safari 5.1.7 ?
Today I inadvertently discovered a way to stop this annoying behavior, even though it does not qualify as a real fix, it is a method of suppressing the behavior by taking a simple action every time prior to switching out from Safari or another browser. Not ideal, but it does give you control (finally) of the browser such that the behavior is suppressed. The link to the answer is here:
https://discussions.apple.com/message/25254749#25254749
I have user custom master page in Wiki. When I change to edit mode (site Action\ Edit Page), the Editing Tools came out under Ribbon menu.
However, Clipboard,Font and Paragraph...sections are all disabled.
Do you know how to resolve it?
I even tried to check out, but same thing happened
I had this same issue using Google Chrome 15. For me, it was the "Screen Capture (by Google)" plugin (version 5.0.3) which was causing this error: "Cross origin requests are only supported for HTTP." Disabling the extension fixed the issue, and I'm now able to use Font, Paragraph, Markup sections.
Try disabling some extensions in Firefox/Chrome. If that doesn't work, try another browser and report back.