Friday, 24 May 2013

Unreadable gibberish

*
My biggest achievement this week was undoubtedly to convert a perfectly good webpage into gibberish!

Wb rukdist anwiinojort tcas hium mes etduentidfp te luqmibt e jenkuptyj waid cahbofu ubti godwerash!

The reason you might want to do this, is when you need to focus on some other aspect of the page/prototype/design other than the content. Or if you want to use screenshots but don't want potentially sensitive content to be visible.

This little method adds 'gibberish' to a context object e.g. window, then you can run gibberish.go( element ); where element is a dom node e.g. document.getElementsByTagName('body')[0] .

Check it out...
http://clanceyp.github.io/gibberish.js/

Monday, 13 May 2013

Edit navigator userAgent in Chrome

I keep needing to do this and forgetting, so here we go...
  1. Open the developer tools 
  2. click on the settings icon bottom right 
  3. click on the Overrides menu 
  4. edit the User Agent setting field
 

Note: the opinions on this page don't represent that of my employer in anyway. And, actually only vaguely represent my opinions on the date of publication. (Unlike Ms T, I am very much for turning)