Tag Info

Hot answers tagged

20

I found the solution, right after posting... Go to Safari → Preferences → Advanced → Show Full Website URL


11

HTTP Header: Content-Disposition Have the server include an additional Content-Disposition header when serving the PDFs: Content-Disposition: attachment; filename="<MyPDF.pdf>" This provides the browser with a strong suggestion for the desired filename and suffix. See How to encode the filename parameter of Content-Disposition header in HTTP? for a ...


8

Open console (⌥⌘C or Develop > Show Error Console), paste this code: (function() { var el = document.createElement('div'), docEl = document.documentElement; el.innerText = 'Go to fullscreen view'; el.setAttribute('style', 'position: fixed; top: 10%; left: 10%; padding: 30%; background: #000; color: #fff; opacity: .7; cursor: pointer;') ...


8

The following approach comes pretty close, but it does not (nor can it) cover images that are set as background. It might also slow down page loading a bit. The goal is to inject custom CSS into the page. I'll use the add-on Stylish for that (theoretically you could do it without any external add-ons, but you need a free Safari developer ID to do so - see ...


7

Go to Preferences → Tabs and enable When a new tab or window opens, make it active. Enabling this option switches the shift modifier to disabling this functionality rather than enabling it.


7

Automator Use OS X's Automator.app to find, extract, and save the images from your current web page. The combination of Actions needed are: Get Current Webpage from Safari Get Contents of Webpages Save Images From Web Content To learn more about using Automator, see Apple's Mac Basics: Automator. Terminal An alternative approach is to use curl ...


7

Safari gets reinstalled: Sometimes when you download and install a Combo Updater. Always when you reinstall the OS. You could also use a tool like Pacifist to get the app from the install package (or Time Machine from your backup), but it depends on how you lost the app whether you want to go in like a surgeon or have the deluxe treatment. Unless you are ...


7

You need to drag a tab - Safari won't let you drag an entire window into another one. You can hit ⌘T to create a new empty tab (thus making the tab interface visible), then drag your original tab to the other window.


7

Go to Window → Merge All Windows. In Safari, this merges other windows into the currently active window. In Finder, this merges the current windows into other window. Alternatively, you can show the tab bar with View → Show Tab Bar. This lets you drag the tab when only one tab in a window is open.


7

On iOS, HTML5's local storage is not available in private browsing mode, which means you can detect it by attempting to save something to local storage and catching the exception with the following JavaScript: try { localStorage.test = 2; } catch (e) { alert('You are in Private Browsing mode'); } Modified from http://stackoverflow.com/a/17741714/ On OS ...


6

Exporting Your Chrome Bookmarks Chrome stores bookmarks in a non-HTML format so you need to export them first before you can import them in to Safari. Select Bookmarks > Bookmark Manager from the menu bar in Chrome In the Bookmark Manager UI select Organize > Export Bookmarks to HTML File... Select a location to save the file (I suggest Desktop) in ...


6

Not sure if you are asking what they are in Safari CMD + [ Go back (or cmd+alt+5) CMD + ] Go forward (or cmd+alt+6) But you can make it work using Terminal with following (Thanks to @Tetsujin research) Terminal command to re-enable Backspace/Delete as ”Back-Button“: defaults write com.apple.Safari ...


5

In your Safari preferences > Privacy : Select Prompt for each website one time only


5

Note that if you use iCloud on a Mac and your iPad (or other iOS devices) (the same account), open tabs will appear on the iPad and vice versa in the iCloud Tabs section (next to bookmarks on iPad). This could be where such a suggestion is coming from. I would suggest clearing history and cookies/data on all devices using iCloud (yes you will lose logged in ...


5

You need Safari 6.1 or newer Enable Debug menu defaults write com.apple.Safari IncludeInternalDebugMenu -bool true Set "Use Per-tab web processes" and "Show Web process IDs in page titles" to on.


5

In most native OS X applications, the key presses Cmd-Shift-[ and Cmd-Shift-] will cycle left and right through tabs, respectively. Safari understands these. If you use something like BetterTouchTool, then you can assign gestures (such as a three-finger swipe left or right) to these key presses, and get tab cycling across most of OS X.


4

Recent versions of Safari do not appear to display the lock icon or certificate unless all content loaded by the page is https. For example, if the page URL is https but it loads a JavaScript file via http, no lock icon. The only workaround I've found so far is to run the openssl command in Terminal, like this: openssl s_client -connect ...


4

Open Safari and choose Safari > Preferences > Advanced. Then select the checkbox 'Show Develop menu' in menu bar. Choose Develop > Show Error Console.


4

I think what Rob is getting at and what I think might be happening is that you have some malware (virus, etc) on your Mac (yes they do exist) that could be adding things to web pages. It could be as simple as a browser extension or plug-in with some hijacking code in it, or something more system wide. you could try resetting Safari (from the Safari menu ...


4

Just noting that Safari 8 has an option to import directly from Chrome. In Safari, select File > Import From from menu bar.


4

Safari’s Private Browsing doesn’t work in the same way as the other browser Private Browsing. For example, Chrome’s Incognito Mode creates a separate new session that all the data will be deleted after the browsing session (the website can still track your actions from the IP address in that mode). While Safari forbid website from creating/writing a file ...


4

Go to Safari Preferences → Search and disable Show Favourites.


4

Just enable Show Developer Menu in Safari's Preferences, Advanced tab. It will enable the option Inspect Element when you right click the page. You can also start it with Command+Option+I. You can get more info about this option in Safari for Developers - Tools and Safari Web Inspector Guide: The Develop Menu.


4

Go to View → Hide Status Bar or press ⌘/


4

You won't be able to do it in AppleScript : Safari only does something on open windows. You should definitely look at Command line scripts like curl. The AppleScript to call a shell command takes the form: set variableName to do shell script "command" So using your AlertURLString you'd want something like: set curlOutput to do shell script "curl '" ...


4

This is an add on to @thee's answer. You can add the css code in their answer without third party apps or a Developers id. create a .css file by pasting the code as plain text in to a text file. You can use TextEdit.app to do this. Save the file as a .css Then in Safari got to Preferences> Advanced tab. And using the drop down menu> Other.. of the ...


3

Command-Shift-click takes you to the newly-opened tab.


3

Using Safari: Copy this in its entirety to your clipboard on your iOS device: ...


3

You can get rid of it without giving in to Apple‘s desire for you to “Try Now”. Even if you click the button, they will ask you to change your default and may still ask again at a later time. I have explained it in much greater details on my blog but the gist of it are these three commands: defaults write com.apple.coreservices.uiagent ...


3

You can enable "Develop" menu in Preferences > Advanced. Then you can select choose the User Agent to be iPhone or whatever. And then resize the window appropriately: Edit: This doesn't get around the minimum width for the window. Here is a workaround. Go to View > Show Sidebar. This pulls out the sidebar, which can be resized making the viewport ...



Only top voted, non community-wiki answers of a minimum length are eligible