When I reload a page on Safari 9.0, El Capitain, with the developer tools open and the "Console" tab active, it will automatically switch to the "Resources" tab. How do I stop this deliberately stupid behavior?
-
1I was about to duplicate this question with even a screen recording to demonstrate this issue: gfycat.com/InsignificantSpiritedGrackle, before I found yours. Thanks for asking!– Aditya M PCommented Dec 6, 2015 at 20:56
-
@adita menon no problem! It works fine if the app isn't split screen.– MaiaVictorCommented Dec 6, 2015 at 20:57
-
This is always happening with me on Safari 10.1.2 since I installed extensions like JSONView, AdBlock...– Thiago PereiraCommented Sep 2, 2017 at 14:50
2 Answers
Close the Resources tab then it always stays on the tab where you are on every reload
Usually I open the developer tools by using the "Inspect Element" context menu, and get the same behaviour as you describe (automatically switching to the Resource tab).
So I experimented and found an answer: If you open the developer tools to the Console tab by selecting Develop > Show Error Console from the menu, it will stay on the Console tab after a page refresh.
Also, if you open the developer tools using the "Toggle Web Inspector" icon or the Develop > Show Web Inspector menu item, it will stay on whatever tab you have selected after a page refresh.
-
Which you can also enable by ⌘⌥C (the "Elements" tab by ⌘⌥I) Commented Dec 3, 2015 at 15:54
-
Okay, so the above worked for me every time when I tested it before answering the question (10+ times). However, today it was automatically switching to the Resources tab (and sometimes the Storage tab) no matter what I did. So you can probably disregard my answer. Commented Dec 4, 2015 at 13:56