We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca34293 commit 414d651Copy full SHA for 414d651
1 file changed
src/popup/popup.js
@@ -1061,6 +1061,15 @@ settingsLogoutBtn.addEventListener("click", logout);
1061
refreshBtn.addEventListener("click", refresh);
1062
markAllBtn.addEventListener("click", markAllAsRead);
1063
1064
+// Open GitHub Notifications via tabs.create for consistent tab placement
1065
+// Intercept all external links to open at the end of the tab strip
1066
+document.addEventListener("click", (e) => {
1067
+ const link = e.target.closest('a[target="_blank"]');
1068
+ if (!link) return;
1069
+ e.preventDefault();
1070
+ tabs.create({ url: link.href });
1071
+});
1072
+
1073
// Listen for storage changes to auto-update the notification list
1074
// This handles updates from background refresh or other sources
1075
browserStorage.onChanged.addListener((changes, areaName) => {
0 commit comments