I have gone through the examples of Add-on SDK 1.5 yet haven't seen anything like a web page which the addon can interact with the user and get input from him. There are only dialogs called panels and I really would like to have a real page in a tab like in google-chrome addons.
Is it even possible with the Add-on SDK (1.5)?
Of course you can create a tab, you use tabs.open(). As to interacting with this tab - you probably want to register a content script before opening the tab. Just like you would do it with Google Chrome.
Related
I'm doing a custom Power App (canvas) that is used inside Teams as a Tab in a channel. This app has some deeplinks to other channels inside teams (the link url is copied from within teams and are verified and works ok). I'm using the Launch() function to do these deeplink redirects. I get the desired behavior in the Desktop and Mobile version of Teams, but in the browser version whatever I try it always open up the link in a new tab. I would like it to open up in the same window and keep the navigation context for a smooth UX.
I've tried booth LaunchTarget.New and LaunchTarget.Replace. Also used booth 'https://' and 'msteams://' in the deeplink urls. I would expect that the LaunchTarget.Replace would have done what I wanted, but it doesn't work.
The only way I've seen links working as expected in all three versions of teams (Desktop, Mobile and Browser). Is if I manually insert a link inside a message in a 'Posts' tab or if I manually insert a link inside a Wiki. If I do the same in for example a OneNote document it doesn't work and open up in a new Tab. Its quite inconsistent behavior.
Any help, info or workaround is appropriated.
I'm working on a web browser app for mac. I was playing with the test app then I saw this option...
When I clicked on that, I saw this...
But there was no plus button. Is there any way I can show the plus button in the tab?
Please don't send me the link to the Apple documentation because it doesn't give the exact code.
BTW, this is not a document based app
This is an app developed by Apple Inc. You can download it. In this app, you can add tabs. So change the name of this app and you're all set
https://developer.apple.com/documentation/appkit/documents_data_and_pasteboard/developing_a_document-based_app
Wish you best of luck on making a web browser
I am trying to create a Firefox add-on that is restartless and has a menu entry in the Firefox App Menu (preferably in the Options sub-menu). I cannot find anything anywhere on how to add an entry to the app menu while being restartless! I am building it with the Mozilla Addon Builder. Any and all help would be appreciated!
In fact, there isn't really a way to do this. A "normal" restartless add-on has to enumerate all open browser windows and add a menu entry "manually" to the element with id="appmenu-popup". It will also have to watch for new windows being opened to make the same change there as well. While this is already complicated enough (bug 675387 is about making this simpler by allowing using overlays like in non-restartless add-ons) I strongly suspect that the Add-on SDK (that the Add-on Builder is based on) doesn't provide any way to do this at all. After all, it is only meant for add-ons that can live with a limited set of features.
In a site I'm working on, songfountain.com, we have a bookmarklet.
songfountain is like delicious and twitter, except it's specifically for song links.
The songfountain bookmarklet functions similarly to the delicious and twitter bookmarklets. It grabs the URL and copies it in to a form field; the form has a button, and submits to songfountain.com -> simple social bookmarking.
Google Notebook (when it was still available) also had a bookmarlet. Google Notebook's and songfountain's bookmarklet open the form within an IFRAME within the current page.
Delicious and twitter open a new browser window.
Opening a new browser window looks more robust, but I myself don't like windows opened for "small stuff" like this. I don't know if I'm overlooking some technical problem that I haven't run into yet.
Question: Is it better to use an IFRAME? Or is it better to open a new browser window?
From a user/usability perspective, an IFrame is, generally, less disruptive and more user friendly. It also doesn't run into problems with pop-up and ad-blockers on the users' machine.
Look at the "Note in reader" bookmarklet that is provided to Google Reader users for inspiration. There may be other tricks you could consider, besides IFrame and pop-up.
I want to write a Firefox extension that acts exactly like the built-in RSS feed scanner (as an exercise). It should do the following:
On each new page / tab load, it should scan the content of the page for RSS feeds
If there are RSS feeds in the page, it should put a button in the location bar that the user can click
On clicking the button, a speech bubble should appear under the button (the way a speech bubble appears under the bookmarks star when you click on it), with information on the feeds and buttons to subscribe to them
So my main questions are:
What is the process to run specific content scripts for specific pages?
What is the process to use the results of those scripts to update the speech bubble for each location bar button for each tab?
Basically, I'm trying to figure out how to do in Firefox what Page Actions are in Google Chrome.
To clarify, I want to replicate this functionality in Firefox: http://code.google.com/chrome/extensions/pageAction.html
Please help! :)
This question is similar to this question:
how to have tab-specific xul control with firefox
to have tab specific control. Usually (or maybe I am wrong),the newly added control is the same one across all the different tabs. Change from any tab will change its appearance in all tabs.
still looking for solutions or ideas.