Tag Info

Hot answers tagged

22

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 ...


9

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


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

Go to Safari Preferences → Search and disable Show Favourites.


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 ...


7

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 ...


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.


6

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.


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

There may be other ways to do this, but a simple way would be to create your own homepage, which could look anyway you like. Then, just set the Homepage in Safari to point at that file. Make a file called "home.html" with these contents: <!DOCTYPE html> <html style="background:#333;"> <head> <title>New Tab</title> ...


4

When the list of suggestions comes up use the up/down arrow keys to scroll through the options. Press Enter to accept the currently highlighted option.


4

command+return in Firefox is not really autocompletion: it just adds .com From Keyboard shortcuts - Perform common Firefox tasks quickly: Miscellaneous Complete .com Address: command + return Complete .net Address: shift + return Complete .org Address: command + shift + return Safari does not offer this feature. With the down arrow you can choose ...


4

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


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 ...


4

I noticed that too, and did the following to "solve the problem" (it's not a problem for some people though :P ): In System Preferences, open Spotlight. In Search Results tab, disable Bookmarks & History. Then restart. After that, Safari Web Content process won't be active when Safari is not open.


4

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


4

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 ...


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

If you had an alert dialog appearing with an OK button, then this AppleScript code would close it. tell application "System Events" to tell process "Safari" if exists (button "OK" of window 1) then click (button "OK" of window 1) end if end tell You'll likely need to customise this to fit your exact situation. If the alert dialog appears ...


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 '" ...


3

I use the same bash command as Neglectogram above, but used it within a somewhat primitive script I wrote, which uses Pocket's "add by email" solution as outlined in the other answer to this post. I go in to detail here as there seems to be a demand for a solution to this and such I want even novice users to be able to use this (if it works properly). My ...


3

You can set it with defaults write: defaults write com.apple.Safari CustomUserAgent "\"useragentstring\""


3

"Save as PDF" is essentially a digital copy of what you get if you were to print a specific page from Safari. This includes extra headers/footers that include the date, webpage, number of pages, web address, etc. "Export as PDF" is a simple snapshot of the page as is and does not include all of those extra details. From the few pages I've compared the ...


3

To go to the previous tab, press ⌘ Command ⇧ Shift ← Left To go to the next tab, press ⌘ Command ⇧ Shift → Right Traveller’s note : These keyboards equivalents may be reversed in a right-to-left environment.


3

This is spam, introduced by an extension, through superfish.com. AdBlock is not the cause! AdBlock blocks the injected ad, so the extension inserts the text equivalent. Disabling AdBlock will remove the text, because it allows the original injection to take place, and will decrease page load time as the secondary text injection is no longer required. ...



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