No. That would be a huge security issue. Would you want websites to have access to change your preferences!
You certainly couldn't do it with JavaScript if JavaScript is not enabled 😉 you best way is to detect the users without JavaScript and then - provide them with instructions.
Or just make your website so its degradable, ie. works without JavaScript too - best option.