fix: requestHTML from specific tab

This commit is contained in:
DIYgod 2023-12-12 15:09:07 +08:00
parent 2b5291080d
commit c66ef5e170
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,8 @@ export const getRSS = async (tabId, url) => {
console.debug("Send to content script requestHTML")
const html = await sendToContentScript({
name: "requestHTML"
name: "requestHTML",
tabId,
})
console.debug("Get html", html)

View File

@ -22,8 +22,8 @@ function IndexPopup() {
return (
<div className="min-w-[350px] p-5">
<a className="absolute right-4" href="/options.html" target="_blank">
<i className="icon-[mingcute--settings-3-fill] w-5 h-5 text-slate-600 hover:text-black transition-colors"></i>
<a className="absolute right-4 h-6 flex items-center" href="/options.html" target="_blank">
<i className="icon-[mingcute--settings-3-line] w-5 h-5 text-slate-600 hover:text-black transition-colors"></i>
</a>
{!data.pageRSS && !data.pageRSSHub && !data.websiteRSSHub && (
<div className="space-y-4">