Created
June 4, 2011 01:45
-
-
Save davidcalhoun/1007454 to your computer and use it in GitHub Desktop.
Simple Microdata Highlighter Bookmarklet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dead simple - works on anything with attribute CSS selectors (IE7+) | |
// http://en.wikipedia.org/wiki/Microdata_(HTML5) | |
(function(){ | |
var a = document.createElement('style'); | |
a.innerHTML = '[itemprop] {border: 2px solid red;}'; | |
document.body.appendChild(a); | |
})(); | |
// Paste this into your address bar | |
javascript:(function(){var a = document.createElement('style');a.innerHTML = '[itemprop] {border: 2px solid red;}';document.body.appendChild(a);})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment