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

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" : {
"newtab": "my-page.html"
},
How would one create this same action in Opera? I looked at the Browser and Page actions but they don't seem to do the trick.

Unfortunately, it's not supported in Opera.

Related

Safari App Extension content script not loaded on Safari error page?

When running a Safari App Extension, if Safari shows "Failed to open page", your content script isn't loaded. In this sort of scenario, it might be nice to redirect the user to a new url or suggestions page such as "did you mean...".
Is it possible to get a Safari App Extension's content script to load when a Safari error page is showing up?
No, it does not appear to be possible.
Based on Apple's Safari App Extensions "About Permissions for Scripts and Style Sheets" documentation, I'm deducing that script injection only works on web content from http:// or https:// schemes, while error pages are loaded from local files.
A URL pattern takes the form Scheme://Domain/Path.
(...)
Scheme can be http or https. (...)
The asterisk character can be used anywhere in the domain or path, but not in the scheme.
For reference, here's the path of a Safari 13 error page template.
file:///Applications/Safari.app/Contents/Resources/en.lproj/StandardErrorPage.html

Open a Safari browser from Telerik AppBuilder

Telerik AppBuilder is using it's own "webview", but Apple store cannot accepts donations through app unless it's done thought Safari browser... Is there any way to open Safari browser inside App?
Thanks
You should be able to use the InAppBrowser plugin, but use the target of "_system". See the docs for more details: https://github.com/apache/cordova-plugin-inappbrowser/blob/master/doc/index.md
Use the second argument "_system" to open the link in the default browser.
Omit it to open with in the app.
window.open("www.google.com", '_system');

Opening Selenium in a Iframe

I am using selenium to perform screen scraping on some application(url).I am using IE/Firefox driver.Can we open the browser which selenium opens in an iframe instead of opening it in a new window.To be more precise driver.get should open the url in an iframe and not a window.
No. You can't open a browser inside an IFRAME. The contents of an IFRAME are always displayed by the same browser that displays the IFRAMEing page.
How to work around this strongly depends on what you are trying to accomplish and on whether you are using Selenium 1 (a browser plugin that rewrites pages by injecting JavaScript into them) or Selenium 2 (which uses WebDriver to communicate with browsers). But I'm pretty sure you'd need to rewrite some of the Selenium software.

safari extension: Is there a way to read cookies

I want to port an extension from Chrome to Safari. Chrome extension is using Chrome.cookies api http://code.google.com/chrome/extensions/cookies.html, is there any similar method for safari extension?
Such API is available for plugins only. The only workaround is to inject script then send document.cookie back to background page

what is the equivalent option for displaying a notificationbox in chrome extension like in firefox addon

I am developing extensions for a site for major three browsers (FF,Chrome,IE).
I started with firefox and now working with chrome.
I want to know how to implement an option like the firefox xul notificationbox https://developer.mozilla.org/En/XUL:notificationbox in chrome?
How to display the do you want to save password panel in chrome like in firefox notificationbox?
I inspected LastPass and found that they are injecting a div inside the body tag as the first child of the body tag. is that the way it has to be ? or some other option?
There is an experimental API for this: chrome.experimental.infobars.
Until it gets stable creating your own div is the only option.