• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting rid of web page warning - Opening .html pages stored on drive -
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting rid of web page warning - Opening .html pages stored on drive -


  • Subject: Re: Getting rid of web page warning - Opening .html pages stored on drive -
  • From: Joe <email@hidden>
  • Date: Mon, 04 Apr 2011 08:41:29 -0700

At 1:50 PM -0700 4/3/11, DealTek wrote:
>I sometimes save web pages to the desktop (safari or FF) - whenever I double click to open one - I always get a dialog .... are you sure you want to open this web app...?
>
>How do I disable this security dialog?
>
>this says it's for 10.5 only. I set it up as folder action in 10.6.6 but it does not work


I found this script on Mac OS X Hints a couple of years ago. It still works for Snow Leopard (I'm on 10.6.7).

on adding folder items to thisFolder after receiving addedItems

 repeat with anItem in addedItems
  set anItem's contents to (quoted form of POSIX path of (anItem as alias))
 end repeat

 set AppleScript's text item delimiters to " "
 do shell script "xattr -d com.apple.quarantine " & (addedItems as text)

end adding folder items to
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Getting rid of web page warning - Opening .html pages stored on drive - (From: DealTek <email@hidden>)

  • Prev by Date: Getting Mail ID
  • Next by Date: Re: Mail Rules and getting ID number
  • Previous by thread: Getting rid of web page warning - Opening .html pages stored on drive -
  • Next by thread: Re: Getting rid of web page warning - Opening .html pages stored on drive -
  • Index(es):
    • Date
    • Thread