Permalink
Browse files

Comment out part of this script until Firefox regains proper Applescr…

…ipt support, will continue to work if assistive devices support is enabled.

git-svn-id: http://svn.textmate.org/trunk/Bundles/HTML.tmbundle@11795 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 8aa9fa0 commit a60af247568a00af51f5873ea9c3ce5f7e69383b @infininight infininight committed Oct 28, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 Commands/Refresh All Active Browsers.plist
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
@@ -23,7 +23,8 @@ ps -xc|grep -sqi firefox &amp;&amp; osascript &lt;&lt;'APPLESCRIPT'
keystroke "r" using command down
-- Fails if System Preferences &gt; Universal access &gt; "Enable access for assistive devices" is not on
else
- tell app "Firefox" to Get URL "JavaScript:window.location.reload();" inside window 1
+ -- Comment out until Firefox regains Applescript support
+ -- tell app "Firefox" to Get URL "JavaScript:window.location.reload();" inside window 1
-- Fails if Firefox is set to open URLs from external apps in new tabs.
end if
end tell

0 comments on commit a60af24

Please sign in to comment.