←February→
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
1 |
2 |
3 |
4 |
| 5 |
6 |
7 |
8 |
9 |
10 |
11 |
| 12 |
13 |
14 |
15 |
16 |
17 |
18 |
| 19 |
20 |
21 |
22 |
23 |
24 |
25 |
| 26 |
27 |
28 |
29 |
|
|
|
| ←2012→| Months |
| Jan |
Feb | Mar |
| Apr |
May |
Jun |
| Jul |
Aug |
Sep |
| Oct |
Nov |
Dec |
|
Thu, Jan 05, 2012 6:40 pm
Google Chrome for the Mac
Google Chrome is available for Mac OS X systems at
http://www.google.com/chrome/index.html?platform=mac&hl=en.
It is available in
Apple Disk Image
format, i.e., .dmg format as
googlechrome.dmg.
The following window opens when you click on the .dmg file.
If you double-click on the folder icon in the window, you will have the
option of selecting where Chrome should be insalled. The default location is
the Applications folder where applications are normally stored.
When you then double-click on the "Google Chrome" icon in the window, you will
have the option of installing the software or running it from the disk
image.
If you don't want to intall it, you can simply run it from the disk image,
since it will then be "mounted" as a drive within the
Finder
[/network/web/browser/chrome/os-x]
permanent link
Wed, Jan 04, 2012 11:05 pm
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
Tue, Nov 15, 2011 9:07 am
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
Fri, Sep 09, 2011 10:36 pm
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
Fri, Sep 09, 2011 10:26 pm
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
Thu, Nov 11, 2010 9:27 am
Zooming In and Out on a Webpage
If you are using Internet Explorer 8 and find a webpage hard to read,
because the text appears too small, you can "zoom in" on the webpage,
i.e., enlarge the font size, by hitting the Ctrl and "+" (plus)
keys simultaneously. You can zoom out, i.e., reduce the font size, by hitting
the Ctrl and "-" keys simultaneously.
A webpage designer can choose to specify fonts and their size for a webpage
or can rely on the user's browser to pick what is best for the user based
on the browser's default settings. So some pages may be harder to read than
others, if the webpage designer selected a font that is smaller than the
default size.
You can do the same thing on a Mac system with Safari using the command and "+"
key to zoom in or the command and "-" key to zoom out.
[/network/web/browser/ie]
permanent link
Tue, Oct 19, 2010 11:06 am
Session Recovery with Safari
With Safari 5.0.2 under Mac OS X, if Safari crashes, you can recover the tabs
that were open in the prior session by clicking on
History and
choosing "Reopen All Windows from Last Session."
[/network/web/browser/safari]
permanent link
Sun, Mar 21, 2010 11:23 am
Embedding Userid and Password in a URL
With versions of Internet Explorer from 3.0 to 6.0, the following syntax for
HTTP or HTTPS URLs was supported:
http(s)://username:password@server/resource.ext
Using the syntax of http:// or https:// followed
by username:Password@ and then the URL, you could supply a username
and password in the address bar. This could be useful in cases where you had
to script access to a webpage or file download from a password protected
directory on a website. Using this technique you could use a command in a batch
file to gain access to the protected resource.
However, after version 6.0 of Internet Explorer, Microsoft disabled this
capability. The rationale for disabling the capability is explained at
Internet Explorer does not support user names and passwords in Web site
addresses (HTTP or HTTPS URLs). Microsoft states there that the
capability was disabled, because it could be used by a malicious person
to mislead someone into thinking he was going to a trusted side when in
actuality he would be directed to another site.
E.g., other information, besides a username and password, could be placed before
the "@", for example someone could use
http://www.wingtiptoys.com@example.com. A user might only notice
the http://www.wingtiptoys.com in the address bar, whereas the
URL would actually be taking the user to http://example.com.
In this case, Internet Explorer 6 Service Pack 1 (SP1) and Internet Explorer 6
for Microsoft Windows Server 2003 only display "http://example.com" in the
address bar. However, earlier versions of Internet Explorer display
"http://www.wingtiptoys.com@example.com" in the address bar, but users might
think they were going to www.wingtiptoys.com, whereas they would actually be
taken to example.com.
If you want later versions of Internet Explorer to retain the behavior of
prior versions, you can disable the new default behavior in Windows Explorer
and Internet Explorer. To do so, create iexplore.exe and
explorer.exe DWORD values in one of the following registry keys and set
their value data to 0.
- For all users of the program, set the value in the
following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
- For the current user of the program only, set the value in
the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
On the support webpage, Microsoft states that, if users attempt to use the
previously supported syntax with later versions of Internet Explorer,
users will see a webpage that has
the title "Invalid syntax error". When I used the technique to try to access a
protected file on a site using Internet Explorer 8.0 on a Windows 7 system, I
received a message stating "Windows cannot find" followed by the URL and then
"Check the spelling and try again."
The syntax of http://username:password@example.com/directory/filename.ext
still worked on the same system with
Firefox 3.6
References:
-
Internet Explorer does not support user names and passwords in Web site
addresses (HTTP or HTTPS URLs)
Article ID: 834489
Last Review: November 15, 2007
Revision: 11.4
Microsoft Support
[/network/web/browser/ie]
permanent link
Sat, Mar 13, 2010 5:43 pm
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
Sat, Jan 09, 2010 9:09 pm
Checking Client IP address with PHP
I noticed that two PHP scripts,
BrowserInfo and
BrowserTest, that
I use to have people provide me with
information on their browser, such as the plugins available, were
not providing the IP address from which browsers were viewing the
scripts, because I hadn't updated them for a long time, but had
upgraded PHP on the website quite some time ago. The relevant
old code is shown below:
<?php
$IP = $HTTP_SERVER_VARS['REMOTE_ADDR'];
$FQDN = gethostbyaddr($HTTP_SERVER_VARS['REMOTE_ADDR']);
print ("<b>IP Address:</b> $IP<br>");
print ("<b>FQDN:</b> $FQDN<br>");
?>
I had to change the code to that shown below:
<?php
$IP = $_SERVER['REMOTE_ADDR'];
$FQDN = gethostbyaddr($_SERVER['REMOTE_ADDR']);
print ("<b>IP Address:</b> $IP<br>");
print ("<b>FQDN:</b> $FQDN<br>");
?>
References:
-
how to get client's IP address in PHP
Date: August 10, 2006
PHPBuilder.com
-
Predefined Variables
Last Updated; January 8, 2010
PHP: Hypertext Preprocessor
[/network/web/browser]
permanent link
Privacy Policy
Contact