Skip to content

Instantly share code, notes, and snippets.

@seeRead
Last active December 14, 2015 20:29
Show Gist options
  • Save seeRead/5144539 to your computer and use it in GitHub Desktop.
Save seeRead/5144539 to your computer and use it in GitHub Desktop.
bookmarklet for side-by-side viewing of original and google-translated content tested in chrome & firefox(?)
// useful bookmarklet for side-by-side viewing of original and translated content (tested in chrome and firefox?)
// adapted from http://www.chromeplugins.org/plugins/google-chrome-dual-view/
// use as you like
// http://seeread.info
javascript:a=location.href;b='http://translate.google.de/translate?u='+a+'&hl=en&langpair=auto|en&tbb=1';f='<frameset cols=\'*,*\'>\n<frame src=\''+a+'\'/>';f+='<frame src=\''+b+'\'/>\n';f+='</frameset>';with(document){write(f);void(close())};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment