I'm not good at JS so I've been toying around with some Greasemonkey scripts I've managed to find, but they didn't perform as expected. What I want is very basic:
Check if the URL within a domain contains the variable lang - either ?lang or &lang
If the URL contains that variable, check its value: If the value is en do nothing, if however the value is anything else, replace it with en
If the URL doesn't contain the variable lang add it to the end of the URL, as in &lang=en
Any ideas?
 
     
     
    