@Mlipka said in Opera Air is beauty but I have some issues with it:
Hi @salimalbitar
Thanks for taking the time and sharing your thoughts. We appreciate the feedback. We'll analyze it.
In the meantime, can you share exactly which extensions work for Chrome but doesn't work for Opera? This way, we can investigate the root of the problem.
Both browsers use chromium as their engine, and extensions from Google store should work exactly the same in both browsers.
Hey @Mlipka
thank you for your reply it shows that you guys care
️
this makes sure Opera Air doesn't suffer the same fate as Opera's crypto browser lol
Can we assume that
most chrome extensions don't work on Opera?
because it seems like Opera Air is
restricting certain (most) Chromium APIs!
at 1st I thought
it just does not support the chrome.tabs.group API
because it may conflict with the tab island feature (that's not even introduced to Opera Air yet)
(which doesn't make much sense, but ok..)
but then I found out that the same problem is happening with other extensions as well
here's why I think that Opera Air is restricting Chromium APIs:
since "Tab islands" are supported.. yet.
(please add the feature to Opera Air soon)
I was like it's ok.. I'll just use a tab grouping extension from the store
but after all the tab grouping didn't work,
I created my own extension to see what's wrong
then I got this error
Error creating group: Grouping is not supported by tabs in this window.
Context
background.js
Stack Trace
background.js:43 (anonymous function)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Listen for when the extension icon is clicked
chrome.action.onClicked.addListener((tab) => {
// Get the current window's tabs
chrome.tabs.query({ currentWindow: true }, (allTabs) => {
if (chrome.runtime.lastError) {
console.error("Error querying all tabs:", chrome.runtime.lastError.message);
return;
}
// Find the active tab in the current window
const activeTab = allTabs.find(t => t.id === tab.id);
if (!activeTab) {
console.error("Active tab not found.");
return;
}
// Filter tabs that are to the right of the active tab
const tabsToGroupIds = allTabs
.filter(t => t.index > activeTab.index)
.map(t => t.id);
if (tabsToGroupIds.length === 0) {
// Notify the user that there are no tabs to group
console.log("No tabs to the right to group.");
chrome.notifications.create({
type: 'basic',
// iconUrl: 'icons/icon48.png', // Removed as icons are not provided
title: 'Tab Grouper',
message: 'No tabs to the right of the current tab to group.',
priority: 0
});
return;
}
// Get the current group counter from storage
chrome.storage.local.get({ groupCounter: 0 }, (data) => {
let groupCounter = data.groupCounter + 1;
// Create a new tab group with these tabs
chrome.tabs.group({ tabIds: tabsToGroupIds }, (groupId) => {
if (chrome.runtime.lastError) {
console.error("Error creating group:", chrome.runtime.lastError.message);
return;
}
I was chatting with Manus AI about the tab grouping error I got and it told me that:
"This error message:
"Error creating group: Grouping is not supported by tabs in this window."
is very specific and tells us exactly what the problem is.
It means that the browser you are using (Opera Air, in this case) is explicitly reporting that it does not support the chrome.tabs.group API for extensions in the current window.
While Opera browsers are built on Chromium (the same base as Chrome), they may choose to implement or restrict certain Chromium APIs.
Opera's "Tab Islands" is a native, core feature of their browser, and it's highly likely that they have disabled or not implemented the standard Chrome Tab Grouping API for extensions to prevent conflicts or to maintain control over their own tab management system.
What this error means for your extension:
- The code itself is likely correct for a standard Chrome browser.
*The limitation is with Opera Air.
The browser environment you're running the extension in is telling you that
it doesn't allow extensions to create tab groups using this method."
and since I tried the extension on chrome:
this confirms that:
The limitation is specifically with Opera Air's implementation of these APIs