Created
June 18, 2015 02:17
-
-
Save kainlite/dde05645f90158b43624 to your computer and use it in GitHub Desktop.
Chrome extension
This file contains 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
var iframeContentBody = document.getElementById('contentBody'); | |
var innerDocContentBody = iframeContentBody.contentWindow.document; | |
var iframeRawContent = innerDocContentBody.getElementById('rawContent'); | |
var innerDocRawContent = iframeRawContent.contentWindow.document; | |
console.log(iframeRawContent.messages); |
This file contains 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
{ | |
"manifest_version": 2, | |
"name": "Read Comments", | |
"description": "Read all comments from the current forum", | |
"version": "1.0", | |
"content_scripts": [{ | |
"matches": ["*://*.forum.net/*", "*://localhost/*"], | |
"js": ["content.js"] | |
}], | |
"browser_action": { | |
"default_title": "Read Comments" | |
}, | |
"permissions": ["activeTab","tabs"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment