Chrome Extensions

Status
Not open for further replies.

Z1ggy

Ars Legatus Legionis
15,487
Pretty sure this will be the right place to post this.

Does anyone here have any experience creating chrome extensions?

I need to see if I can either create one myself or find one that does what i need.

I have a website that writes information to the status bar(on successful completion of tasks), it works fine in any version of IE, i needed to download an extension for Firefox(Status-4-eva) for it to work in Firefox. But i cant seem to find any extension except Status bar(https://chrome.google.com/webstore/deta ... djja?hl=en), and it doesnt seem to do what i need it to do.

However i dont really expect it to, since all it does is 'Status bar to display non-truncated links on mouseover'.

So does anyone know of any other extensions i can try to get the status bar to show up, or any better information on how to create one?

Thanks in Advance
 

Mile Zero

Ars Praetorian
578
Subscriptor++
There isn't, as far as I'm aware, any API for Chrome extensions to talk to the status bar. This is on purpose: the Chrome team doesn't want people thinking of the status bar as a place to dump notifications. They'd rather you used browser actions or the notifications API.

Considering that support for Web Notifications in Chrome and Firefox is decent, you might be better off using that for those browsers, so that users wouldn't need to install an extension at all.
 

Mile Zero

Ars Praetorian
578
Subscriptor++
Sorry, I thought this was for a site you controlled.

I think you're just out of luck, then. I had assumed you could patch the code yourself, but if you can't, Chrome doesn't really offer any recourse.

I was going to suggest using Object.observe() to watch window.status, but it's not allowed to observe the global object. What you could do is write a polling loop in Tampermonkey that checks window.status periodically, and then fires an HTML5 notification when it changes.
 

Z1ggy

Ars Legatus Legionis
15,487
[url=http:/civis/viewtopic.php?p=27397831#p27397831:2hhxzc45 said:
Mile Zero[/url]":2hhxzc45]Sorry, I thought this was for a site you controlled.

I think you're just out of luck, then. I had assumed you could patch the code yourself, but if you can't, Chrome doesn't really offer any recourse.

I was going to suggest using Object.observe() to watch window.status, but it's not allowed to observe the global object. What you could do is write a polling loop in Tampermonkey that checks window.status periodically, and then fires an HTML5 notification when it changes.
its a site i control, but at the same time, because of the legacy code we use i dont have access to the nitty gritty. Its code built in one language, compiled to run on a mainframe and to run as an ASPX.NET. I can only touch the code built in the first language, but the compiling to ASPX.NET spits out all this extra code, which works fine in IE 9 and above, I can get it to work in Firefox if i use the add-on i mentioned, but chrome doesnt do it(which makes sense since it doesnt have a status bar per se).
 
Status
Not open for further replies.