[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 08-21-2003, 06:33 AM   #1 (permalink)
NamePros Member
 
Mp)Tarh's Avatar
 
Join Date: Aug 2003
Location: Ontario, Canada
Posts: 101
171.00 NP$ (Donate)

Mp)Tarh is an unknown quantity at this point


How Can I... Remove a Page From the History Object?

Does anyone know a JavaScript function to remove a page from the History object (without using window.location.replace())?
__________________
Yeah... I knew that. What?
Mp)Tarh is offline  
Old 08-21-2003, 10:25 AM   #2 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 9
14.00 NP$ (Donate)

IndigoPixel is an unknown quantity at this point


Only the user can delete his/her own history ... it would be a major invasion of privacy if JS could interact with a list of pages a user has been too recently.
IndigoPixel is offline  
Old 08-21-2003, 12:09 PM   #3 (permalink)
NamePros Member
 
Mp)Tarh's Avatar
 
Join Date: Aug 2003
Location: Ontario, Canada
Posts: 101
171.00 NP$ (Donate)

Mp)Tarh is an unknown quantity at this point


Ok, thanks.

But just so that you know, JS CAN interact with the history list

I'm designing a function that can do what I described above, I had to do a bit of DOM research though.

Alright, done! Here is a link to the file I made: formmaker.txt
__________________
Yeah... I knew that. What?
Mp)Tarh is offline  
Old 09-06-2003, 01:15 PM   #4 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 9
14.00 NP$ (Donate)

IndigoPixel is an unknown quantity at this point


According to JavaScript: The Definitive Guide (4th Edition. O'Reilly, 2002), page 401:
Quote:
The History object was originally designed as an array of URLs that represented the complete browsing history of the browser. Once the privacy implication of this became apparent, however, all access to the actual URLs was restircted, and the History object was left with only its back() forward(), and go() methods to move the browser through the history arry without revealing the contents of the array.
And you'll notice in the script that you wrote, that you never once touch the History object ... perhaps you meant something else by your original post?
IndigoPixel is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 07:40 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85