473,799 Members | 3,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get users browsing history

Hi All,

I know that document.referr er can be used to get the last page the user
visited, but how can I get the page visited before that? Can this be
done in JS?

TIA

Sep 11 '06 #1
2 2805
Noodle wrote:
Hi All,

I know that document.referr er can be used to get the last page the user
visited,
You might think that gives you the last page visited, but it is very
unreliable.

If whatever UA I am using decides to give you a referrer, it might be
the page that linked to your site or it could be whatever I told the UA
to send you. If I have copied the link and pasted it, you'll get no
referrer at all.

but how can I get the page visited before that? Can this be
done in JS?
No. You can't access the browser history, all you can do is attempt to
send the user backward or forward some count of links based on the
history of the window or tab that the page has been opened in - which
might not be the window that was used to navigate to the page.
--
Rob

Sep 11 '06 #2
"Noodle" <ne*****@gmail. comwrote in news:1157963041 .166520.137330
@i3g2000cwc.goo glegroups.com:
Hi All,

I know that document.referr er can be used to get the last page the user
visited, but how can I get the page visited before that? Can this be
done in JS?
come on, you don't really want someone knowing the banking sites and porn
sites you visited before hitting their magical javascripted page, do you?
Sep 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2230
by: Paul Kooistra | last post by:
I need a tool to browse text files with a size of 10-20 Mb. These files have a fixed record length of 800 bytes (CR/LF), and containt records used to create printed pages by an external company. Each line (record) contains an 2-character identifier, like 'A0' or 'C1'. The identifier identifies the record format for the line, thereby allowing different record formats to be used in a textfile. For example: An A0 record may consist of:
6
539
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by surfin it in multiple browsers simultaneously the site generates a generic runtime error after awhile. I'm thinking this has something to do with my access database and multiple connections. I'm using forms authentication with a login page. Is...
1
1019
by: Charlie | last post by:
On dynamic sites, the history buttons can be confusing to users as they do not force return trip to server to get updated content. I get complaints from users saying things aren't working when problem is they are not using links. How do you deal with this? Thanks, Charlie
0
1368
by: Betty Harvey | last post by:
NOTE: This is the last meeting of 2006!! The next meeting of the XML Users Group will be held on Wednesday, November 15, 2006 at the American Geophysical Union (AGU) at 2000 Florida Avenue, N.W., Washington, DC 20009-1277. The meeting starts at 7:00 p.m. and usually last approximately 2 hours. If attending the meeting by Metro, get off the Dupont Circle stop and walk north to Florida Avenue...turn right. There is no cost associated...
4
5088
by: tomeq10 | last post by:
Hi All, I have this problem. I have a main page, and option to show popup window. This popup window is div + iframe based. When User clicks to open this popup, he do some staff on it, there are some postbacks. After finish, he closes the popup window. Finally, after those all, the back button doesnt work ( or I need to click back button many times to have it worked). I would like to achieve this situation, that between opening and closing...
6
9734
by: John Grandy | last post by:
Does how to delete all of IE's browing history from the command line ? Same as Tools Internet Options Browsing History Delete Delete all... What I'd like is a .bat file.
2
1884
by: =?Utf-8?B?YmlsbA==?= | last post by:
Hi I run windows EP service pack 2.I am on internet explorer 7.When I go into tools option delete history cookies ,temp file & so on .It doesnt work .I have deleted & reinstalled expl 7 but it only seems to work then for a day or 2 then it stops working again .I have done this several times.If I go to run & enter inetcpl.cpl in the box, the deletes work perfectly .But why does it keep failing in the normal way ? anyone had the same...
2
2307
by: questionit | last post by:
Hi, In IE7, how to find browsing history that would show complete URL like in IE6 where we can goto the website page directly. In IE7, only the site's main name can be seen but not the full link. Does anyone know how to look at complete URLs? Qi
1
2739
by: pavanip | last post by:
hi, I have an application that will find Firefox browing history, Auto complete datalist, Temp offline files and Find Computer list. please give me some idea on Auto complete datalist, Temp offline files and Find Computer list. I tried this task using path C:\documents and settings\eminosoft\Application Data\Mozilla\Firefox\Profiles\38v4t6d1.default But in that path there are 4 .dat files history.dat formhistory.dat persdict.dat etc....
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10485
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10252
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10231
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9073
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.