Questions tagged [opera-extension]

This tag is dedicated to development of extensions for the Opera browser.

This tag is dedicated to development of extensions for the Opera browser. Opera extensions are being developed using web technologies such as JavaScript, HTML and CSS. Starting points:

116 questions
3
votes
1 answer

Syntax errors in hard to reach JS environments

I'm making an Opera Extension. It includes a background script which fails very silently. It runs in a unique environment, so I can't take it just anywhere to check if it works (it needs predefined variables). Is there a way to debug scripts without…
oyvind
  • 1,429
  • 3
  • 14
  • 24
2
votes
0 answers

chrome.identity in browsers other than chrome

I have made a chrome extension that uses chrome.identity but now I want to add support for other browsers (e.g. opera). Obviously, most features like getAuthToken do not work: I have to use launchWebAuthFlow. But there is one problem: it does not…
2
votes
0 answers

CSS minimized mode in Opera: positioning in speed dial extension

I'm trying to display a scrolling list inside a speed dial box but have a problem with the positioning I want to know when the list object is too big to fit the box, but as far as I know, there's no way of getting the size of the box in pixels how…
2
votes
1 answer

Add extension to Opera Neon

How do I add extensions (like in Google Chrome) in the new* browser Opera Neon? Any help would be appreciated. *I am not asking about the simple Opera browser. Thanks!
Abdul Rehman Khan
  • 162
  • 1
  • 4
  • 23
2
votes
1 answer

Which IDE is best for extension development?

I code for Firefox, Chrome and Opera extensions with Sublime Text and Notepad++. But I wonder is there any IDE more suitable for extension development? I tried to code with XCODE but it was no different than Notepad++.
2
votes
1 answer

Does Opera extension manifest have a similar set default tab page like Chrome?

I'm trying to port a Chrome extension to Opera. In my chrome manifest.json I have the following lines which tells the Chrome browser to use a specific html page when it launches and whenever it opens a new tab. "chrome_url_overrides" : { …
headwinds
  • 1,781
  • 15
  • 26
2
votes
1 answer

Opera Sidebar onBlur event doesn't fire when sidebar closing

Listener onBlur works when i click on header of any tab, but event doesn't fire when I click on icon of another sidebar extension or when I close sidebar opr.sidebarAction.onBlur.addListener(function(w) { console.log('on blur event'); }); Seems…
StayAtHome
  • 81
  • 1
  • 8
2
votes
0 answers

windows.create does not work properly in Opera for type "popup"

I'm currently trying to port my Chrome extension Prime Player to Opera. It has a miniplayer that is opened as a separate window (using windows.create) of type "popup", "panel" or "detached_panel" (depending on a user setting). The latter ones seem…
Sven Ackermann
  • 442
  • 5
  • 11
2
votes
1 answer

No result from chrome.tabs.query in Opera

I have developed a Chrome extension, it works fine in Chrome 39 but gives an error in Opera developer 24 on Ubuntu 14.04 (64 bit). Error in response to tabs.query: TypeError: Cannot read property 'id' of undefined at HTMLLIElement.click So I…
xkeshav
  • 53,360
  • 44
  • 177
  • 245
2
votes
1 answer

Converting a Chrome extension into an Opera Extension

I have a number of Chrome extensions that I'd like to convert to Opera extensions. I understand that from Opera 15 they both use the same Chromium architecture for extensions, but I can't even get the Opera manifest to be recognized. My Chrome…
2
votes
1 answer

Detect if browser extension is installed for Opera

I have created browser extension/add-on for Chrome, Firefox, Safari and IE using Crossrider framework Now since Crossrider does not provide support for Opera, I have created a native extension for the same. My problem is how to detect if a…
Uttara
  • 2,496
  • 3
  • 24
  • 35
2
votes
1 answer

Why are cookies unavailable from Opera extension background page?

I try to write Opera extension, it must be able to call AJAX requests to third-party site. What I have in config.xml: I am authorized on this third-party site: I call AJAX using jQuery from background page in a very simple…
Dmitrii Tarasov
  • 414
  • 2
  • 13
2
votes
1 answer

why can't post messages between background script and injected script in opera 12?

Since injected script can't do cross domain xmlhttp requests I tried, as it is advised in the manuals to send message from injected script to background script for it to do the job. But I cannot get the messages to work. This is my code, it is only…
rsk82
  • 28,217
  • 50
  • 150
  • 240
2
votes
1 answer

Check if Opera extension installed in developer mode

Is there some predicate or variable that one can use in the extension code to determine whether it was installed normally or in developer mode? (I'd like to put some debug output visible only in developer mode.)
1
vote
3 answers

Can't get the href value of an anchor tag with jQuery

I'm trying to get the href value of an anchor tag using jQuery, but the this keyword is not working as expected. Here is the result of the code in the console: The part of the code I have problem with: $('#container a').click(() => { …
user8587769