Equivalent to XUL toolbaritem in Mozilla Add-on SDK? - firefox-addon-sdk

I am considering to migrate my XUL-based Firefox add-on to the SDK. My add-on integrates as small panel in the BrowserToolbarPalette, displaying 2 icons and a label – currently realized as XUL toolbaritem. The module ui/button/action is not sufficient for this task, a ui/toolbar would be too much.
Am I missing something or is it really impossible to implement this with the new SDK?

Related

Document viewer browser plugin

I am developing a cross browser plugin for document viewing (.pdf, .doc, .xls, .mht, .tiff, .dwg). It needs to be a plugin and not the extension. Whatever i try to search takes me to the links for extensions and not for plugins. I found NPAPI as cross platform plugin architecture but soon found out that major browsers have planned to depreciate and stop the development support, Chrome is one of them. I have been searching from last 3 days and finding myself in no man's land.
I intend to develop the tool as a business requirement and not use some already developed software tools like quickview. Please provide some good links to the cross browser plugin development. A little help will mean a lot. Thank you
The only truly cross-browser technology, supported by all the major browsers, are standardized or standards-track web technologies. If you want something that works in all browsers, you'll need to develop using the technologies that browsers are designed and intended to support.
The reason you aren't finding any resources for doing what you describe is that there's no way to do it.

Horizontal scrolling skin for mediawiki

I want to create a mediawiki horizontal scrolling skin based on the wikipedia metro app.
wikipedia metro github
video of wikipedia metro
The skin is intented for a normal website and not a metro app.So how can i convert the code that is already created for mediawiki platform to a skin i can use?Where should i start.I tried to understand the metro app and convert it but i cant figure out how it works.Can you give some guidelines.(I am on linux computer so i cant test the app itself)
I can't find any other horizontal scrolling skins for mediawiki.
The Windows 8 app is not just a skin, it's a separate HTML page. It uses the API (specifically the mobileview module from the MobileFrontend extension). It also uses WinJS (JS library specific to Windows 8 apps).
I'm not sure if it's suitable for a full-fledged skin (like Vector), but I think you could use it as a base for a separate view of your wiki. Most of the work you will have to do would be replacing Windows 8-specific stuff, like WinJS.
Most of the HTML code seems to be in default.html and most of the JavaScript that actually runs the app is in default.js.

iPhone built in plugins for Safari?

I've been using my iphone to surf the internet a couple of times, and I've noticed that some websites had some plugins on their site, I've been trying to find these for my own website but couldn't find them.
The plugin I'm interested in is kind of a 'Coverflow' effect,
it's completely based on the touch screen, and looked about the same on every site I've seen it on. that's why I'm assuming it's a.. built in plugin or something like that.
I've also noticed that these sites have an iphone styled toolbar and menus, well I'd be grateful if you could help me find that plugin,
Would also be nice if you could explain about it a little or show me more plugins that are available out there for the iPhone's safari
I don't know about any plugin in Mobile Safari, but you can use some Frameworks to build apps with touch-events. For example:
http://jqtouch.com/
http://www.sencha.com/products/touch/
These frameworks often offer much features, which you can use to let your web app look like a normal iPhone-App.

What does a browser plug-in enable that can't be done natively in WebKit on the iPhone/iPad?

The google earth API looks awesome. Unfortunately you can't use it on the iPhone/iPad, because the UIWebView does not allow plug-in's.
The functionality as rendered in maps.google.com - earth view is amazing. What is the technical reason for using a plug-in vs doing something with just AJAX/native? Is it a technical hurdle, or a business thing?

Will all javascript libraries work with Iphone? Aptana question

I am trying to use Aptana to build an IPhone web application. I've never use Aptana. I downloaded the iphone support and started a new project. It is now asking me if I want to import a javascript library and lists the "big ones." Will IPhone's Safari be able to use these, specifically jquery? I saw that jquery had a special iphone library so my guess is no.
Should I tell it to use jquery (or other library) or should I download the special iphone javascript subset manually and try an integrate it in my project?
As far as I know JQuery should work fine on the iPhone. The specific libraries you are talking about must be additions to take advantage of iPhone only features like being able to handle the display orientation event or maybe use the webkit css animation extensions.
Although you will need to be careful with events since most mouse related events on the iPhone behave a little different from what you might expect. This presentation by PPK offers some clues about it:
http://yuiblog.com/blog/2009/04/27/video-ppk-jsevents/
Yep, iphone should run jquery just fine. The javascript support is surprisingly capable. Although you may want to look at some of the iPhone specific libraries out there. I forget their names. iUI I think?