Skip to content

Instantly share code, notes, and snippets.

@stomita
Created March 12, 2010 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stomita/329959 to your computer and use it in GitHub Desktop.
Save stomita/329959 to your computer and use it in GitHub Desktop.
javascript:(function(d){d.body.appendChild(d.createElement('script')).src='/soap/ajax/18.0/connection.js';setTimeout(function(c,u,ui){c=sforce.connection;c.sessionId=d.cookie.match(/(^|;\s*)sid=(.+?);/)[2];u=new sforce.SObject('User');ui=c.getUserInfo();u.Id=ui.userId;u.LanguageLocaleKey=/ja/.test(ui.userLanguage)?'en_US':'ja';c.update([u]);location.reload()},1000)})(document)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment