Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Commit

Permalink
Adding TODO about data URI
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayevans committed Mar 30, 2012
1 parent ed0770f commit 1cb5705
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/contentscript.js
Expand Up @@ -15,6 +15,8 @@ if (regex.test(location.href)) {
// No match was found.
}

// TODO:
// - use data URI for BG image
chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
document.getElementsByTagName('IMG')[0].style.background = request.active ? 'url(http://boomshed.com/TransImgBG/bg_checkerboard.png)' : '';
});
Expand Down

0 comments on commit 1cb5705

Please sign in to comment.