Recently I was working on a project that required the addition of allowing JSON uploads in the media library. While I knew there was a filter for this, it did take some digging to understand why JSON uploads were treated as text/plain (and should be marked as such).
Often times I find myself needing to clear the website data stored in Safari, and while Safari does provide a mechanism for accomplishing this task, it is a (minimum) three step process that first waits until the data is loaded before allowing to remove.
Thankfully, there is a little trick I use that speeds up this process, which only requires enabling and disabling ‘Block all cookies’ setting instead.
Personally, I find this method much faster for resetting Safari, but honestly wish there was a programatic method for performing this type of privacy cleanup.
One of the most annoying things I experience when closing a tab in Safari is when it is the last tab and closing closes the entire window (including pinned tabs).
Thankfully, there is a simple remedy to fix this. In System Preferences go to Keyboard > Shortcuts > App Shortcuts and add a new shortcut for Safari, with the menu title of Close Tab and the command of ⌘W.