Go Back   CodingForums.com > :: Client side development > JavaScript programming > Post a JavaScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-10-2006, 06:16 PM   PM User | #1
VortexCortex
Regular Coder

 
Join Date: May 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
VortexCortex is an unknown quantity at this point
Lightbulb Cookie Editor - Modify cookies for any site (FF)

My Cookie Editor is contiained in a single "javascript:" link, and utilizes FireFox's ability to use really long URLs (over 4k chars).

The script does not work in IE. I had originaly coded a cross browser version, but after 500 or so characters IE stops executing the script.

I have posted a working example on the web at:
www.vortexcortex.com/tools/cookie/

Features:
  • Modify cookie values for any site you want
  • Support for secure cookies
  • Create New cookies
  • Delete cookies
  • Session Only or Persistant cookies
  • Escape and Unescape cookie values for easier editing

Here is the HTML / Javascript source:
Code:
Click here to use the <script type="text/javascript">document.write(unescape("%3C%61%20%63%6C%61%73%73%3D%22%6E%6F%72%6D%61%6C%22%20%68%72%65%66%3D%22%6A%61%76%61%73%63%72%69%70%74%3A%69%66%28%28%74%79%70%65%6F%66%20%76%63%5F%43"),
unescape("%6B%45%64%3D%3D%27%75%6E%64%65%66%69%6E%65%64%27%29%7C%7C%28%76%63%5F%43%6B%45%64%3D%3D%6E%75%6C%6C%29%29%7B%76%63%5F%43%6B%45%64%3D%36%3B%58%3D%5B%31"),
unescape("%30%30%30%2C%36%30%2C%36%30%2C%32%34%5D%3B%44%54%3D%28%6E%65%77%20%44%61%74%65%28%29%29%2E%74%6F%4C%6F%63%61%6C%65%53%74%72%69%6E%67%28%29%3B%73%73%3D"),
unescape("%66%75%6E%63%74%69%6F%6E%28%65%2C%73%29%7B%65%2E%73%65%74%41%74%74%72%69%62%75%74%65%28%27%73%74%79%6C%65%27%2C%73%29%7D%3B%56%44%3D%66%75%6E%63%74%69"),
unescape("%6F%6E%28%66%29%7B%76%61%72%20%66%64%3D%66%3B%74%68%69%73%2E%76%3D%66%75%6E%63%74%69%6F%6E%28%29%7B%66%2E%76%61%6C%75%65%2B%3D%27%2D%30%27%3B%66%2E%76"),
unescape("%61%6C%75%65%3D%65%76%61%6C%28%66%2E%76%61%6C%75%65%2E%72%65%70%6C%61%63%65%28%2F%5B%5E%30%2D%39%2D%5D%2F%67%2C%27%27%29%29%7D%7D%3B%55%4E%3D%66%75%6E"),
unescape("%63%74%69%6F%6E%28%66%29%7B%76%61%72%20%66%64%3D%66%3B%74%68%69%73%2E%75%3D%66%75%6E%63%74%69%6F%6E%28%29%7B%66%64%2E%76%61%6C%75%65%3D%75%6E%65%73%63"),
unescape("%61%70%65%28%66%64%2E%76%61%6C%75%65%29%7D%7D%3B%45%43%3D%66%75%6E%63%74%69%6F%6E%28%66%29%7B%76%61%72%20%66%64%3D%66%3B%74%68%69%73%2E%65%3D%66%75%6E"),
unescape("%63%74%69%6F%6E%28%29%7B%66%64%2E%76%61%6C%75%65%3D%65%73%63%61%70%65%28%66%64%2E%76%61%6C%75%65%29%7D%7D%3B%69%6E%70%3D%27%27%3B%61%70%3D%66%75%6E%63"),
unescape("%74%69%6F%6E%28%70%2C%63%29%7B%70%2E%61%70%70%65%6E%64%43%68%69%6C%64%28%63%29%7D%3B%63%65%3D%66%75%6E%63%74%69%6F%6E%28%65%29%7B%72%65%74%75%72%6E%20"),
unescape("%64%6F%63%75%6D%65%6E%74%2E%63%72%65%61%74%65%45%6C%65%6D%65%6E%74%28%65%29%7D%3B%63%74%3D%66%75%6E%63%74%69%6F%6E%28%74%29%7B%72%65%74%75%72%6E%20%64"),
unescape("%6F%63%75%6D%65%6E%74%2E%63%72%65%61%74%65%54%65%78%74%4E%6F%64%65%28%74%29%7D%3B%62%3D%64%6F%63%75%6D%65%6E%74%2E%67%65%74%45%6C%65%6D%65%6E%74%73%42"),
unescape("%79%54%61%67%4E%61%6D%65%28%27%62%6F%64%79%27%29%5B%30%5D%3B%65%76%3D%66%75%6E%63%74%69%6F%6E%28%65%6C%2C%65%76%2C%66%6E%29%7B%65%6C%2E%61%64%64%45%76"),
unescape("%65%6E%74%4C%69%73%74%65%6E%65%72%28%65%76%2C%66%6E%2C%74%72%75%65%29%7D%3B%64%3D%63%65%28%27%64%69%76%27%29%3B%61%70%28%62%2C%64%29%3B%73%73%28%64%2C"),
unescape("%27%7A%2D%69%6E%64%65%78%3A%39%39%39%39%39%39%3B%66%6F%6E%74%2D%73%69%7A%65%3A%31%32%70%74%3B%66%6F%6E%74%2D%66%61%6D%69%6C%79%3A%61%72%69%61%6C%3B%74"),
unescape("%65%78%74%2D%61%6C%69%67%6E%3A%63%65%6E%74%65%72%3B%70%6F%73%69%74%69%6F%6E%3A%61%62%73%6F%6C%75%74%65%3B%74%6F%70%3A%27%2B%28%70%61%67%65%59%4F%66%66"),
unescape("%73%65%74%2B%33%30%29%2B%27%70%78%3B%6C%65%66%74%3A%27%2B%28%70%61%67%65%58%4F%66%66%73%65%74%2B%33%30%29%2B%27%70%78%3B%68%65%69%67%68%74%3A%34%30%30"),
unescape("%70%78%3B%77%69%64%74%68%3A%36%30%30%70%78%3B%62%61%63%6B%67%72%6F%75%6E%64%2D%63%6F%6C%6F%72%3A%23%44%46%36%34%30%30%3B%63%6F%6C%6F%72%3A%23%46%46%46"),
unescape("%46%46%46%3B%62%6F%72%64%65%72%3A%33%70%78%20%73%6F%6C%69%64%20%23%46%43%39%41%30%35%3B%62%6F%72%64%65%72%2D%62%6F%74%74%6F%6D%3A%27%2B%28%73%3D%27%33"),
unescape("%70%78%20%73%6F%6C%69%64%20%23%37%42%33%37%30%30%3B%27%29%2B%27%3B%62%6F%72%64%65%72%2D%72%69%67%68%74%3A%27%2B%73%29%3B%43%3D%63%65%28%27%61%27%29%3B"),
unescape("%73%73%28%43%2C%27%63%6F%6C%6F%72%3A%23%46%46%46%46%46%46%3B%66%6F%6E%74%2D%77%65%69%67%68%74%3A%62%6F%6C%64%3B%74%65%78%74%2D%64%65%63%6F%72%61%74%69"),
unescape("%6F%6E%3A%6E%6F%6E%65%27%29%3B%43%2E%68%72%65%66%3D%27%68%74%74%70%3A%2F%2F%77%77%77%2E%76%6F%72%74%65%78%63%6F%72%74%65%78%2E%63%6F%6D%2F%74%6F%6F%6C"),
unescape("%73%27%3B%61%70%28%64%2C%43%29%3B%61%70%28%43%2C%63%74%28%27%56%6F%72%74%65%78%43%6F%72%74%65%78%2E%63%6F%6D%5C%27%73%20%43%6F%6F%6B%69%65%20%45%64%69"),
unescape("%74%6F%72%27%29%29%3B%43%3D%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%3B%43%3D%28%43%3D%3D%27%27%29%3F%5B%5D%3A%43%2E%73%70%6C%69%74%28%2F%3B%5C%73"),
unescape("%3F%2F%29%3B%61%70%28%64%2C%63%65%28%27%62%72%27%29%29%3B%61%70%28%64%2C%63%74%28%27%45%78%70%69%72%65%20%69%6E%3A%20%27%29%29%3B%45%3D%5B%27%73%65%63"),
unescape("%27%2C%27%6D%69%6E%27%2C%27%68%6F%75%72%27%2C%27%64%61%79%27%5D%3B%66%6F%72%28%69%3D%33%3B%69%3E%3D%30%3B%69%2D%2D%29%7B%6A%3D%63%65%28%27%69%6E%70%75"),
unescape("%74%27%29%3B%73%73%28%6A%2C%27%77%69%64%74%68%3A%35%30%70%78%3B%74%65%78%74%2D%61%6C%69%67%6E%3A%72%69%67%68%74%3B%66%6F%6E%74%2D%77%65%69%67%68%74%3A"),
unescape("%62%6F%6C%64%27%29%3B%6A%2E%76%61%6C%75%65%3D%27%30%27%3B%65%76%28%6A%2C%27%63%68%61%6E%67%65%27%2C%28%6E%65%77%20%56%44%28%6A%29%29%2E%76%29%3B%61%70"),
unescape("%28%64%2C%6A%29%3B%61%70%28%64%2C%63%74%28%45%5B%69%5D%2B%27%73%20%27%29%29%3B%45%5B%69%5D%3D%6A%7D%3B%53%3D%63%65%28%27%69%6E%70%75%74%27%29%3B%53%2E"),
unescape("%74%79%70%65%3D%27%63%68%65%63%6B%62%6F%78%27%3B%61%70%28%64%2C%53%29%3B%53%2E%63%68%65%63%6B%65%64%3D%28%77%69%6E%64%6F%77%2E%6C%6F%63%61%74%69%6F%6E"),
unescape("%2E%70%72%6F%74%6F%63%6F%6C%3D%3D%27%68%74%74%70%73%3A%27%29%3B%61%70%28%64%2C%63%74%28%27%53%65%63%75%72%65%27%29%29%3B%61%70%28%64%2C%63%65%28%27%62"),
unescape("%72%27%29%29%3B%61%70%28%64%2C%63%74%28%27%45%78%70%69%72%65%73%3A%20%27%29%29%3B%44%48%3D%63%65%28%27%73%70%61%6E%27%29%3B%61%70%28%64%2C%44%48%29%3B"),
unescape("%61%70%28%44%48%2C%44%54%3D%63%74%28%44%54%29%29%3B%4F%3D%63%65%28%27%69%6E%70%75%74%27%29%3B%4F%2E%74%79%70%65%3D%27%63%68%65%63%6B%62%6F%78%27%3B%61"),
unescape("%70%28%64%2C%4F%29%3B%61%70%28%64%2C%63%74%28%27%53%65%73%73%69%6F%6E%20%4F%6E%6C%79%27%29%29%3B%54%52%3D%66%75%6E%63%74%69%6F%6E%28%29%7B%44%48%2E%72"),
unescape("%65%6D%6F%76%65%43%68%69%6C%64%28%44%48%2E%66%69%72%73%74%43%68%69%6C%64%29%3B%44%54%3D%30%3B%69%66%28%4F%2E%63%68%65%63%6B%65%64%3D%3D%27%27%29%7B%66"),
unescape("%6F%72%28%70%3D%33%3B%70%3E%3D%30%3B%70%2D%2D%29%7B%44%54%3D%28%44%54%2B%70%61%72%73%65%49%6E%74%28%45%5B%70%5D%2E%76%61%6C%75%65%29%29%2A%58%5B%70%5D"),
unescape("%7D%3B%44%54%2B%3D%28%6E%65%77%20%44%61%74%65%28%29%29%2E%67%65%74%54%69%6D%65%28%29%3B%61%70%28%44%48%2C%63%74%28%28%6E%65%77%20%44%61%74%65%28%44%54"),
unescape("%29%29%2E%74%6F%4C%6F%63%61%6C%65%53%74%72%69%6E%67%28%29%29%29%7D%65%6C%73%65%7B%61%70%28%44%48%2C%63%74%28%27%45%6E%64%20%6F%66%20%73%65%73%73%69%6F"),
unescape("%6E%27%29%29%7D%7D%3B%54%4D%3D%77%69%6E%64%6F%77%2E%73%65%74%49%6E%74%65%72%76%61%6C%28%27%54%52%28%29%27%2C%31%30%30%30%29%3B%61%70%28%64%2C%63%65%28"),
unescape("%27%62%72%27%29%29%3B%61%70%28%64%2C%63%74%28%27%44%6F%6D%61%69%6E%3A%20%27%29%29%3B%44%3D%63%65%28%27%69%6E%70%75%74%27%29%3B%61%70%28%64%2C%44%29%3B"),
unescape("%73%73%28%44%2C%27%77%69%64%74%68%3A%31%34%30%70%78%27%29%3B%44%2E%76%61%6C%75%65%3D%27%2E%27%2B%77%69%6E%64%6F%77%2E%6C%6F%63%61%74%69%6F%6E%2E%68%6F"),
unescape("%73%74%3B%61%70%28%64%2C%63%74%28%27%20%50%61%74%68%3A%20%27%29%29%3B%50%3D%63%65%28%27%69%6E%70%75%74%27%29%3B%73%73%28%50%2C%27%77%69%64%74%68%3A%33"),
unescape("%31%30%70%78%27%29%3B%61%70%28%64%2C%50%29%3B%50%2E%76%61%6C%75%65%3D%77%69%6E%64%6F%77%2E%6C%6F%63%61%74%69%6F%6E%2E%70%61%74%68%6E%61%6D%65%3B%61%70"),
unescape("%28%64%2C%63%65%28%27%68%72%27%29%29%3B%73%63%3D%63%65%28%27%64%69%76%27%29%3B%73%73%28%73%63%2C%27%6F%76%65%72%66%6C%6F%77%3A%73%63%72%6F%6C%6C%3B%77"),
unescape("%69%64%74%68%3A%35%38%30%70%78%3B%68%65%69%67%68%74%3A%32%34%30%70%78%3B%62%6F%72%64%65%72%3A%32%70%78%20%73%6F%6C%69%64%20%23%46%43%39%41%30%35%3B%62"),
unescape("%61%63%6B%67%72%6F%75%6E%64%2D%63%6F%6C%6F%72%3A%23%31%35%37%35%42%42%3B%62%6F%72%64%65%72%2D%74%6F%70%3A%27%2B%28%73%3D%27%32%70%78%20%73%6F%6C%69%64"),
unescape("%20%23%37%42%33%37%30%30%3B%27%29%2B%27%62%6F%72%64%65%72%2D%6C%65%66%74%3A%27%2B%73%2B%27%6D%61%72%67%69%6E%2D%6C%65%66%74%3A%31%30%70%78%27%29%3B%61"),
unescape("%70%28%64%2C%73%63%29%3B%74%62%3D%63%65%28%27%74%61%62%6C%65%27%29%3B%61%70%28%73%63%2C%74%62%29%3B%73%73%28%74%62%2C%27%63%6F%6C%6F%72%3A%23%66%66%66"),
unescape("%66%66%66%27%29%3B%61%70%28%74%62%2C%74%62%3D%63%65%28%27%74%62%6F%64%79%27%29%29%3B%66%6F%72%28%76%61%72%20%75%3D%43%2E%6C%65%6E%67%74%68%3B%75%3E%3D"),
unescape("%30%3B%75%2D%2D%29%7B%76%61%72%20%72%3D%63%65%28%27%74%72%27%29%3B%61%70%28%74%62%2C%72%29%3B%76%61%72%20%74%3D%63%65%28%27%74%64%27%29%3B%61%70%28%72"),
unescape("%2C%74%29%3B%76%61%72%20%63%6B%3D%63%65%28%27%69%6E%70%75%74%27%29%3B%61%70%28%74%2C%63%6B%29%3B%63%6B%2E%74%79%70%65%3D%27%63%68%65%63%6B%62%6F%78%27"),
unescape("%3B%63%6B%2E%63%68%65%63%6B%65%64%3D%28%75%3C%43%2E%6C%65%6E%67%74%68%2D%31%29%3F%27%31%27%3A%27%27%3B%74%3D%63%65%28%27%74%64%27%29%3B%73%73%28%74%2C"),
unescape("%27%74%65%78%74%2D%61%6C%69%67%6E%3A%72%69%67%68%74%27%29%3B%61%70%28%72%2C%74%29%3B%69%66%28%75%20%3D%3D%20%43%2E%6C%65%6E%67%74%68%29%7B%43%5B%75%5D"),
unescape("%3D%5B%27%27%5D%3B%69%6E%70%3D%63%65%28%27%69%6E%70%75%74%27%29%3B%73%73%28%69%6E%70%2C%27%77%69%64%74%68%3A%31%30%30%70%78%3B%74%65%78%74%2D%61%6C%69"),
unescape("%67%6E%3A%72%69%67%68%74%27%29%3B%65%76%28%69%6E%70%2C%27%63%68%61%6E%67%65%27%2C%66%75%6E%63%74%69%6F%6E%28%29%7B%43%5B%43%2E%6C%65%6E%67%74%68%2D%31"),
unescape("%5D%5B%30%5D%3D%69%6E%70%2E%76%61%6C%75%65%7D%29%3B%61%70%28%74%2C%69%6E%70%29%7D%65%6C%73%65%7B%43%5B%75%5D%3D%43%5B%75%5D%2E%73%70%6C%69%74%28%2F%3D"),
unescape("%2F%29%3B%61%70%28%74%2C%63%74%28%43%5B%75%5D%5B%30%5D%2B%27%3D%27%29%29%7D%3B%69%66%28%43%5B%75%5D%2E%6C%65%6E%67%74%68%3C%32%29%43%5B%75%5D%5B%31%5D"),
unescape("%3D%27%27%3B%74%3D%63%65%28%27%74%64%27%29%3B%61%70%28%72%2C%74%29%3B%76%61%72%20%78%3D%43%5B%75%5D%5B%31%5D%3B%43%5B%75%5D%5B%31%5D%3D%63%65%28%27%69"),
unescape("%6E%70%75%74%27%29%3B%61%70%28%74%2C%43%5B%75%5D%5B%31%5D%29%3B%73%73%28%43%5B%75%5D%5B%31%5D%2C%27%77%69%64%74%68%3A%34%30%30%70%78%27%29%3B%43%5B%75"),
unescape("%5D%5B%31%5D%2E%76%61%6C%75%65%3D%78%3B%74%3D%63%65%28%27%74%64%27%29%3B%61%70%28%72%2C%74%29%3B%78%3D%63%65%28%27%62%75%74%74%6F%6E%27%29%3B%61%70%28"),
unescape("%74%2C%78%29%3B%65%76%28%78%2C%27%63%6C%69%63%6B%27%2C%28%6E%65%77%20%55%4E%28%43%5B%75%5D%5B%31%5D%29%29%2E%75%29%3B%61%70%28%78%2C%63%74%28%27%55%6E"),
unescape("%65%73%63%27%29%29%3B%74%3D%63%65%28%27%74%64%27%29%3B%61%70%28%72%2C%74%29%3B%78%3D%63%65%28%27%62%75%74%74%6F%6E%27%29%3B%61%70%28%74%2C%78%29%3B%65"),
unescape("%76%28%78%2C%27%63%6C%69%63%6B%27%2C%28%6E%65%77%20%45%43%28%43%5B%75%5D%5B%31%5D%29%29%2E%65%29%3B%61%70%28%78%2C%63%74%28%27%45%73%63%27%29%29%3B%43"),
unescape("%5B%75%5D%5B%32%5D%3D%63%6B%7D%3B%61%70%28%64%2C%63%65%28%27%62%72%27%29%29%3B%43%4C%3D%63%65%28%27%62%75%74%74%6F%6E%27%29%3B%73%73%28%43%4C%2C%27%6D"),
unescape("%61%72%67%69%6E%2D%72%69%67%68%74%3A%31%30%70%78%27%29%3B%61%70%28%64%2C%43%4C%29%3B%61%70%28%43%4C%2C%63%74%28%27%41%62%6F%72%74%20%43%68%61%6E%67%65"),
unescape("%73%27%29%29%3B%65%76%28%43%4C%2C%27%63%6C%69%63%6B%27%2C%66%75%6E%63%74%69%6F%6E%28%29%7B%62%2E%72%65%6D%6F%76%65%43%68%69%6C%64%28%64%29%3B%76%63%5F"),
unescape("%43%6B%45%64%3D%6E%75%6C%6C%3B%63%6C%65%61%72%49%6E%74%65%72%76%61%6C%28%54%4D%29%7D%29%3B%43%41%3D%63%65%28%27%62%75%74%74%6F%6E%27%29%3B%61%70%28%43"),
unescape("%41%2C%63%74%28%27%43%68%65%63%6B%20%41%6C%6C%27%29%29%3B%61%70%28%64%2C%43%41%29%3B%65%76%28%43%41%2C%27%63%6C%69%63%6B%27%2C%66%75%6E%63%74%69%6F%6E"),
unescape("%28%29%7B%66%6F%72%28%76%61%72%20%69%3D%30%3B%69%3C%43%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%7B%43%5B%69%5D%5B%32%5D%2E%63%68%65%63%6B%65%64%3D%27%31%27"),
unescape("%7D%7D%29%3B%55%43%3D%63%65%28%27%62%75%74%74%6F%6E%27%29%3B%61%70%28%64%2C%55%43%29%3B%61%70%28%55%43%2C%63%74%28%27%55%6E%63%68%65%63%6B%20%41%6C%6C"),
unescape("%27%29%29%3B%65%76%28%55%43%2C%27%63%6C%69%63%6B%27%2C%66%75%6E%63%74%69%6F%6E%28%29%7B%66%6F%72%28%76%61%72%20%69%3D%30%3B%69%3C%43%2E%6C%65%6E%67%74"),
unescape("%68%3B%69%2B%2B%29%7B%43%5B%69%5D%5B%32%5D%2E%63%68%65%63%6B%65%64%3D%27%27%7D%7D%29%3B%49%43%3D%63%65%28%27%62%75%74%74%6F%6E%27%29%3B%61%70%28%64%2C"),
unescape("%49%43%29%3B%61%70%28%49%43%2C%63%74%28%27%49%6E%76%65%72%74%20%43%68%65%63%6B%73%27%29%29%3B%65%76%28%49%43%2C%27%63%6C%69%63%6B%27%2C%66%75%6E%63%74"),
unescape("%69%6F%6E%28%29%7B%66%6F%72%28%76%61%72%20%69%3D%30%3B%69%3C%43%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%7B%43%5B%69%5D%5B%32%5D%2E%63%68%65%63%6B%65%64%3D"),
unescape("%28%28%43%5B%69%5D%5B%32%5D%2E%63%68%65%63%6B%65%64%3D%3D%27%27%29%3F%27%31%27%3A%27%27%29%7D%7D%29%3B%76%61%72%20%53%56%3D%63%65%28%27%62%75%74%74%6F"),
unescape("%6E%27%29%3B%61%70%28%53%56%2C%63%74%28%27%53%61%76%65%20%43%68%65%63%6B%65%64%20%61%6E%64%20%43%6C%6F%73%65%27%29%29%3B%73%73%28%53%56%2C%27%6D%61%72"),
unescape("%67%69%6E%2D%6C%65%66%74%3A%31%30%70%78%27%29%3B%61%70%28%64%2C%53%56%29%3B%65%76%28%53%56%2C%27%63%6C%69%63%6B%27%2C%66%75%6E%63%74%69%6F%6E%28%29%7B"),
unescape("%76%61%72%20%63%6F%3D%27%27%3B%66%6F%72%28%70%3D%43%2E%6C%65%6E%67%74%68%2D%31%3B%70%3E%3D%30%3B%70%2D%2D%29%7B%69%66%28%43%5B%70%5D%5B%32%5D%2E%63%68"),
unescape("%65%63%6B%65%64%21%3D%27%27%29%7B%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%3D%28%43%5B%70%5D%5B%30%5D%2B%27%3D%27%2B%43%5B%70%5D%5B%31%5D%2E%76%61"),
unescape("%6C%75%65%29%2B%28%28%4F%2E%63%68%65%63%6B%65%64%21%3D%27%27%29%3F%27%27%3A%28%27%3B%20%65%78%70%69%72%65%73%3D%27%2B%28%6E%65%77%20%44%61%74%65%28%44"),
unescape("%54%29%29%2E%74%6F%47%4D%54%53%74%72%69%6E%67%28%29%29%29%2B%27%3B%20%64%6F%6D%61%69%6E%3D%27%2B%44%2E%76%61%6C%75%65%2B%27%3B%20%70%61%74%68%3D%27%2B"),
unescape("%50%2E%76%61%6C%75%65%2B%28%28%53%2E%63%68%65%63%6B%65%64%21%3D%27%27%29%3F%27%3B%20%73%65%63%75%72%65%27%3A%27%27%29%7D%7D%3B%76%63%5F%43%6B%45%64%3D"),
unescape("%6E%75%6C%6C%3B%62%2E%72%65%6D%6F%76%65%43%68%69%6C%64%28%64%29%3B%63%6C%65%61%72%49%6E%74%65%72%76%61%6C%28%54%4D%29%7D%29%7D%65%6C%73%65%7B%73%63%72"),
unescape("%6F%6C%6C%54%6F%28%70%61%72%73%65%49%6E%74%28%64%2E%73%74%79%6C%65%2E%6C%65%66%74%29%2D%33%30%2C%70%61%72%73%65%49%6E%74%28%64%2E%73%74%79%6C%65%2E%74"),
unescape("%6F%70%29%2D%33%30%29%3B%61%6C%65%72%74%28%27%43%6F%6F%6B%69%65%20%45%64%69%74%6F%72%20%69%73%20%61%6C%72%65%61%64%79%20%6F%70%65%6E%2E%27%29%7D%3B%76"),
unescape("%6F%69%64%28%31%2B%31%29%22%3E%43%6F%6F%6B%69%65%20%45%64%69%74%6F%72%3C%2F%61%3E"));</script>
.
Copy and paste the above into your HTML.
Click the "Cookie Editor" link to open the cookie editor.
Bookmark the "Cookie Editor" link.
Visit a site that uses cookies.
Use your bookmarked "Cookie Editor" link to edit the cookies on whatever site you're visiting.

