roryeiffe / Spoiler-Block

Google Chrome Extension that filters out search result suggestions that "spoil" or reveal plot elements of the media (shows, movies, books, etc.).
GNU General Public License v3.0
0 stars 3 forks source link

Page Popup Injection #36

Open sacrael opened 3 years ago

sacrael commented 3 years ago

Injected html to show the popup for "Scanning in progress" to the user when scanning is in progress. Currently, it just shows the popup. It is using vanilla HTML & JavaScript because it would be too much of a headache to configure Webpack to generate a separate React build for this specific use case.

The contents of the popup's HTML is located at /public/content.html and /public/content.css. Since this is not using react, the state of this popup needs to be handled manually.

branch: popup-abdul