I am considering giving users code to embed certain javascript elements from my website. They are all customised versions of a generic base configuration.
I have got the code working as I want, but within the code I will be giving to users to embed there is a javascript object. I was wondering if there is a nice way to encode the object so that the user can't too easily tamper with it and will make it look somewhat more professional. I considered using base64 but thought it would be best to ask if anyone has any better ideas before I go down that route.