Note: Javascript is unable to discover the original Domain and Path that was set for a given cookie. If you try to edit a cookie, and instead create a duplicate cookie name you will need to discover the cookies domain and path.
In FF: Tools Menu -> Options -> Cookies Tab -> View Cookies Button
To edit/create cookies that are listed as having a "Host :" instead of "Domain :" use a blank "Domain:" field in the editor.

Domains should contian atleast two dots eg: ".google.com" or ".www.google.com"

Let me know what you think
VortexCortex is offline   Reply With Quote
Old 11-11-2006, 02:18 PM   PM User | #2
rubenbuhr
Regular Coder

 
Join Date: Oct 2006
Posts: 107
Thanks: 3
Thanked 5 Times in 5 Posts
rubenbuhr is an unknown quantity at this point
You got lost in your invention. I can't use it at all in IE.
Looks like something useful in FF but I don't know what to do with it?
rubenbuhr is offline   Reply With Quote
Old 11-11-2006, 04:44 PM   PM User | #3
dan.s
New Coder

 
Join Date: May 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
dan.s is an unknown quantity at this point
Nice script. Maybe if it wasn't all escaped the url would be shorter?
dan.s is offline   Reply With Quote
Old 11-15-2006, 05:04 PM   PM User | #4
VortexCortex
Regular Coder

 
Join Date: May 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
VortexCortex is an unknown quantity at this point
Quote:
Nice script. Maybe if it wasn't all escaped the url would be shorter?
The actual unescaped URL is 4000+ chars long. I tried my best to reduce the size of the script by creating wrapper functions for longer DOM functions, and by using very short variable names (most are only one or two chars long.)

For some reason, when a single line of text gets up to around 4000 chars long the OS has a problem rendering the line, and the text disappears.

The URL had to be escaped in order to allow me to break it into multiple lines. The script I used to escape the URL escaped every char. This was not my desired result, but it worked and there is a simple way to get at the unescaped URL.

If you want to see the unescaped URL, copy and paste the above HTML/Javascript into a web page. view the page, right click the "Cookie Editor" link and choose the "Copy Link Location" option. Open a text editor, paste the URL from the clip board.

Or just visit the link I posted above and copy the link location from the link on that page.

Quote:
You got lost in your invention. I can't use it at all in IE.
As I mentioned above the script does not work in IE because IE stopped executing the script after only 500 chars of URL. I still had a lot more code to write at only 500 chars, so I dropped support for IE in favor of NS / FF which do support really long URLs.

I use the cookie editor for testing purposes, and do not care if it works in every browser, it works for me and I just thought I'd share it with you.

Quote:
Looks like something useful in FF but I don't know what to do with it?
Use the cookie editor to edit the cookies of any site you visit. What else would you do with something called a "Cookie Editor"?
VortexCortex is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:29 PM.


Advertisement
Log in to turn off these ads.