digip Posted December 22, 2007 Share Posted December 22, 2007 I know you can call from the address bar your current cookie for the site your viewing. Using the code: java script:alert(unescape(document.cookie)); or java script:document.write(unescape(document.cookie)); In your browsers address bar gives you yoru current cookie contents. My question is, instead of just writing or alerting it onto the screen, can you set its entire contents to a string variable with a similar method but called from within the page, not when entered into the address bar? Quote Link to comment Share on other sites More sharing options...
K1u Posted December 24, 2007 Share Posted December 24, 2007 I know you can call from the address bar your current cookie for the site your viewing. Using the code: java script:alert(unescape(document.cookie)); or java script:document.write(unescape(document.cookie)); In your browsers address bar gives you yoru current cookie contents. My question is, instead of just writing or alerting it onto the screen, can you set its entire contents to a string variable with a similar method but called from within the page, not when entered into the address bar? Well I am sure it is possible, just like you are sending it as a alert to pop up on your screen I am sure its value may be set to a specific string. I am sorry I do not know jscript, I hope I at least helped. Quote Link to comment Share on other sites More sharing options...
cooper Posted December 26, 2007 Share Posted December 26, 2007 Isn't there a webdev plugin for FireFox that will for instance show you the hidden fields of a page as editable entry fields and such? Maybe it has a way to fiddle with cookies aswell. I have no personal experience with any of this though. Quote Link to comment Share on other sites More sharing options...
Sparda Posted December 26, 2007 Share Posted December 26, 2007 Isn't there a webdev plugin for FireFox that will for instance show you the hidden fields of a page as editable entry fields and such? Maybe it has a way to fiddle with cookies aswell. I have no personal experience with any of this though. Tamper data perhaps? Don't think it does cookies. You would have to use some thing like Add N Edit Cookies for that. My mistake, Tamper Data does allow you to change cookie data as it's sent. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.