Open NicolasKieffer opened 4 years ago
The domain for the HTML document must be cloud.science-miner.com
right? Not mandatory that this is served by the glutton web app?
Yes, cloud.science-miner.com will be correct.
Note : Domain of HTML document doesn't matter. Any other domain name you own will be also correct.
Create new route on Glutton service to handle 'augmented PDF view' feature 'in new tab'.
This route should return an HTML document that contain
<div id="gluttonPdf"></div>
So Glutton service should at least send this response :
Note : Web Extension only build & inject HTML code of 'augmented PDF view' in div#gluttonPdf