Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Add a 'Print' button to Safari's bookmarks bar Web Browsers
After reading a previous hint on Internet Explorer and a comment on how safari lacked a print button and remembering the post on bookmarklets I tried the following: copy the following line of script to text edit then drag it to your bookmarks bar (I put it to the far left) to make fast clickable printing...just click it to print
 javascript:window.print() 
Name the bookmark something like "Print" It's simple....but useful (if you like having a print button) enjoy! ob1cannoli@optonline.net
    •    
  • Currently 2.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[14,089 views]  

Add a 'Print' button to Safari's bookmarks bar | 13 comments | Create New Account
Click here to return to the 'Add a 'Print' button to Safari's bookmarks bar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add a 'Print' button to Safari's bookmarks bar
Authored by: swanksalot on Apr 05, '04 11:06:33AM

you actually can just copy this text to the Safari Address field, and drag and drop from there (no need in opening a text editor)



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: cybergoober on Apr 05, '04 11:21:51AM

Actually I was able to just select the text and drag and drop onto the Bookmarks Bar. The sheet came up to name it, I named it Print.

Seems to work…



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: tthiel on Apr 05, '04 01:23:59PM

Nice tip. I now have a print and an e-mail button on my Safari bar.



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: trandolph on Apr 05, '04 01:39:23PM

how do you add an "email" button?



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: Dale Sorel on Apr 05, '04 03:14:01PM
I think this is it: javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href)

[ Reply to This | # ]
Add a 'mail' button to Safari's bookmarks bar
Authored by: rgray on Apr 05, '04 07:47:29PM
Add a 'mail' button to Safari's bookmarks bar
Authored by: rgray on Apr 05, '04 07:50:01PM
Doh! See

[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: paulrob on Apr 05, '04 01:46:07PM

Not quite on the same topic - but type "file://" into a bookmark in the bookmark bar, and then enter the POSIX path to a folder containing a set of Safari scripts that you might wish to use. Call it "Script Menu." When clicked Safari opens the folder in a Finder window. Put this window into "list" mode. Taduh! Script menu for Safari (well almost.)

What would be really useful is a bookmarklet to run the script (as an app) from Safari. Any Javascripters know what to do, or is this a non-starter?



[ Reply to This | # ]
Cmd shortcut for script in a bookmark
Authored by: dzurn on Apr 06, '04 09:49:37AM

Drag the bookmark to the far left (first position) on your bookmark bar. Now type Cmd-1.

Report back on your results ;)

---
Madness takes its toll.
Please have exact change.



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: jgross on Apr 05, '04 04:17:49PM

I've tried the button. It does not work for me.

Does it run on Jaguar?



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: suricatta on Apr 05, '04 05:33:15PM

Yes it works in Jaguar. I just copy/pasted it into my address bar and dragged it onto the bookmarks bar. The menu opened up asking what I wanted to name it.



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: MVasilakis on Apr 06, '04 03:57:09PM

Any way to make a "Print to .pdf" bookmark. Possibly using the title of the page?
Ooooh that would be nice.



[ Reply to This | # ]
Add a 'Print' button to Safari's bookmarks bar
Authored by: u2mr2os2 on Dec 16, '04 10:41:59AM
I found this hint does not work if you are viewing an image directly like: http://www.skyhound.com/sh/2004_Q2.gif. The Safari browser window became unresponsive, but I could quit it via its menu. It may be that it works when viewing web pages, but not images directly.

[ Reply to This | # ]