stadler / SendPage

Chromium extension to send a page to a e-mail recipient.
https://chrome.google.com/webstore/detail/higemadklcnjhjpgcbnnbpgeeippjjcp
MIT License
13 stars 7 forks source link

PDF Viewer uses extension URL #6

Closed nedwidek closed 9 years ago

nedwidek commented 9 years ago

Using "send this page" from a PDF in the built in PDF viewer results in the body of the message containing the URL of the PDF Viewer extension and not the source of the PDF.

Using info.srcURL when info.pageURL starts with "chrome-extension://" fixes. Hopefully this is a generalized fix that works for all extensions managed pages and not just the PDF Viewer