Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

In Safari how do you turn a page 90 degrees?...

In Safari how do you turn a page 90 degrees?...

27 inch iMac 3.2GHz Intel Core i3, Mac OS X (10.6.6)

Posted on Jan 22, 2011 1:48 AM

Reply
15 replies

Jan 23, 2011 4:08 PM in response to thezak

you can rotate a page in safari using webkit. there are two methods to this:

method #1

a) open Safari preferences, click Advanced, and select “Show Develop menu in menu bar.”
b) open apple home page
c) open developer console by hit *command + option + c*
d) copy + paste the following then hit return key:

bodyStyle = document.body.getAttribute('style'); document.body.setAttribute('style', bodyStyle + ' ; -webkit-transform: rotate(270deg);');

--------------------
method #2
do javascript in applescript, run the following applescript editor:


tell application "Safari" to do JavaScript "
bodyStyle = document.body.getAttribute('style'); document.body.setAttribute('style', bodyStyle + ' ; -webkit-transform: rotate(270deg);');
" in front document

-------------------
you can use method #1 in chrome also.

Jan 24, 2011 5:51 PM in response to andyBall_uk

if you use the code with applescript ie method #2, you can access it from script menu by saving the script in:

~/Library/Scripts/Safari/

~/ == your home folder

to turn on the script menu:

1) Choose AppleScript Editor > Preferences.
2) Click the General tab.
3) Select the “Show Script menu in menu bar” checkbox. Make sure the “Show Computer scripts” checkbox is selected.
4) To set the location in the menu where application scripts are displayed, select either Top or Bottom, in the “Show application scripts at” section.

any time you are in safari, you can access the script from script menu, it's all about knowing the tools you have.

Mar 9, 2015 6:46 PM in response to thezak

Best way, install Chrome browser, and

in chrome browser, you can right click the pdf and select rotate (clockwise / anticlockwise), hope that helps


and other's(~Bee)

Ask not why you need answer how to do it. There are many things when you need something because you like it that way.


For his question, i view a lot of pdf online, and i wish not to clutter my download and then rotate the document, i wish to see if the page /pdf is worth downloading then download... That might be one of his reasons ...

In Safari how do you turn a page 90 degrees?...

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.