Run A Chrome Plugin On A PDF Page
Using a Chrome extension, I'd like to: Detect if the current tab has loaded a PDF file. Add a button to the popup.html to offer to convert the PDF into HTML5. Get the URL of th
Solution 1:
In the manifest file you should have this:
"content_scripts": [
{
"matches": ["*://*.pdf"],
"js": ["background.js"]
}
]
Post a Comment for "Run A Chrome Plugin On A PDF Page"