fix javascript header manipulation cookies

Job Description:

i would like to fix a javascript header manipulation cookies .

based on [login to view URL]

need to encodeURIComponent() while setCookie() and decodeURIComponent while getCookie().

Please refer to the attachment .js ,open it and read.

I think set cookie is very straight forward ,i think the fix should be like


However,I feel confuse where suppose to add decodeURIComponent().

Skills: JavaScript, jQuery / Prototype

About the Client:
( 37 reviews ) Senai, Singapore

Project ID: #34781320

Awarded to:


?Your best Senior Javascript Developer is here !!! ? I had similar project before and then your job makes me sense. ? Here is my github: [login to view URL] ? Here is my portfolio: https://6318ab843d74bd11 More

$21 SGD in 1 day
(3 Reviews)

13 freelancers are bidding on average $27 for this job


Hello hiring member i am bhavika i can fix this issues i am 6+years experience with jquery , javascript , html,css, bootstrap ,ajax, php, laravel ,flutter so let me message i can start this project right now thanks in More

$25 SGD in 1 day
(154 Reviews)

Hello, Greetings !! I am fully worthy to do this task to fix it .As I am SENIOR EXPERT PHP/Full stack developer having 10 years of working experience . lets connect on chat for further discussion. ^^I am available t More

$50 SGD in 1 day
(2 Reviews)

Hello, I am JavaScript and jQuery expert and I have 8 + years of professional experience. I can help you. I would like to discuss with you in details. Thank you.

$21 SGD in 7 days
(7 Reviews)

Hello, There! I am a JavaScript expert and I can solve your problem. I have solved several cookie issues to build website. I am confident I can exceed your expectations. Please send me message and discuss further in d More

$30 SGD in 1 day
(5 Reviews)

Hi hope you are doing well. I have done many times of these types of task. I have 8+ years of experience as a web developer. So is this easy for me. I can deliver professional code on time. So please contact me

$29 SGD in 7 days
(7 Reviews)

Hello! Dear client. It's my boast that I am a super Full Stack Developer and to support the best qualities and correct time to the clients with honestly, constant passion is my only pleasure. I am sure our cooperation More

$50 SGD in 1 day
(1 Review)

Hello, I am an experienced Javascript developer ready to fix your issue in the fastest time possible within your budget. please open a chat with me to discuss more, Thank you.

$21 SGD in 7 days
(1 Review)

Hi there... I have read your project requirements and I am 100% sure I can complete your project perfectly. I was worked web developer 10 years. I possession skill React.js, Angular.js, Vue.js, Laravel, Php, Javascri More

$21 SGD in 7 days
(1 Review)

Hello. It's nice to meet you. Thanks for your posting. I am happy to send proposal on this project. ***I'm a Senior Full Stack developer and you are the best client*** I have seen your project's requirements carefull More

$20 SGD in 3 days
(1 Review)