Removing Specific Cookies from Firefox
Firefox allows you to remove all
HTTP cookies, cookies
for one particular site, or even individual cookies associated with a particular
site which may have placed multiple cookies on your system. To remove cookies,
follow the process below.
Note: this procedure was written for Firefox 3.6, but may apply to other
versions as well.
- Open Firefox.
- Click on Tools and select
Options.
- Click on Privacy.
- There will be a "remove individual cookies"
link in the middle of the Options window; click on it.
- Search or scroll through the list until you
find the relevant website. You can search on a domain name,
e.g., example.com.
- If you want to delete all cookies for a
particular website, highlight its
entry by clicking on it, then click on the Remove Cookies button.
If yo wish to remove only certain cookies for a website, click on the rightward
pointing triangle next to it or double-click on the entry to reveal the
individual cookies associated with the website. Click on one you want removed
to highlight it, then click on the Remove Cookie button.
- Click on the Close button when
you have removed all the cookies you wish to remove.
- Click on the OK button to close the
Options window.
[/network/web/browser/firefox]
permanent link
Paypal Cookie Problem
A user reported that she could not access
PayPal. She received the error message below:
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cookie: Apache=10.190.8.162.1308261499204052; ...
She was using Firefox 8.0. I had her try accessing the site with
Internet Explorer. She was able to access the site via Internet Explorer,
so I then deleted all of the cookies stored for
paypal.com by Firefox.
The following procedure will allow you to delete all of the cookies
for a particular site, such as PayPal, in Firefox.
- Click on Tools.
- Click on Options.
- Select Privacy.
- Click on "remove individual cookies"
- Cick on "paypal.com" or whatever site for which you wish to remove
all cookies.
- Click on the Remove Cookies button
- Click on Close
- Click on OK
[/network/web/browser/firefox]
permanent link
Read It Later Firefox Addon
If you would like to be able to save webpages you come across for later reading,
if you are using Firefox, you can use the
Read It Later Add-on for Firefox.
[ More Info ]
[/network/web/browser/firefox/addons]
permanent link
HttpFox Firefox Addon
If you need to observe the data flowing between a website and your
browser when you visit a website, if you are using Firefox, you
can use the
HttpFox Add-on for Firefox.
[ More Info ]
[/network/web/browser/firefox/addons]
permanent link
Firefox and SQLite
Starting in Firefox 3, bookmarks and browsing history are stored in the
places.sqlite file,
located in the
Firefox profile folder. On a Windows 7 system, the file will be in
a directory similar to
C:\Users\AcctName\AppData\Roaming\Mozilla\Firefox\Profiles\q3wdrb9w.default.
AcctName will be the name for the particular account.
The
\q3wdrb9w.default is a specific example; you would see a
sequence of 8 numbers and letters that is unique to a particular profile on
that system followed by
.default. Note: you will have to turn on
the display of hidden files and folders to see the directory (see
Show hidden files for instructions on how to do this for
Windows 7).
Places.sqlite is used in Firefox 3 instead of the older
bookmarks.html and
history.dat files (the older
files are left in the profile folder for backward compatibility).
I opened a places.sqlite file with
SQLite. Note: Firefox must be closed
when you try opening the file or you will get the error message "Error:
database is locked".
C:\Users\Administrator\Downloads>sqlite3 C:\Users\Administrator\AppData\Roaming\
Mozilla\Firefox\Profiles\q3wdrb9w.default\places.sqlite
SQLite version 3.6.23
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>
I then used .tables to see what tables were in it.
sqlite> .tables
moz_anno_attributes moz_favicons moz_keywords
moz_annos moz_historyvisits moz_places
moz_bookmarks moz_inputhistory
moz_bookmarks_roots moz_items_annos
The places.sqlite file contains the following tables:
- moz_anno_attributes - Annotation Attributes
- moz_annos - Annotations
- moz_bookmarks - Bookmarks
- moz_bookmarks_roots - Bookmark roots i.e. places, menu, toolbar, tags,
unfiled
- moz_favicons - Favourite icons - including URL of icon
- moz_historyvisits - A history of the number of times a site has been
visited
- moz_inputhistory - A history of URLS typed by the user
- moz_items_annos - Item annotations
- moz_keywords - Keywords
- moz_places - Places/Sites visited - referenced by moz_historyvisits
You can see what the columns are in a table using the .schema
command, so I can use .schema moz_bookmarks for further information
about the "bookmarks" table.
sqlite> .schema moz_bookmarks
CREATE TABLE moz_bookmarks ( id INTEGER PRIMARY KEY, type INTEGER, fk INTEGER D
EFAULT NULL, parent INTEGER, position INTEGER, title LONGVARCHAR, keyword_id INT
EGER, folder_type TEXT, dateAdded INTEGER, lastModified INTEGER);
CREATE INDEX moz_bookmarks_itemindex ON moz_bookmarks (fk, type);
CREATE INDEX moz_bookmarks_itemlastmodifiedindex ON moz_bookmarks (fk, lastModif
ied);
CREATE INDEX moz_bookmarks_parentindex ON moz_bookmarks (parent, position);
CREATE TRIGGER moz_bookmarks_beforedelete_v1_trigger BEFORE DELETE ON moz_bookma
rks FOR EACH ROW WHEN OLD.keyword_id NOT NULL BEGIN DELETE FROM moz_keywords WHE
RE id = OLD.keyword_id AND NOT EXISTS ( SELECT id FROM moz_bookmarks WHERE keywo
rd_id = OLD.keyword_id AND id <> OLD.id LIMIT 1 );END;
A diagram of
the layout of the tables provides further information as does the
The Places
database.
I can see that there is a column named "title". So I can view the value for
"title" for all entries in the table with select title from
moz_bookmarks. Note: you may see a lot of what may appear to be
extraneous bookmarks, i.e. webpages not bookmarked by the user. That's because
you also see what you would see if you clicked on Bookmarks,
Bookmarks Toolbar, Latest Headlines.
You can exit from sqlite with .exit, .quit,
or Ctrl-C.
If you prefer a GUI
to browse SQLite databases, you can use
SQLite Database
Browser, which can provide a graphical interface for browsing the
databases on a Windows system.
To install the program, just unzip the files in the .zip file, once you've
downloaded it, to the directory you want to use for it.
References:
-
SQLite
-
Locked or
damaged places.sqlite
MozillaZine Knowledge Base
-
Places.sqlite
MozillaZine Knowledge Base
-
The Places
database
Mozilla Developer Center
-
SQLite Database
Browser
SourceForge
-
Improving
Iceweasel Performance
April 3, 2009
Zenwalk Support
[/network/web/browser/firefox]
permanent link
Web Developer Extension for Firefox
The
Web
Developer extension for Firefox adds a menu and a toolbar to the browser
with various web developer tools. It is designed for
Firefox,
Flock and
Seamonkey, and will
run on any platform that these browsers support including Windows, Mac OS X
and Linux.
You can install the extension by simply clicking on the
link for it. When it
is installed, you will be notified you should restart Firefox to complete
your changes.
The extension provides the capability for one to easily view the
headers or CSS information for
a page, check for
Section 508 compliance, display the dimentions of images on the page,
and many other capabilities useful to web developers.
[ More Info ]
[/network/web/browser/firefox]
permanent link