UsingMac.com

Mac Tricks and Tips, Wallpapers and Applications for Mac Users

Safari n' Javascript : Printing from Browser

Advertisements

Command-P or File → Print can be replaced by simple javascript or special button in Safari.

javascript:window.print();

The javascript above is usually used to open up printing pane in Mac. Whenever you want to print out a page displayed by your web browser, you can type the javascript above to your address bar and hit Return.

In Safari, you can instantly convert this single line javascript command into button. This can be done by simply dragging the globe icon (leftmost of the address bar) into Bookmarks Bar. Feel free to assign the name for this newly created button.

Categories: Tips and Tricks
Tags: Print

Subscribe to RSS Leave a Comment (0)

Related Entries

Some articles taken from our resource base, tightly related to current article, to empower you with more knowledge on tweaking the most out of your Mac.