MozillaZine

Cookies *are* delicious delicacies, dammit!

Talk about add-ons and extension development.
Greg K Nicholson

User avatar
 
Posts: 1328
Joined: September 28th, 2003, 8:58 am

Post Posted July 25th, 2004, 2:58 pm

http://www.squarefree.com/archives/000520.html

The great thing about Firefox is that we don't have to stand for this sort of nonsense - is anybody up for making an extension that reinstates the proper description? :)

kstahl
Moderator
 
Posts: 1521
Joined: December 22nd, 2003, 5:27 pm
Location: Stockholm, Sweden

Post Posted July 25th, 2004, 3:25 pm

:-D

Rowne Mastaile

User avatar
 
Posts: 1434
Joined: December 21st, 2003, 3:05 pm
Location: Housed in a swirling neosma of scintillating thought and turgid ideas.

Post Posted July 25th, 2004, 3:30 pm

This is the result of a new entry in en-US.jar by the sound of it. Here's a slightly older version of en-US.jar [link].

How to install:

Close Firefox.

Open your Firefox folder.

If you're not sure how, try this:

Click Start.

Click Run.

"%SystemDrive%\Program Files\Firefox\chrome"

If that yields nothing try...

"%SystemDrive%\Program Files\Mozilla Firefox\chrome"

If that yields nothing, let me know.

Now, see the en-US.jar? Rename it to en-US.old. Drop in the file I've provided above. Start Firefox.

If you have any difficulties, delete en-US.jar and rename old back to jar.

Greg K Nicholson

User avatar
 
Posts: 1328
Joined: September 28th, 2003, 8:58 am

Post Posted July 25th, 2004, 4:46 pm

Rowne Mastaile wrote:This is the result of a new entry in en-US.jar by the sound of it.

Yes. I've done some digging, and the relevant file is Mozilla Firefox\chrome\en-US.jar\locale\browser\pref\pref-privacy.dtd
I opened that up using 7-zip and Notepad, searched for "cookies" and altered the appropriate chunk of text.

Unfortunately, next time I upgrade Firefox (i.e. next time there's a nightly or anything new that's of interest) that change will be gone. If only I knew how to make a simple extension like this... :)

Rowne Mastaile

User avatar
 
Posts: 1434
Joined: December 21st, 2003, 3:05 pm
Location: Housed in a swirling neosma of scintillating thought and turgid ideas.

Post Posted July 25th, 2004, 5:18 pm

This is true... you could ask one of the custom builders to include this change. Aside from that, I tried. I just simply don't know how to do it without overlaying that chunk of the options interface and there has to be a better way than that...

I just don't know it. Someone will.

Robert S.

User avatar
 
Posts: 4399
Joined: April 24th, 2004, 3:04 am
Location: Bay Area, CA

Post Posted July 25th, 2004, 5:52 pm

It would also be simple enough to create a script that extracted the file, replaced the text, added the file back... then it would be one less extension loading... etc.

Rowne Mastaile

User avatar
 
Posts: 1434
Joined: December 21st, 2003, 3:05 pm
Location: Housed in a swirling neosma of scintillating thought and turgid ideas.

Post Posted July 26th, 2004, 1:07 am

That's actually a very good idea. The question is though; how would I snag the Firefox directory? I suppose I could put in a configurable SET def then package the thing up with the (complete) 7z command-line package.

I could make an XPI of this, couldn't I? I could put the 7z files and the batch under a subdirectory in components then I'd just have to ..\..? I think I'll try that.

sasquatch
 
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post Posted July 26th, 2004, 2:41 pm

This is a bug which was fixed just recently.

Greg K Nicholson

User avatar
 
Posts: 1328
Joined: September 28th, 2003, 8:58 am

Post Posted July 26th, 2004, 3:12 pm

sasquatch wrote:This is a bug which was fixed just recently.
I know - it should be unfixed immediately :P

sasquatch
 
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post Posted July 26th, 2004, 3:16 pm

Huh?

Greg K Nicholson

User avatar
 
Posts: 1328
Joined: September 28th, 2003, 8:58 am

Post Posted July 26th, 2004, 3:39 pm

sasquatch wrote:Huh?
It'd be "fun" if there was an extension to reinstate the description "Cookies are delicious delicacies.".

sasquatch
 
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post Posted July 26th, 2004, 3:43 pm

Why?

I can't believe something like that would be there in the first place. It makes the "product" seem less professional. I can't imagine some IT person bringing this to their boss with that in the code. :er:

Greg K Nicholson

User avatar
 
Posts: 1328
Joined: September 28th, 2003, 8:58 am

Post Posted July 26th, 2004, 3:47 pm

sasquatch wrote:Why?
'Cos it'd be... fun.
sasquatch wrote:I can't believe something like that would be there in the first place. It makes the "product" seem less professional.
...but more fun.
sasquatch wrote:I can't imagine some IT person bringing this to their boss with that in the code. :er:
They needn't install such an extension then.

johnleemk
 
Posts: 1464
Joined: October 29th, 2003, 6:19 am
Location: Malaysia

Post Posted July 27th, 2004, 3:57 am

Let Firesomething handle this! :p It could become the TBE (one size fits all) for people who want utlimate control over browser wackiness. :p
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050205 Firefox/1.0+

Greg K Nicholson

User avatar
 
Posts: 1328
Joined: September 28th, 2003, 8:58 am

Post Posted July 27th, 2004, 6:18 am

johnleemk wrote:Let Firesomething handle this! :p It could become the TBE (one size fits all) for people who want utlimate control over browser wackiness. :p
Yeah - I'm up for that. I actually tried mercilessly hacking Firesomething, but my unlearnèd "I wonder what this big, red button does" approach yielded nothing.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 0 guests