Author Topic: WarnAboutCookies in firefox!  (Read 2823 times)

0 Members and 1 Guest are viewing this topic.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33895
  • malware fighter
WarnAboutCookies in firefox!
« on: June 14, 2007, 10:17:16 PM »
Hi malware fighters,


Some people prefer to be warned when a website wants to set a cookie. Even though the option does not appear in Firefox, this is another feature from the Mozilla Application Suite that is in the back-end code for Firefox.
To enable cookie warnings in Firefox:
Enter about:config in the location bar.
Right-click anywhere within the list of preferences and select New -> Boolean.

When you get asked to enter the preference name, enter:
network.cookie.warnAboutCookies

Set the value to true.

See the attached picture/ click to enlarge...
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: WarnAboutCookies in firefox!
« Reply #1 on: June 14, 2007, 11:15:35 PM »
With a little bit more options, exception list, exclude when exiting, etc., try CookieSafe from http://forum.softwareblaze.com/
The best things in life are free.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33895
  • malware fighter
Re: WarnAboutCookies in firefox!
« Reply #2 on: June 20, 2007, 08:31:56 AM »
Hi Tech,

Joined their webforum, so you will hear from me soon.

polonus
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

neal62

  • Guest
Re: WarnAboutCookies in firefox!
« Reply #3 on: June 20, 2007, 09:17:42 AM »
Thanks for this bit of info Polonus. I was able to do what you mentioned in my browser Flock, vs 0.7.14 as you said could be done in Firefox. I was also able to do it in Firefox. In SeaMonkey vs. 1.1.2 when doing this the browser WARNS you to be careful, that making changes could make the browser unstable, loss of data, etc. But, once you read that you can continue on and make the change as in the other browsers.
« Last Edit: June 20, 2007, 09:23:58 AM by neal63 »

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33895
  • malware fighter
Re: WarnAboutCookies in firefox!
« Reply #4 on: June 20, 2007, 07:45:34 PM »
Hi neal63,

yes, my friend, I knew you are into tweaking your Mozilla browsers a bit now, and good for you. Why don't you install a better url bar: locationbar2 add-on, use the error console2 add-on also that fixes a dozen or so bugs at once, and plays perfectly along JSView (I joined their forum recently). I also clean all traces from the browser after every computer session using Clear Private Data, together with an ATF-Cleaner & IECache Explorer Sweep before I close the browser down. I also have put this code as filter.JS inside the Flock components folder.
Code: [Select]
/*
   Very slow filtering function for unordered lists
   Dobrica Pavlinusic, dpavlin@rot13.org 2004-09-06
*/

function filter(document, id, regex) {

var min_len = 1;
var debug = 0;

// get UL element by ID
var ul = document.getElementById(id);
if (! ul) { return; }

// get all LI elements
var li = ul.getElementsByTagName("li");

// get out if too few characters in search
if (regex && (regex.length < min_len || regex == '') || !regex) {
regex = '.';
// return;
}

var status = "";

if (debug) { status += "filter: '"+regex+"'<br>"; }

var total = 0;
var visible = 0;

if (debug) { status += "elements = "+li.length+"<br>"; }

if (regex) { var reg = new RegExp(regex, 'i'); }

for (var i = 0; i < li.length; i++) {

var text = li[i].innerHTML.replace(/<[^>]+>/g,"");
if (debug) { status += i+": "+text; }

total++;

if (reg && reg.test(text)) {
li[i].style.display = '';
visible++;
if (debug) { status += " <b>visible</b> " };
} else {
li[i].style.display = 'none';
if (debug) { status += " hidden " };
}
if (debug) { status += "<br>"; }

}

status += "shown "+visible+" of "+total+" entries for <em>"+regex+"</em><br>";

var status_div = document.getElementById("status");
if (status_div) {
status_div.innerHTML = status;
}
}

so Neal, enjoy,

polonus
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48541
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
Re: WarnAboutCookies in firefox!
« Reply #5 on: June 21, 2007, 11:26:59 PM »
Thanks Damien,
I've added this tweak to my Firefox.  :)

Hopefully the following link will make this enhancement available to every one.
Even those that aren't as well versed in code as you.  :)
http://mysharedfiles.no-ip.org/CookieWarningForFirefox.html
Free Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33895
  • malware fighter
Re: WarnAboutCookies in firefox!
« Reply #6 on: June 21, 2007, 11:36:38 PM »
Hi bob3160,

This will be very helpful for a load of users that see the functionality of this. You dotted the i's and crossed the t's here, Bob. Thanks,

polonus

P.S. Click the picture for animation..
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!