mirror of
https://github.com/SolninjaA/Chhoto-URL-Extension.git
synced 2026-10-28 16:18:30 +10:00
Revamp popup settings
This commit is contained in:
1 parent
f38086593b
commit
981f6da829
6 files changed
+115
-28
No files matched your search
@@ -345,6 +345,6 @@ browser.contextMenus.create({
|
||||
});
|
||||
|
||||
// Run code when the context menu is clicked
|
||||
browser.contextMenus.onClicked.addListener( () => {
|
||||
browser.windows.create({url: "/popup/popup.html", type: "popup"});
|
||||
browser.contextMenus.onClicked.addListener( (info) => {
|
||||
browser.windows.create({url: `/popup/popup.html?url=${info.pageUrl}`, type: "popup"});
|
||||
});
|
||||
Reference in new issue
Block a user