Javascript in Safari - Windows n iMac

How different is Javascript behaviour in Safari - Windows and Safari - iMac?? 

What do you mean? Javascript is javascript. Javascript is not written for a specific browser or OS. I think if you are seeing differences in page layout it has more to do with how the browser handles CSS and HTML rather than how it handles javascript.
A quick Google search for "windows safari javascript vs Mac" will yield several comparisons.

Similar Messages

  • When i open safari on my Imac if i also open an additional window, when i then close them down and reopen safari they both paper again.also if i then add additional windows the additional windows keep coming up too

    when i open safari on my Imac if i also open an additional window, when i then close them down and reopen safari they both paper again.also if i then add additional windows the additional windows keep coming up too

    If you are running v10.7 Lion, disable Resume >  How To Disable Lion's 'Resume' Feature - MacRumors.com

  • Why can't I install safari on my IMac running Windows 7 under Bootcamp

    Why can't I install safari on my IMac running Windows 7 under Bootcamp?

    http://support.apple.com/kb/DL1531?viewlocale=en_US&locale=en_US
    Is this the download you're trying?

  • IMac: How to open/save a Safari window of tabs on another screen page?

    I would like to open another Safari window on a new page in order to scroll between the two screens on my iMac.
    But when I open a new Safari window it opens ontop of the present Safari window ... (not - as hoped for - on a separate screen).
    Can I open and save a new window on another screen. Please advise me on this if possible. Thank you.

    Hello patongandy,
    It sounds like you are opening a new window in Safari, but it is opening on the main display and you would like to move it to your other monitor. You can do this with mission control as outlined in the following article:
    OS X: Using multiple displays in Mavericks
    http://support.apple.com/kb/HT5891
    Using Mission Control to organize windows and full-screen apps
    App windows are assigned to a single space. You can use Mission Control to see all of the Spaces assigned to each display and to move them. To move a Space, drag it from one display to the other.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Stop "Open in Dashboard" widget from opening new Safari window when viewed

    Hi,
    For the first time, tried Safari's "open in dashboard" to make a widget showing an area of a webpage that updates information frequently.
    It worked, but now whenever the Dashboard is viewed, something in the code opens up a new Safari window, even starting up Safari first if need be. (Because of the url, I suspect some javascript is trying to set a third-party tracking cookie.) Safari preferences don't appear to matter.
    Any way to prevent this?  2010 iMac/10.6.5/Safari 5.0.3.
    Thanks.

    Thanks for replying, but that isn't the answer I am looking for.  Also, there is no + sign, UNLESS you do tap the overlapping boxes.
    Let me try to ask my question a little more clearly:
    When I tap the two overlapping boxes on the lower left (the option to Open New Windows), the new Window that appears will show your Bookmarked FAVORITES. But with my new iPhone 6, and the new iOS 8.0.2, when I tap the two boxes to open a New Window, my Bookmark Favorites show (as they always have and should), but below them, there is a dividing line underneath them, and it says Recently Viewed Websites, and has these websites available to tap.
    So my question is, HOW DO I TURN THESE OPTION OFF?
    *UPDATE  (10.13.14): Since I have asked this question, I no longer see these Recently Viewed Websites under my Bookmarked Favorites in my new Window tabs. So I hope that Apple fixed it, or somehow it was a mistake, or somehow I changed an Option on my iPhone 6 that stopped this for reoccurring.
    Thank you for your help bobseufert! I appreciate your concern, kindness, and the time to try to help. I am grateful.
    Have a blessed day.

  • AppleScript: How to reload a Safari window without bring the window to the foreground while I am on other Desktop space

    I want to write an AppleScript to achive a simple task. That is, I open a Safari window on Desktop 1 and automatically reload every 30 minutes while I do my dialy work on desktop 2.
    Here is my script:
    tell application "Safari"
        activate
        tell application "System Events"
            tell process "Safari"
                keystroke "r" using {command down}
            end tell
        end tell
    end tell
    This script works. However, whenever the script is executed, my current Desktop 2 will be brought back to Desktop 1. It is distracting to my workflow.
    Is there any way to just let Safari to reload in the background without bring Safari window to foreground on Desktop 1?
    I have done a coumple of researches; many of them say I should not use "activate" in my script. I tried that but then the script will just do nothing.

    Hi, Hiroto
    your approach works perfectly fine. Thank you.
    I just found there is also a more generic approach without tweaking of javascript or any third party scripting language involed:
    #!/usr/bin/osascript
    tell application "Safari"
        set docUrl to URL of document 1
        set URL of document 1 to docUrl
    end tell
    From there, I can do a simple cron job task now.

  • Safari windows don't fill up screen when zoom button is clicked

    Hello, when I use the MacMini I have at work and click the zoom button on a Safari window if fills up the screen, except for the dock, but when I do that on my iMac at home it shrinks and moves the window to the lower left corner below the display edge. If there were a way to attach grab shots I could post it on here. Any idea what would be causing this? Thanks!!

    HI,
    There isn't any full screen mode for Safari alone, you would need to download and install Glims so you can enable the Full Screen Mode and it works like a charm.
    Go here: http://www.machangout.com/
    "Adds full-screen browsing capability"
    Carolyn

  • Lost Safari Bookmarks on iMac

    I have lost all my Bookmarks for Safari on my iMac (as well as on my iPhone).
    I was turning my iPad in to Gazelle.com for cash and was taking apps off of it. I wiped out something on it that affected my Safari Bookmarks, but I'm not sure what. I assume a setting on iCloud or something. Can't be sure.
    Anyway, how can I restore my Bookmarks in Safari? Any help is appreciated!
    OS X Version 10.9.3
    Current Safari Browser

    Triple-click anywhere in the line below on this page to select it, then copy it to the Clipboard by pressing the key combination command-C:
    ~/Library/Safari
    Quit Safari.
    Select
    Go ▹ Go to Folder
    from the Finder menu bar. Paste into the text box that opens by pressing command-V, then press return.
    A folder window should open. Restore the file named "Bookmarks.plist" in that folder from a backup that predates the unwanted changes.

  • When my most front window is a safari one and I use the shortcut key "Command N", it opens a new finder window and a new safari window at the same time. Why does it happen?

    When my most front window is a safari one and I use the shortcut key "Command N", it opens a new finder window and a new safari window at the same time. Why does it happen?

    I just found the solution!
    Niel
    Re: Why is my Finder window popping up when I open my Safari window? 
    Jan 20, 2008 7:58 PM (in response to alak)
    Open the General tab of the Safari preferences and correct the home page; the default page is this one. If it has become set to a folder on an FTP server or a local drive, that request will be sent to the Finder. (28252) 
    iMac Late 2007 Core 2 Duo, Mac OS X (10.5.1)

  • Size and position of Safari windows

    I don't think anyone's noticed the problem discussed at the end of a thread, outlined here:
    K H N Lim, "Enlarge Window Size" #3, 01:44pm Jul 28, 2005 CDT
    It's a problem a lot of people (okay, four of us) are having. Quick summary:
    "I launch Safari, resize the window and position it at the upper lefthand corner. Quit Safari and relaunch. Initially the window stays put, but after a while, the position shifts. And keeps shifting more and more toward the right of the screen with each subsequent launch."
    I've had the same problem and it makes it hard to switch from one app to another, with Safari shifting all over the screen and refusing to remember how it was positioned from launch to launch. Any ideas what's up?

    I used to be bugged by this too. Then I saw a message from someone who suggested the following applescript (with changes to coords to match your screen size and position you want). Mine is set for 1600 x 1024 resolution on my 22" cinema display. The coords are for top left corner and bottom right corner of the Safari window.
    Make a new bookmark, i.e. press COMMAND-D
    Specify that it should go in the bookmarks bar.
    Go to the bookmarks screen in Safari.
    Find the bookmark.
    Select the name (left side) and edit it to something like Window Position.
    Select the URL (right side) and paste in (without the quotes)
    "javascript:self.moveTo(190,0);self.resizeTo(1150,995)"
    Close the bookmarks window/screen.
    Click on "Window Position" in the bookmarks bar and the window will resize to specified size and position.

  • I Can't Open Tabs In Safari On My iMac?

    In Safari, if you press command (apple key) T a new tab will open up.
    I use this feature a lot on my MacBook but this feature will not work on my iMac.
    I have to press "command N" and that opens up a whole new page. I would like to just have all of my pages in one window instead of having 3 or 4 different ones.
    Any ideas how to get the tab feature to work in Safari on my iMac?
    Thanks,
    Sam

    Hi
    Goto safari's prefs/tabs and check "enable tabbed browsing"
    Tony

  • Opening a new Safari window

    Last year I downloaded a program that had a green icon that looks likes a round speedometer with "SS" on it. It is labeled "New Safari Window". When you click this, a new safari window opens. Can anyone tell me where to find this download? I have it on my imac but when I tried to transfer it to my macbook, it won't work there. Thanks

    Chris --
    Version Tracker is a great source of info like this.
    I went there and searched for "Safari".
    Here is the URL for what they came up with:
    Here

  • Just switched from safari on my imac. when using search menu safari gave me the option to "find on this page," which was an incredible help while doing research. Is there any way to have this feature using firefox?

    Just switched from safari on my imac. When using search menu in safari I had the option to "find on this page," which was an incredible help while doing research and looking for specific phrases/words. Is there any way to have this feature using firefox?

    I think Safari has the same keyboard shortcut as Firefox "command+F" on a Mac or "Ctrl+F" on Windows.
    Look in the lower left corner for the Find. There are more likely to be differences in Find Next and Find Previous in the keyboard shortcuts, but continuing at the Find bar at the bottom doesn't matter what browser you use. There is an "X" there to dismiss the Find bar. In Windows the "Esc" key will dismiss the bar if you are within the find text entry area.
    Keyboard shortcuts:
    * [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts?s=keyboard&r=0&as=s Keyboard shortcuts | How to | Firefox Help], from Mozilla very limited number of shortcuts but will show correctly for your system
    * [http://dmcritchie.mvps.org/firefox/keyboard.htm Firefox and other Browser Keyboard Shortcuts (Comparison Table)], more comprehensive but is oriented to Windows users with some guidelines for Mac and Linux users.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Magic Mouse won't scroll or swipe in email window, but works perfectly in Safari window.

    My Magic Mouse suddenly won't scroll or swipe in the email window, top or bottom part of the window, but behaves normally in the Safari window.  Replaced the Mouse batteries, 100% power, no difference.  iMac is 2008, pretty old, but was updated to 10.10.3 a month ago.  Bluetooth icon in upper right part of screen indicates Bluetooth is ON, and the Mouse is connected, as evidenced by proper operation in Safari.  No recent upgrades/changes to email that I'm aware of.
    Any suggestions?
    Thanks!

    I set up the new iMac with a time machine back up from a much older iMac, has this caused the problem? iCloud drive works perfectly on my macbook pro. Thanks for any advice.
    Then check, which MacOS X version your new Mac is running. To be able to use iCloud Drive, the system needs to be Yosemite, MacOS X 10.10.x
    To check the system version, click the -menu un the upper left corner of the Display and use the command -About this Mac.
    If you are running an earlier system, use upgrade to Yosemite from the App Store.

  • How to NOT open pdfs in Safari window.

    Hi,
    How can I set Safari to download pdfs and not have them automatically open within Safari windows.
    Yes, I  know that I can right click and save... but one does not always know that a link is a pdf in the first place.
    I have just got a new iMac two days ago and In the past, on my previous iMac,  I was able to open Terminal and type:
    defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES .... hit return, quit Terminal and restart Safari.
    But I tried that  - and still pdfs display in Safari's window..... maybe it is because I was running a slightly older version of Safari on  my last Mac.... currently I am using Safari 5.1
    I have search this forum and others but  after many hours, I cannot find  the answer..... anyone any ideas?
    Regards
    Derro

    Thanks for that and yes I am aware of  that option, however  that is very inconvenient and means  that one has to look at the Status bar EVERY time before you click on a link in oorder to determine if it is a link or a pdf..... alll very very  tiresome indeed.
    What one is looking for is that links will just open as expected and that if, IF , it happens to be a pdf link, that it will download it to the desktop ( or elsewhere) and then open itself in Preview....
    Any other ideas....
    Regards
    Derro

Maybe you are looking for

  • ASA 5505 switch from Mode: access Port to Trunk on the fly via CSM ?

                       Hi Can I configure the Port at the ASA 5050 from Mode: access Port to trunk during the FW is running in a production area without console access ? As I know at the 5505 ist should work sincerley Alfred

  • Error occured during extraction from APO to BI 7.0

    Hi Experts, I am in the process of extracting data from SCM(APO-Demand Planning) to BI .I have selected the relevant planning area 9ADP01 and given Generate Export DS in APO system and replicated the same in BI.But before scheduling the InfoPackage,w

  • Can I normalize a group of photos?

    One of my gigs is as a school photographer.  When looking at all the photos as a group there are slight variations in the levels and tones.  My way of dealing with this is to go through them in LR one by one and make adjustments to make them all look

  • How to change Sender mail addres in sapconnect.

    Hi, I have searched this and i have found a thread, but i cant see it because when i click the link, giving a message "No message Found". Can you open this thread? https://forums.sdn.sap.com/click.jspa?searchID=738174&messageID=1287908 Anyway, is it

  • Assign ACL Error in Oracle 11g R1

    Hi,      I am Using Oracle 11g Database Release 1 I have created a ACL in my Database, now I am trying to assign the acl using the below mentioned pl/sql script begin      dbms_network_acl_admin.assign_acl (           acl => 'utlpkg.xml',      host =