How to make Firefox home page to open a new tab when searching?

I'm a little modify Firefox on: home page and I try to get the home page to be effectively its own app tab. To do this, I need to make sure when I search with him, it opens a new tab to view the results of my research.

I tried two things so far; I tried to add the attribute target = "_blank" to the < form > tag and I tried adding the attribute onclick = " = '_blank'; return true;" " for nested inside the < form > tag < input > tag (I'm guessing the latter is JavaScript lol). I also tried a 'TabSubmit' extension, which has not worked here.

I know how to change the right page (I change the content of aboutHome.xhtml in omni.ja) and have already changed the stylesheet a little (to underline links when hovering over them and adjusting the discoloration of the Mozilla logo during a flight over it). It comes to the next amendment I wanted to do.

Any suggestions? Thank you!

Topic: home use window.location.href = url; to change the location of the current tab.

This change of (url); and by adding a line at the end of the aboutHome.js file to initialize the localStorage works for me with a registered locally on: homepage.

function onSearchSubmit(aEvent)
  let searchTerms = document.getElementById("searchText").value;
  if (gSearchEngine && searchTerms.length > 0) {
    const SEARCH_TOKENS = {
      "_searchTerms_": encodeURIComponent(searchTerms)
    let url = gSearchEngine.searchUrl;
    for (let key in SEARCH_TOKENS) {
      url = url.replace(key, SEARCH_TOKENS[key]);



Tags: Firefox

Similar Questions

  • How to make a web page to get the new tab page?

    I go to a web page a lot, but it does not appear as a tile on the new tab page. I got it in the past, but he went. I would like to get back into my tiles.

    See this -

  • Firefox has suddenly started to open a new tab when I update an existing tab. How can I prevent this and get Firefox to not do that?

    Without explanation Firefox now opens a new tab when I try to update an existing one. Worse still, I have to click on the new tab to get the Update window. This happened after I downloaded the last download nightly (64-bit). Hope someone out there can let me know how to solve this problem, because it will force me to another browser if I can't solve it.

    Thanks for the suggestions ideato and co - el.

    I found a blog that hits suggested ' subject: config "in the address bar and then change" - external"3-to-1. It worked, but then some links do not open in a new window when they were supposed to. So I changed the value back to 3 and restarted the computer. Everything works now so don't know what the real problem was.

  • Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar?

    Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar? This feature in conflict with my program of multiple monitors (display fusion) since this program allows you to change your current active window the monitor 1 monitor 2 and vice versa BY clicking the header of BAR SCROLLING (or whatever you call the highest part of your window). With firefox, I can't easily change my active window between monitors because instead, it opens a new tab.

    If the window is maximized, you can then switch this pref to disable the display of the tabs in the title bar:

    • browser.tabs.drawInTitlebar = false

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • Firefox crashes after I open a new tab

    My Firefox crashes whenever I open a new tab (empty). The same phenomenon occurs in safe mode. Here are links to some of the latest crash reports:

    What could be wrong?
    Thank you.

    You might try using a new profile. It might be hard to go at least a whole day without your pets addons, bookmarks, and history... the bookmarks are fairly easy to copy.

    Create a new Firefox profile

    This is in addition and does not replace your existing settings.

    A new profile will be your plugins installed by system (for example, Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions or other customizations. It should also come with fresh data bases of completely fresh settings and a cache folder.

    Out of Firefox and start in the profile using Start Manager > Search box (or run) - type or paste the following and press ENTER:

    firefox.exe -P

    Do not delete anything here.

    Any time want to switch profiles, exit Firefox and return to this dialog box.

    Click on the button to create a profile, assign a name like April8 and ignore the possibility of changing the location of the folder. Then launch Firefox in the new profile that you have created.

    It might take some time to determine if the new profile works better than the old. If you want to import your Favorites from your regular profile in the meantime, here's how:

    You can use the dialog library (Ctrl + Shift + b or "Show all bookmarks") to access the restore feature. The trick is to know where to find your bookmark backups in your regular profile. After clicking on file... you can paste this into the space of file name and press ENTER to drill down to your profile folders:


    The semi-randomly-named folder that has your last backup is generally the one that ends with "failure". Click in that one, and then in the folder bookmarkbackups . Here you can choose the most recently updated to restore file.

    Important: restoring a backup bookmark clears all bookmarks currently in your current Firefox profile and replaces it with the contents of the backup file.

    In my view, it is also reasonable to install AdBlock Plus, Restorer of classic theme, and Status4Evar, like those who, by themselves, are not likely to be at the origin of this apparently rare problem. But I wouldn't add all your extensions to the time in the new profile, and if many show extensions system installed, you can disable those you don't actually use.

  • Is it possible to have the 'Home' icon to open a new tab instead of replacing the current page to the homepage?

    I would prefer the 'Home' icon on the Navigation toolbar to open a new tab instead of replacing the current tab with the homepage. Is there a way to do this?
    Thank you.

    If you middle - click the home will open a new tab that contains the home page.

  • How to make a fire fox open a new tab when I type in the search bar and press on enter?


    I know I found this solution before, but cannot find him. Help, please?

    In 27.0.1, FF when I put the cursor in the search bar, type words and hit enter, it starts the search in the current tab. How can I make FF always start the search in a new tab when I hit enter since the search bar?

    Thank you!



    Go to Subject: config are looking for change its value to true

  • I can not open a new tab when I click on the + to add a new tab, so I can't have several tabs open. How can I solve this problem?

    On my homepage, I have upward and I want to open a new tab. When I click to open a new tab, nothing happens. How can this be repaired?

    Hello lsmalls787, try Firefox Safe Mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables certain parameters, disables most Add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • In Firefox 29,0 and above, click on the menu button

      click Help

      then select restart with disabled modules.

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

    Thank you

  • I can't stop firefox opening a new tab when I type a URL in the address bar.

    I have the ability to open windows into tabs and I love it. My problem is when I type a URL in the address bar, rather than load him on this page, it opens a new page. No matter what type of page I made this. When I CTRL + T to open a TAB, and then type in the address bar and it opens a new tab the TAB Leaving previous, I opened intact. I would like to just so that it loads the page on that I entered.

    You have this problem when running in Firefox SafeMode?
    A troubleshooting mode.

    You can open the Firefox 4.0 SafeMode pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu. Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox to open it again.

    If this is not the case, see this:

  • can Firefox open a new tab when I click on a bookmark?

    Can I get Firefox 5.01 to open bookmarks in a new tab when I click on them?

  • I can not open a new tab - when I restart my computer (or firefox), ctrl T does not work and the tab '+' next to the tab on my browser window does NOT open a second tab

    Firefox3.6.18, running on Windows XP (all patches from Microsoft), opens with a single tab. By clicking on the tab add '+' or by pressing CTRL T does not open a new tab, even if I open a new window. In addition, when you exit Firefox, my location of the tab is not saved.

    Please click the button solved it next to the answer that solved your problem of Firefox support, it appears when you are connected, so this thread is marked as resolved to help other users who may have this same problem.

  • My Firefox is no longer will open a new tab when I click on it, or when I use the shortcut.

    I tried looking through all the settings it gave me and I can't find when it won't let me open a new tab. All the settings that I have are the parameters by default and before that happens, I wasn't even in the frame, so it's not like I was messing around with them and then he messed up it just happened once. I have no virus or anything because I use 3 virus different scans and they say that my own computer. My virus scan programs are also up-to-date as I've updated them today.

    Try disabling the extension of the Ask toolbar.

  • I am not happy with the new menu bar. I made a mistake in the change. Want to use the button refresh or open a new tab when requested without

    I made a mistake some how. I'm not the best a computer news as the new avg with the research changes. I want to return my old menu bar. I want to be able to open a new tab without going through an open search window. I don't like new tiny 'file above it don't help me. I want the option to click the Refresh button bit. How to get back to what I had before?

    I don't know what happened to your menus and toolbars. Has this happened after an update of Firefox, or a change in your add-ons?

    (1) you can switch between the Firefox button orange with its abbreviated menus and the classic menu bar, by using the following text:

    ALT + v (open the menu Classic view) > toolbars > Menu bar

    (2) in the new tab, you wanted it is empty? Are there currently AVG research? If you want to get rid of the search for AVG, you probably have to disable to remove one or more modules from here:

    Orange Firefox button or classic menu Tools > Modules > category: Extensions

    Does make a difference?

    (3) the reload button is nestled at the end of the address bar, after the star icon and the drop-marker. If you prefer that your button to reload on the bar itself, you can do that using the personalization feature.

    ALT + v (open the menu Classic view) > toolbars > customize

    In order to avoid the button reload to slip into the URL bar, you can perform the following actions:

    • Move the button reload for the left side of the address box
    • Move another button between the address box and reload
    • Move another button between the reload and stop buttons
    • Reverse the order of the reload and stop buttons

    You can get as you wish?

  • I can not open a new tab when I right click a tab open does anyone know why or do you have any suggestions?

    I keep trying to open a new tab next to an open tab, but it does not open. I use to be able to open a new tab by right-clicking next to open tab and it will open the new tab next to the tab open existing. Now it don't.

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

    There are a few places to check for the Ask toolbar:

  • How to make my home page in a new tab in firefox 13

    So they locked the thread relating to this issue, on the fallacious grounds that FF13 has a new new tab interface. But this new interface prevents actually get you your home page in a new tab.
    I have the habit of using the new homepage tab Add on, but who did not work for several versions. So I used then NewTabUrl, but now they have decided to break that.

    I am completely sick of firefox constantly make me re-learn my browser interface every two weeks. I have more important things to do that to spend hours trying to figure out what that some empty 'designer' now think is a really cute way for me to go where I want to go.

    All I want is a new tab to give me the page of my choice, not an algorithm isn't relevant ridiculous imagined in a conference room with too many whiteboards and not enough common sense.

    OK, several hours later:
    Solution 1: do this about: config, find newtab, find the entry for browser.newtab.url, and enter your favorite example Homepage

    This ensures that you avoid having the tile image, BUT the focus is in the url bar, not in the google search field. Why Firefox do that they are allowed to fly the goal in this way this is beyond me and drives me crazy - what is the probability that the first thing I want to do is to enter a url?

    Solution 2: use a different add-on It is an option if you want the focus in the url bar or not. I disabled my existing NewTabUrl module, just in case of conflict.

    Now you get your favorite in a new tab homepage, and new tabs have focus in the google search bar.

    But the first homepage when you open firefox, always steals the focus and puts it in the url bar. At the time where I can find no way to stop it - idiots to Firefox know clearly much better that me how can I use my home page. Quite exasperating.

Maybe you are looking for