Skip to content

Instantly share code, notes, and snippets.

@vindia
Created February 11, 2013 15:30
Show Gist options
  • Save vindia/4755138 to your computer and use it in GitHub Desktop.
Save vindia/4755138 to your computer and use it in GitHub Desktop.
Bookmarklet to reveal a phone number that's hidden on a site, without clicking the link that will trigger some event. This is used for example on iens.nl, a Dutch restaurant reviewing website.
javascript:(function()%7Bdocument.getElementById(%27phonenumber%27).className%3D%27%27%3B%7D)()%3B
javascript:(
function(){
document.getElementById('phonenumber').className='';
}
)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment