Discussion Forum

Welcome to the Discussion Forum, we encourage you to REGISTER on our forum and participate in the debate.For more details Click here

Online Advertising

Viewers now you can promote Your Websites/Blogs/Products by using our online advertising program.Using this feature you can place your Ads in my blog and can attract the people logging over here.To place your ads, just sign in my Guest Book and leave your details over there.

Tuesday, March 24, 2009

Script to View and Edit the Cookies

1.Paste the following JavaScript in the address bar of browser to view the cookies:
javascript:alert(document.cookie.split(';').join('\n'))

2.Paste the following code to edit the cookie:
javascript:alert(window.c=function a(n,v,nv) {c=document.cookie;c=c.substring(c.indexOf(n) +n.length,c.length);c=c.substring(1,((c.indexOf(";")>-1) ? c.indexOf(";") : c.length));nc=unescape(c).replace (v,nv);document.cookie=n+"="+escape(nc);return unescape (document.cookie);});alert(c(prompt("cookie name:",""), prompt("replace this value:",""),prompt("with::","")));

1 comment:

Karuppasamy said...

Hi

did you know how to add the iframe to a site using javascript. for our website some add the iframe. but we did not know how he added this. when we get the server log we are found that they added the iframe via the javascript code. i need to explain this priblem to my client. if you know please let me know

Post a Comment

Free advertising


Lowes Coupon
How to Blog

Free Advertising