it's a chromium feature, native installers are prohibited from installing an extension if it's not in the store. this is to prevent malware....
Posts made by absolutelyfreeweb
-
RE: question about registering extensionsOpera add-ons
-
question about registering extensionsOpera add-ons
OK, so for a native addon to work, there are two parts, one the native app, one the extension.
and to be able to install the extension, it needs to be in the extension store....
I was wondering, how to do that while still in development ? Can I register an extension that is not yet finished that I can use when I create my installer ?
if I make changes to my extension, can I just upload new versions ?
usually when I make changes, it gets a new ID. will that become a different extension? or can I update the ID with new versions? do I need to await approval for every version ?
Is this described anywhere ?
- Opera add-ons
- Opera add-ons
-
runtime.sendNativeMessageOpera add-ons
According to https://dev.opera.com/extensions/message-passing/ it should be possible to use runtime.sendNativeMessage.
However, when I use it, I get:
Error in eventhandler for browserAction.onClicked: TypeError: chrome.runtime.sendNativeMessage is not a function.
Is this a permissions issue? what am I doing wrong ?
chrome.runtime.sendNativeMessage("com.xxx.yyy", "get_zzz", function (response) { alert("message from external component: " + response); });
-
install an extension as part of an installer ?Opera add-ons
Hi,
The basic extension example is javascript, packaged and installed within the browser.
I recognized, accessing registry or the harddrive would be outside scope. Thus I need to create an external program.
Now, I'm wondering how to install an extension from an ordinary windows installer. Any help, or documentation appreciated.
Any examples? yet better.
thank you..
-
RE: Allow removing postsFeedback for the Forums
that's what I already do, but it would save the moderators work, and me some frustration. I'm surprised you haven't seen it much. It's everywhere e.g. all microsoft forums, all social media, most vbulletins etc, etc.
-
RE: Bug in JSON parsing.. ?Suggestions and feature requests
I have not looked it up in the RFCs but I think the second one is the correct way ( i.e. the syntax is valid ). A "duplicate key" is more like a limitation of the implementation and would not help me.
- Suggestions and feature requests
-
RE: Bug in JSON parsing.. ?Suggestions and feature requests
It should either
- throw a parse error if the syntax is not valid
or if it is valid, not silently omit nodes but
- return back all nodes in correct order.
-
Allow removing postsFeedback for the Forums
When you have just added a forum post, and discover it's a duplicate, asked before, or you don't need the answer, or you were plain wrong, you want to remove your post. But it doesn't let you. Please allow removing the posts, not just editing them...
-
RE: Sorry, we can't show the code for this errorSuggestions and feature requests
ok so here is code and problem is really that if throw is used without a catch, it does not show the thrown exception anywhere. code:
alert('we are throwing an error next');
var error = function (m) {
throw {
name: "SyntaxError",
message: m,
at: at,
text: text
};
};error('this is an error'); // <-- this does not show anywhere. Browser terminates the code not showing there was an exception thrown.
alert('this is after the error, and not reachable');
-
RE: Bug in JSON parsing.. ?Suggestions and feature requests
bug reported it at chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=626949
-
Sorry, we can't show the code for this errorSuggestions and feature requests
Error in eventhandler for runtime.onMessage: [object object]
why not ?? where is the error ? Could you see why and try to add the exact error ?
error was thrown using json_parse from https://github.com/douglascrockford/JSON-js instead of the JSON object (just replacing the call)
-
Chromium version in the about pageSuggestions and feature requests
Please add the chromium version to the about page.
It is important to know where a bug comes from. Having the chromium build in the about page helps.
-
RE: Forum search... have you EVER tested it? O_oFeedback for the Forums
Please at least link google search when your forum search is yet so non-existent.
the basic more than one word search redirects to the overview page. ETA ?
-
Bug in JSON parsing.. ?Suggestions and feature requests
For an add-on, I'm trying to use JSON.parse() and JSON.Stringify(). Here is my code:
alert(jsonStr); var jsonData = JSON.parse(jsonStr); var str = JSON.stringify(jsonData); alert(str);
elements existing in jsonSTr are missing in str.
Here is jsonStr:
{
"favorite": {
"name": "Test Page",
"url": "www.test.com"
},
"folder": {
"name": "A Category",
"subfavorite": [{
"name": "Another Page",
"url": "www.test.com"
}, {
"name": "3rd Page",
"url": "www.test.com"
}]
},
"favorite": {
"name": "4th Page",
"url": "www.tomorrow.com"
}
}in str, the first favorite is completly missing !! opera 38
-
RE: Add-on beginner questionOpera add-ons
thank you leoc, that was bc can't use onload trigger in page, so script tag had to come last in the html page.
now back to original question, how do I from javascript referenced from my popup page, change location of active tab?
the link in the popup page, calls a javascript function onclick, if I try to set chrome.tab[0].url the tab[0] is undefined
-
RE: Add-on beginner questionOpera add-ons
when I enumerate the page with:
for (i = 0; i < document.all.length; i++) {
alert(document.all[i].nodeName);I get:
HTML, HEAD, STYLE, SCRIPT only...no body!!
my html is very simple, I don't know how to post the source in this forum... O.O
-
RE: Add-on beginner questionOpera add-ons
ok so I put my javascript code outside the html to avoid security problems and do not get that error anymore, but it's like the js file does not access the html file. I've tried both:
document.getElementById('linkspan').appendChild(link);
document.getElementsByTagName("body")[0].appendChild(link)but get:
uncaught typer error: Cannot read property appendChild of null
uncaught typer error: Cannot read property appendChild of undefined