|
|
Saving and Restoring Tabs in Safari - Documented and Improved
-- Restore Tabs in Safari
Do let me know if you find this useful or you have any additional improvements.
Saving and Restoring Tabs in Safari - Documented and Improved
I just spent a couple of hours trying to figure out why these scripts I wrote no longer works in version 1.3 (current version as of this date) of Safari. I found several things that have changed. The one detail I can't seem to get is to figure out whether a particular tab is selected. The tab object used to have a value of true if it was the current tab. This is no longer the case, and I can't figure out how to get around this. If anyone knows how to detect whether the first tab in the window is selected please let me know. Comparing the url doesn't work because the url may not be unique.
Saving and Restoring Tabs in Safari - Documented and Improved
I added some checks on the url field and tab field indexes (that may change with Safari's different view options).
Also: modified the prefs file dialog to be more configurable.
For the time being, the script works
(until Apple, in their wildest fantasies, change Safari's dicitonary again)
for Safari 1.3+ int.
Eelco Houwink
Saving and Restoring Tabs in Safari - Documented and Improved
The "restore" script that adheres to this prefs-file location is:
Saving and Restoring Tabs in Safari - Documented and Improved
This script stalls out and does not progress past the first tab. It seems to loop without incrementing the tab. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.30 seconds |
|