How do I hook in to the "New Tab" page UI for the add-on I am writing?

I am writing an add-on called Undo Close, for Firefox Mobile. It allows the user to reopen recently closed tabs.
Currently, I provide an "Undo Close" button in the main menu (using the NativeWindow API). However, the ideal location for this button is in the BrowserTab UI. As far as I know, there is no JS-API for the native widgets located therein. How can I add my button to the UI, possibly using ctypes?
If interested, I can supply a link to my add-on in AMO.

You would be best to ask the Firefox for Android developers at https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23mobile they can be best reached from 8 AM pacific to 6 PM pacific during the work week.
As I understand your question you would need https://bugzilla.mozilla.org/show_bug.cgi?id=799631 to be fixed.

Similar Messages

  • The new tab page is showing Gmail inbox pages, meaning anyone can start a new tab and get access to my email. How do I stop this?

    When I open a new tab, within the pages brought up is my gmail inbox. This mean anyone can have access to my inbox without logging in, without my password. How do I restrict this access?

    If you log out of Gmail, then clicking the thumbnail should take you to a login page. If you don't log out, then anyone can access your email just by typing gmail.com in the URL bar. But you're right that the picture does create a temptation to click...
    You can set the new tab page back to blank if you prefer. However, please note that the page thumbnails are stored in the browser cache, so you also need to clear your cache to flush out existing thumbnails if you don't want anyone to be able to see them.
    More info: [http://support.mozilla.org/en-US/kb/new-tab-page-show-hide-and-customize-top-sites#w_how-do-i-turn-the-new-tab-page-off New Tab Page > How to turn the new tab page off].
    Clearing cache:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Offline Storage : "Clear Now"

  • How to manually change the thumbnail images of the new tab page (without using addons)?

    I wanted to customize the images displayed on the thumbnails on the New Tab Page. I tried using the addon "New Tab Tools" to do so and it worked, for a while. Now a bug seems to have affected it (it is not displaying any thumbnails, so I uninstalled it). So I want to try another approach. I want to MANUALLY change the images for each of the thumbnail on the new tab page (of course, the thumbnails are 'pinned').
    (I read some other articles related to thumbnails, specifically about DELETING them, and it asked me to open the Firefox Profile Folder, and in there, delete the thumbnails folder. I thought I could simply change the images stored in it instead of deleting them, but there is NO thumbnails folder in the Firefox profile folder (I accessed the profile folder thru the troubleshooting information section in the help menu). So where is this thumbnails folder after all?)
    So, how can I do it?
    Thanks in advance.

    I note you are using Icedragon 26. Not sure I have come across that before.
    I guess they provide their own support, as they are apparently offering something based on an outdated and unsupported Firefox26. I see their forum has threads on Icedragon if you search for them, but at a quick glance I see no specific topic
    *https://forums.comodo.com <br /> & https://forums.comodo.com/index.php?action=search2
    You could always install an official and up to date Firefox 29
    * See [[How to download and install Firefox on Windows]]
    * Download from http://www.mozilla.org/en-US/firefox/all/
    You may note the New Tabs page may be subject to a few changes over coming versions of Firefox it is apparently being improved. Firefox itself as Fx29 is also slightly changed from Fx26
    * [[Learn more about the design of the new Firefox]]

  • How do I change white smoke on new tab back to the thumbnails?

    There is something off with my New Tab feature instead of opening with my thumbnails, it opens to this website:
    www.trovi.com/?gd=&ctid=CT3326235&octid=EB_ORIGINAL_CTID&ISID=M3EB81D18-1C06-4618-A05F-EEA6AC2C6348&SearchSource=69&CUI=&SSPV=&Lay=1&UM=5&UP=SP8852B7AA-8067-4CB1-A52A-737DBD92F973
    I've tried removing it but it hasn't worked, I can't find the grid button, and the Fire Fox Help Link:
    The thumbnails on the new tab page are missing - how to get them back: I've tried everything from changing the search engine to removing babylon and everything and nothing has worked. White Smoke is still up and i don't know what else to do.

    Hello,
    It is evident an add-on is causing this.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Sometimes finding the add-on just doesn't do it at times, so you may want to do the following as well:
    If you go to "about:config" in your browser without the quotes, click the promise to be careful button and search for '''browser.newtab.url''' and double click to edit the value and change it to '''about:newtab''', this should fix your issue.

  • Every time I open a new tab, it no longer goes to the standard "you've opened a new tab" page, but to a searchwebsite of Babylon. How do I fix this?

    Every time I open a new tab, it no longer shows the standard Firefox "new tab" page, but a search-website by Babylon. I don't know how to fix this.

    To revert to Google as your preferred search engine, please do the following.
    * In the location bar, type '''about:config''' and hit Enter.
    * In the filter at the top, type: '''keyword.URL'''
    * Double click it and remove whatever's in there and replace it with http://www.google.com/search?q=
    The URL to add in "keyword.URL" becomes a link in this post, so right click it and choose "Copy Link Location" to copy it to the Windows clipboard. Then hit CTRL+V to paste it. Saves you having to type the whole thing.
    '''To reset your home page, do the following'''.
    * Go to the site you want to set as your homepage.
    * Click the orange Firefox button and go to '''Options '''| '''Options '''| '''General'''
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.
    After you complete the above steps, install this add-on to prevent another search engine from modifying your preferences: https://addons.mozilla.org/en-US/firefox/addon/browserprotect/
    It's possible that ''Babylon ''will add itself to more than one place in '''about:config'''. Therefore, after completing the above steps, open about:config again, type "''babylon''" in the filter at the top and for every instance where you see a setting with that name in it, right click it and choose ''''''Modify ''''''and then ''''''Reset''''''. Then close Firefox and restart it. See example screenshot.
    Babylon search and toolbar will be installed with an IM chat client called ''Digsby'' if you don't opt out of it during the installation. See the info at the foot of this page: http://techshali.com/digsby-instant-messenger-and-email-manager-social-networks/

  • How to DELETE the bookmark icons from Safari New Tab Pages, How to DELETE the bookmark icons from Safari New Tab Pages

    I struggle to believe that I am the only person experiencing this problem.
    I just hope somebody has the decency to spend a couple of minutes replying with a resolution.
    Every time I click the + sign on my iPad, Safari to open a new tab page..
    I am greeted by loads of icons / boxes that are links to my bookmarks.
    I want to delete those icons / boxes from the page
    If I want to visit one of my bookmarks I use the bookmark icon at the top right of the page.
    If I long press on the icons they do not wobble / delete
    How can I delete them ?
    I dislike them so much I am beginning to think that I will have to stop using safari,
    and use a different search engine.....but I shouldn't have to.

    If you don't want to see these bookmarks when you open a new tab and you don't want to delete them you'll need to move them. Now as you probably know there isn't really a move function for Bookmarks in iPad, so what I'd recommend is Tap Bookmarks>Favourites tap one of the bookmarks in this folder and when it loads up save it to another location on your iPad - repeat for all bookmarks in this folder, once done tap Bookmarks>Favourites select EDIT and delete all bookmarks in the favourites folder.
    You need to bear in mind that FAVOURITES is simply a folder storage area for Bookmarks so any bookmarks you delete from this folder won't be available under Bookmarks unless you follow the process outlined above.
    Steve

  • In the new tab page, how do you restore sites you've deleted.

    in the new tab page, how do you restore sites you've deleted.

    You can only edit the content of the chromeappsstore.sqlite file with an SQLIte manager like this Firefox extension:
    * SQLite Manager: https://addons.mozilla.org/firefox/addon/sqlite-manager/
    # open Profile Directory -> chromeappsstore.sqlite -> Go
    # open Table > webappsstore2
    # select the "Browse & Search" tab to see all entries in that table
    You can select the "batwen.:about" "blockedLinks" line and click the Delete button on the toolbar to remove that record and reset the deleted sites.

  • How to remove the search bar from new tab page?

    I've added extra pinned site rows and columns on the new tab page.
    The new search bar is redundant and space hogging.
    Please provide how to disable in step by step instructions :)
    Edit:
    Answer
    1. Go to Firefox Profile Folder (go to about:support in Firefox then click Open folder/Show in Finder to get there)
    2. Open or create the chrome folder in the Firefox Profile Folder.
    3. Create a blank text file, copy and paste this code into the text file.
    @-moz-document url(about:newtab)
    #newtab-search-container, #newtab-search-logo { display:none !important; }
    #newtab-margin-top, #newtab-search-container { display:none!important; }
    4. Save it as userContent.css (using ALL FILES under the drop down menu)
    5. Place the new css file into the chrome folder.

    Fox_1923: You're not supposed to create a new chrome file but a <b>userContent.css</b> file in the <b>chrome</b> folder.
    You can use mine and <b>cor-el's</b> code together in the userContent.css file to get rid of the large margin in the top along with the search box. I've used it just fine in the latest Nightly and so have others who dislike the search box.
    One thing you could be doing wrong is not setting the file type to all Files and Notepad or whatever else you are using is adding an unneeded extension (for Windows, .txt = userContent.css.txt doesn't work!)
    See this for clarification:
    <img src="http://i.imgur.com/cZDH9vy.png" title="Hosted by imgur.com" /

  • How do I change the new tabs page from google to the thumbnail one?

    I just downloaded some stuff and when I got back onto Firefox it made the home page and new tab page Google. I changed the home page back but I'm unsure of how to make the new tab page the way it is with the thumbnails. None of the articles I've read helped.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • How can I set the New Tab Page so that it only shows my Bookmarks (Like chrome) and not the history ?

    Hello, I've recently installed Firefox on my new PC after giving Chrome yet another chance (I've had bad experiences with it) and after seeing crashes everywhere I just gave up. I'm a long-time Firefox user but I've never been able to figure out how to prevent the New Tab Page from showing the Browser's History.
    Is there a way to make Firefox show Bookmarks and Folders on the NTP instead ? Also, is there a way to make the Bookmarks bar show on the New Tab Page ONLY ?

    The about:newtab page shows pages that you have visited. So if you visit a page by clicking a bookmark then that bookmark will become a history item and will thus appear in one of the tiles on the about:newtab page.
    If you want then you can customize the tiles and drag bookmark (and history) items in a specific tile to pin that web page to that tile.
    You set the number of rows and columns that appear on the about:newtab page by modifying these prefs on the about:config page via a double-click.
    *browser.newtabpage.columns (3)
    *browser.newtabpage.rows (3)
    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites

  • How do I get back the "old" new tab page with 9 tiles instead of 8?

    I find the 8/12 tiles (If pressed Ctrl+scrollwheel down) annoying, is there any way the get the classic "new tab" page with 9 tiles back?
    Ps I already tried changing the number of colums (5 to 3) about:config / browser.newtabpage.colums I got 9 tiles but it looks awful

    Thanks for that.
    But how do I get it back as it was..... before they messed it up?
    I don't want smaller text.
    And, as I said in my first post, NewTabTools deletes the Google Search Frame. (which i want)
    I just want my 9 tiles (at least) with the Google search form...'''.as it was'''.

  • How do you create/add websites to the 'new tab' page?

    I followed the help link you guys have already created. It instructs to go the 'show all bookmarks' window and drag an already created bookmark to a vacant spot on the 'new tab' page. This doesn't work for my PC as after i drag the desired bookmark, it just opens that page on the new tab page. Please help out with how to add new tiles to the blank new tab page.

    Hi there,
    You want to save websites in the Firefox tab page tiles,this is how I do it.
    You have to have the bookmarks bar enabled if it's not showing in your
    Firefox.Right click on an empty space to the top of Firefox & click
    Bookmarks Toolbar,It should show under the address bar & search bar
    like mine.
    Go to what sites you want saved in the Firefox tab page,drag & drop the
    site in the Bookmarks bar.Open the Firefox tab page,now drag & drop what you saved in the Bookmarks bar onto one of the tiles,It should work.
    You can delete any sites saved in the Bookmarks bar,right click on it & click delete.
    Sites saved in the tab page may need to be pinned if you clear cache,history & cookies.

  • New Tabs page is the same at work and at home ....how?

    I just downloaded the new firefox at work on my pc and set up all the new tabs page where you have 'bookmarked' pages that you go to frequently.
    Today I came home and opened a new tab on my Mac, AT HOME and saw all my bookmarks.
    How can that be?? I really don't want my work bookmark tab pages at home.
    thanks

    The only explanation I can think of would be if you set up Sync between your two computers. Otherwise, your history would probably be quite different, and your history (frequency of use) strongly affects what is displayed on the New Tab page.

  • How to disable history from new tab page without disabling the new tab page entirely?

    As the title states. I have read countless questions on this and none ever give a working answer. So I will try again. I think it is absolutely ridiculous that even though I delete my browsing history after every time, my browsing history still shows up on the new tab page. Which proves that Firefox is actually NOT deleting my browsing history like it says. So how do I STOP that from happening? I don't want my browsing history to show up anywhere. At all. Ever. For any reason. Is that impossible with Firefox? That would put it in first place for world's worst browser if your browsing history is permanent like mine is right now. Huge security hole much?? So how do I make it stop once and for all. But I still want the new tab page there, but ONLY with the sites I have pinned to it. Nothing else. EVER.

    First off, let's start by updating you to the latest Firefox, 32.0.3. ([[Update Firefox to the latest version]]). Firefox 20, which you are running, is suspect to MANY security issues (including one fixed just yesterday that affects the entire internet and allows websites to pretend to be any website they want to be), plus it has it's own bugs and issues in Firefox itself.
    After you've updated, let's see if we can't get this sorted out. Are you saying that when you clear your history the new tab page doesn't clear? Are you using the default new tab page or do you have any new tab page add-ons installed?

  • How do I turn the new tab page off?

    I followed the 'New tab page - show, hide...' answer and I can change the information in the box to 'about:blank' . But when I click 'OK' the contents of the 'value' field in the 'browser.newtab.url' remains the same. In other words it didn't change it to what I entered. Why??

    An unwanted add-on is probably hijacking your new tab page.
    * [[Remove a toolbar that has taken over your Firefox search or home page]]
    * [[How to fix preferences that won't save]]

Maybe you are looking for

  • Generics Do's and Dont's

    I have posted our slides from our JavaOne Session BOF-9225 "Generic Do's and Don'ts" on my blog: http://blogs.sun.com/roller/page/ahe?entry=impressions_from_javaone I got a lot of inspiration from this forum, so thank you all! I hope to elaborate mor

  • Problems loading PNG in flash. is it a bug?

    Hi, I,m having a problem with flash. I've done a simple flash viewer that dinamically loads external images in PNG format via loadmovie. The viewer works fine if the PNG has a small size but when I try to load a big file (3000x4000px) it won't work..

  • Opening the DotNet assembly reference window freezes labview

    I am running windows XP SP2, I have Visual Studio DotNet 2003 installed I also have DotNet runtimes: v1.0.3705, v1.1.4322, v2.0.40607, and v2.0.50110 installed. Follow steps Tools-> Advanced->DotNetAssemblyReference... now when the window opens there

  • How to insert multiple records into a table?

    hi all  i have a table that name is : TiketsItem now i  want to 100 records insert my table for example : TicketsHeaderRef=52000 Active=False TicketsItemId=45000 to 45100 how to insert TicketsItemId  45000 to 45100 in my table thanks all Name of Alla

  • Edge and Wi-Fi

    What is the main difference between Edge and Wi-Fi? I often have access to both. Which is better in terms of speed and any difference in battery use? Raj