I want to create the simplest bookmarklet for my browser.
javascript:document.getElementsByClassName(\'source\').style.visibility=\'visible\';
You might need to loop through the results, like this:
var divs = document.getElementsByClassName('source'); for(var i=0; i
And also as @ionoy mentioned, use display attribute. I hope that helps.
display
http://jsfiddle.net/erick/rb7bn/1/