XCF-Babble / babble

说都不会话了。
GNU General Public License v3.0
66 stars 9 forks source link

Have the background script keep state of the last message. #74

Closed kkuehlz closed 5 years ago

kkuehlz commented 5 years ago

Have the background script maintain a light dictionary -- domain to last unsent message. This way if the popup is closed, users won't lose their content. Create a listener in the background script that will send the message for each page. When the popup opens, make a request to the background script for last unsent message.

yvbbrjdr commented 5 years ago

Sounds good.