Celebrating three decades of enterprise integration, management, and security specialization.
+1 (817) 478-5070
Safari can’t open the page.
Safari can’t open the page “https://nrows.sscno.nmci.navy.mil/nrows/secure/login.jsp” because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again.
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"
open /Applications/Google\ Chrome.app --args -user-agent="Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:2.0) Gecko/20110307 Firefox/4.0" https://nrows.sscno.nmci.navy.mil/nrows/
set myURL to "https://nrows.sscno.nmci.navy.mil/nrows/"
tell application "System Events"
set processList to name of every process
if processList contains "Google Chrome" then
set theReturnedItems to (display dialog "Google Chrome is already running." & return & "Would you like to quit and relaunch it?" default button "Cancel")
set theButtonName to the button returned of theReturnedItems
-- If user clicks "Cancel", this part of the script is never executed.
-- This gets the path to Google Chrome. Unfortunately, it also launches the app.
set myGoogleChromePath to POSIX path of (path to application "Google Chrome")
tell application "Google Chrome" to quit
set myCommand to "open " & quoted form of (myGoogleChromePath)
set myAgent to "--args -user-agent=\"Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:2.0) Gecko/20110307 Firefox/4.0\""
set myscript to myCommand & " " & myAgent & " " & myURL
do shell script myscript
Users browsing this forum: No registered users and 2 guests