Bookmark Location

A section for all development and testing programmes and customised browsers written by SillyDog701 community. Featured products including Donzilla, Firescape, DJGM Distro, and Netscape Streamline.

Moderator: Don_HH2K

Bookmark Location

Postby LongDaysNight » Wed 28 Sep, 2005 10:28 am

Hi everyone, I'm putting together a Netscape 7 package for deployment and I need to know how to change the bookmark location to the users homedrive and also modify bookmarks to include some. Does anyone have any info?? Thanks very much.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
LongDaysNight
junior member
junior member
 
Posts: 5
Joined: Wed 21 Sep, 2005 1:07 pm
Location: Northern VA

Postby Don_HH2K » Wed 28 Sep, 2005 3:46 pm

You can include bookmarks for new profiles by editing the bookmarks.html file in (installdir)/defaults/profile. For existing profiles, you'd need to somehow script them to change (personally I'd reccomend to use File I/O capability with VB scripting in Windows instead of using JavaScript from within Netscape).

AFAIK there isn't any way of changing the location of bookmarks.html, as that's controlled by compiled binaries and not scripts.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 Donzilla/0.8PR1 (WML/1.3; No IDN)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm


Return to SD701 DevZone

Who is online

Registered users: Google [Bot]