Giter VIP home page Giter VIP logo

newtab-redirect's Introduction

NewTab Redirect!

Google Chrome Extension

disclaimer: Google and Google Chrome are trademarks of Google, Inc. NewTab Redirect! is an extension for Google Chrome

Sets a custom URL to load in new tabs. Choose from:

  • Chrome's about pages
  • NewTab
  • Extensions
  • Downloads
  • History
  • Popular URLs
  • Your own URL

Your custom tab can also be a local file, allowing you to create your own new tab page. Saving blank text will cause your new tab to be about:blank.

Files can begin with: file:\\, file://, and file:///

Important: This is not meant to replace your homepage, only new tabs. If your browser is set to load the New Tab page as your homepage, there may be odd consequences.

Missing Local Files?

This is due to a change in Google Chrome, not a change to the extension.

You'll now need to navigate to chrome://extensions and find the New Tab Redirect options. Click Details here, then scroll down and toggle on Allow access to file URLs.

Chrome doesn't allow for an extension developer to warn/notify on changed behavior, and there's no logical place for me to embed browser tutorials into the extension. Whenever you see an extension update with changed permissions, you should always be reviewing the extension's settings and detais.

Omnibar support

If you use the built-in New Tab Redirect Apps page, you will be able to type directly into the omnibar. If you use a custom url, the architecture of the extension can not allow for focusing or clearing of the omnibar.

Google Chrome extensions do not currently have access to interact with the omnibar for highlighting after the new page is created. There is an experimental API to retrieve values and detect user input in the omnibar, but it does not allow extensions to highlight the text. I've tested version 1.0.1 of New Tab Redirect! across numerous developer builds, and the cursor only occasionally ends at the end of the omnibar. However, this is handled by Chrome itself and can not be modified via the extension. As soon as Chrome offers this functionality, I will implement it. Until then, it is possible to use CTRL+L to quickly highlight the omnibar.

"Can I purchase your extension?"

Absolutely not.

I get emails asking this question at least once a week. This extension is not now, nor will it ever be, for sale. I've turned down offers between $100 and $50,000: I'm obviously not kidding about this so please don't continuously pester me and waste my free time.

First of all, this extension is released under the MIT license. You are basically free to release this extension under a different name and of course provide attribution to me in some way. This extension will always be 100% free and open source in this way. You'll be starting your user base at 0, that's just how it works.

Secondly, the only reason people have asked to purchase this extension is because it has nearly a million regular users. Many developers are looking for some quick cash and attempt to purchase very popular extensions so they can secretly add anonymous data gathering, injected ads, or some other third-party code. I don't like that crap in extensions I use, why would I want it in an extension I've created? I respect my users far too much to allow for this kind of shady business to happen to my extension. Again, I'm not joking. I've discovered an extension I loved silently sending every visited page to a third-part marketing firm. I immediately reported that extension to Google and it was removed from the web store within two hours.

I don't need supplemental income, so don't ask to purchase the extension or try to get me to include your code with my code. If you want to contribute, that's fine, but I will absolutely never include code that sends or receives data anywhere other than syncing with the user's Google Account.

Lastly, the only way to sell you my extension with all those coveted users would be to relinquish the rights to my Google Account ([email protected]). This account is about 90% of my online identity, so that will obviously never happen. I realize it's possible to jump through hoops with Google to transfer ownership, but that's not something I'm willing to do. Sorry, it's as simple as that. If I'm wrong and transferring ownership also transfers users, I frankly don't care.

To summarize: the extension is not for sale

No affiliation with Google!

I am not affiliated with Google or Google Chrome.
Google Chrome is a registered trademark of Google, Inc.

If I have some free time, I don't mind answering questions related to other issues you're having with Google Chrome (outside of the New Tab Redirect extension). I don't have a lot of free time, though.

Legal

NewTab Redirect is released under the MIT license. NewTab Redirect was previously hosted on Google Projects under GPLv3 license. You may not redistribute this software without proper attribution.

  • AngularJS: Code is MIT Licensed. Details are available here

  • jQuery: Code is MIT Licensed. Details are available here

  • Font Awesome by Dave Gandy - http://fontawesome.io: Code is MIT licensed, Fonts are SIL OFL 1.1. Details are available here

  • The new tab and document-new icons were released by tango! into the public domain. Details are available here

newtab-redirect's People

Contributors

balibalo avatar cemysce avatar erlendorf avatar gitter-badger avatar jamiesharpe avatar jimschubert avatar joshdance avatar patrickkettner avatar q-- avatar talesh avatar walkman100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

newtab-redirect's Issues

Suggestion to the "Redirecting..." Page

Just a thought,

It would be more visually appealing if the "Redirecting..." page were to be completely blank for the first five seconds, then show (or fade in, etc.) the Redirecting...<br><em>If your page doesn't load within 5 seconds,<a href="javascript:r()">click here</a></em>.

I've tested NewTab-Redirect with JavaScript disabled in the options to confirm that even though it's disabled for web pages, extensions still have script access.

Tab Redirect disables the recover function of chrome

Hello,

it seems Tab Redirect is interfering with the "recover" function of chrome.

Whenever Chrome crashes and I restart it the recover button (that would reload all my saved Tabs) shows for half a second. Then Tab Redirect does its job and redirects to the site i set it up to visit, but that makes the "recover" button disappear. This is very annoying. Can you do anything about that?

New version asks too many permissions

After an automatic update, New Tab Redirect got disabled because the new version needs more permissions. So I got the warning prompting me to accept the new permissions in order to reenable it.

So far so good, but most of the permissions are totally unnecessary to do what the plugin is supposed to do, which is simply open the home page on every new tab you open. I may understand "access the icons of the websites you visitu" but it shouldn't need to read the browsing history, let alone modify it!! Read and modify your bookmarks?!? Manage your apps, extensions and themes???!!!??
screenshot from 2014-03-07 00 17 00

highlight omnibar upon new tab

I use this extension only to restore the apps page functionality when I open a new tab. It used to be that upon opening a new tab, the address bar would be highlighted, so that I could still type a search into the address bar. With a recent update, the bar is no longer highlighted, and instead the cursor is put at the end of "chrome://apps/". It's annoying because I have to then highlight the "chrome://apps/" (or hit ctrl+A) and replace it with my search to search anything.
I am on Chrome 34.0.1847.76 beta-m.

CSS 3 transitions on welcome.html broken

I've tested this in Ubuntu 13.10 and OS X. The transitions between 'pages' of the welcome page no longer shift left-to-right correctly and instead overlay all text. This was reported by a user about a month or two ago, but I was unable to reproduce.

It is consistent with version 2.1 on Chrome v30 and v31.

about:blank

It would be great if the about:blank page had nothing in the url.

The idea is to hit command T then just start tying and hit return and have it do the google search.

I think a new tab does that by default, before the extension is applied. But I love your extension because it hides all the garbage google has on the default new tab page.

Redirecting/Blank Screen (with failure to save set url)

I'm seeing very similar behaviour to that which smjd99 did in issue #18, though with the additional problem that the extension fails to retain the url entered, despite displaying an "options saved" message.

Strangely, neither of these problems occur with New Tab Redirect Plus (I am well aware that it is out of date and not published by you, hence why I'd rather not use it on a day-to-day basis).

Currently running Chrome version 33.0.1750.117 m

Allow reopen of pages on Chrome restart

After a crash of the computer or chrome, when one restarts chrome it normally puts up a dialog line asking if one wants to reopen the windows that were open at the time of the crash. If NewTab-Redirect is enabled, it seems that this dialog line is immediately overwritten with the redirect to the specified target. This is very unfortunate, as the context can be quite hard to re-establish after this (history is only a small help).

So it surely would be nice if NewTab-Redirect could avoid smashing this chrome recovery option (or just cause chrome to go ahead and reopen the windows).

Load current tab's location in a new tab

I received a suggestion today, if anyone else wants to look into that'd be awesome. Not sure when I'd have free time.

I'd love it if there was a way to open the new tab to the page I'm at when I command new tab. -DM

I'm thinking something along the lines of adding the following to redirect.js:

function r(){   
    var _opts =  JSON.parse(window.localStorage.options);   
    var url = _opts.url || "";
    if ( !opts.useUpdate && ((/^http:/i.test(url)) || /^https:/i.test(url))) {
        document.location.href = url;
        return;
    } 
    chrome.tabs.getCurrent(function(t) {        
        var ctrl = ce[$bp]();
        ctrl.r(t.id);
    });
}

Of course, useUpdate would have to be added in options.html/options.js, but updating using tabs.update will inevitably be slower.

Auto-select Address bar

The only thing keeping me from using your "Replace New Tab" extension versus others is that with yours, it auto-selects the search bar on the page, but with others, it auto-selects the address bar. I prefer it to auto-select the address bar because often I just type the address into the address bar and it's faster if it is auto-selected because then I can just press Ctrl-A instead of using the mouse.

Could you possibly make this an option? (i.e. to auto-select address bar vs. auto-selecting a search bar on a website)

If it helps at all, here's the page I use to replace the New Tab Page: 43marks.com/derekantrican

Cannot load options

I have been using NewTab-Redirect for over a year. As of this morning, when I open a new tab in Chrome (latest version) it is blank. When I try to set a different option, chrome-extension://icpgjfneehieebagbmdbhnlpiopdcmna/options.html never loads. I uninstalled and reinstalled NewTab-Redirect with the same result.

No Wrench

FAQ - "How do I access this extension? In the top-right of your Google Chrome browser, click the Wrench icon, . . ." My Google Chrome browser (Version 24.0.1312.56 under Mac OS 10.6.8) has no Wrench icon.
Chrome_no_wrench

Provide chrome://apps/ as an option

This mimics the apps page being opened, which is really great now that Chrome has the maligned 'Faster, simpler search from the New Tab page'. 2 google disappointments in a short time ;\

Empty url bar on opening new tab

Would be nice if the url bar is set to empty when we open a tab such as chrome://apps
to speedup searching process.

It can be added as a checkbox option in extension settings.

GMA Kapuso 24 ORAS

ON AIR: 24 Oras Livestream (Jan. 15, 2014)
Watch 24 Oras, weekdays at 6:30 PM on GMA Network. 24 Oras weekend airs Saturdays and Sundays at 5:30 PM. This livestream is available only for Philippine viewers.
Date posted: Jan 15, 2014 6:30pm
Reporters: Mel Tiangco , Mike Enriquez

new tab only functional in incognito

Hi, So I've spent the last 40 minutes troubleshooting this in every way I could possibly imagine. i've set my tab url to https://google.ca, but google only opens in new tabs in incognito mode. in regular mode, I still get a random search bar powered by bing, which is a browser annoying enough to make anyone angry in my opinion. any idea what could be causing this?

Forever changed New Tab URL when Instant extended API enabled

I installed your extension and changed the new tab URL to google.com, then google.ca, then google.com/ncr. I then uninstalled your extension and cleared all my browsing data. However, when I have the Instant extended API in chrome://flags enabled, opening a new tab always takes me to google.ca. So I reinstalled your extension and tried to change my new tab page to the chrome://newtab favourite you had provided; however, this did not change anything. So I uninstalled your extension again and reinstalled Chrome, and still the same problem. Has what I have done stored google.ca as my default new tab page in google's servers or something? I ask this because I can't really understand how or why after all this my new tab URL is stuck at google.ca when the Instant extended API is enabled. Please help explain. Thanks.

New Tab-Redirect Issue - Redirecting/Blank Screen

Have been loving this program but suddenly whenever I try to open a new tab, the tab says - redirecting - and I am left hanging. Same thing happens if I have chrome open and try to open another by clicking on the desktop chrome icon. Would love to know how to overcome this so I can continue to use the program. If I disable the program I get the usual chrome tab page with a variety of icons. Thanks in advance for any assistance

New Tab won't customize

Every time I open a new tab in Chrome a strange Bing sponsored site opens. I've tried multiple times to get google to open in the new tab and it's not working. I've even worked with an IT person to help and she wasn't able to fix it.

Address Bar

Small feature request. I set my new tab to the Apps (chrome://apps) With Chrome on OSX, when I open a new tab, the typing indicator is at the end of the URL, so I need to either clear it out or double click the chrome://apps in the address bar to start typing. On Windows, the URL is highlighted when a new tab is opened, so a person can just start typing without any mouse input.

Thanks!

"Never show this welcome page" setting not working

Every time I open chrome, it opens the Welcome page.

Checking the box "Never show this welcome page" does nothing, as the next time I open Chrome, it opens a new tab with the Welcome page, and the box is once again unchecked.

Select the URL in the omnibar when a new tab is opened

I'd like to request that all text in the url of the omnibar is selected when a new tab is opened. Alternatively, don't give the omnibar text input focus so that when I click in the omnibar all text will be selected (default behaviour of Chrome).

Thank you!

Grid display in the New Tab Apps page

Based on user feedback in the beta version of v3.0, people may want a configurable option to display apps in a grid-like format similar to the original new tab page or current chrome://apps/

This requires writing a pagination directive and either defaulting to the max number of installed apps (unless the option for a per-page display count is set).

This poses a few 'problems' that should be addressed. First, the apps are currently displaying the 128x128 icon display. If a user selects 4-6 apps per page, this may be fine.. but 8-10 or more will cause vertical scroll on most user's displays, defeating the purpose of the left-to-right grid navigation. The scrollable app content with left-right grid pagination is something I've always disliked about Google's implementation of the chrome://apps/ page. Also, should the pagination display auto-resize the icon display similar to chrome://apps/? If so, should icons wrap at smaller resolutions similar to chrome://apps/? The design choice for rollover administration options on apps may need to be reconsidered at smaller resolutions. The implementation in chrome://apps/ uses a context menu, but I've found that many users don't realize that exists and this is the reason for the rollover div.

Clear the URL after opening up the new tab.

I have set my new tab to "chrome://apps". This brings back the old behavior prior to Google releasing the search tab.

However, I'm used to opening up a new tab and immediately executing a search without clearing the URL. With NewTab-Redirect, I have to select all and delete then type a search in the URL bar.

Allow in incognito

Hi,

after I set the extension to allow in incognito,

it doesn't actually redirect on new incog window or new tab in an incog window

Clear URL field option

Would it be possible to have a clear URL field option so that when you newtab the URL field is empty (and you can thus search directly without having to clear the URL first if you wish so) ?

Omnibox contents not highlighted or cleared on opening a new tab

I've just tried the extension and noticed a serious UX issue: whenever I open a new tab, the omnibox contains chrome://apps/ (the URL I selected). In order to navigate to a website, I have to hit additional Ctrl+L to highlight it and type over it.

If it is not possible to make omnibox contents blank, could you at least highlight it so the user can start typing the address right away?

Focus on URL bar after opening tab

It would be very, very nice if the URL would get focused when the new tab is opened, this way I can type right away an omnibar search (like a google search, for example)

Enhancement: Chrome Internal Pages

I use NewTab-Redirect to set my own HTML page for new Chrome tabs. I'd love to be able to add links to Chrome's internal pages (chrome://settings, etc.), but it won't work. (Apparently, it's a Chrome security issue.)

If I put those links on my HTML page, is there any way for NewTab-Redirect to recognize and intercept them, and then use the extension's background.html page to complete the link? Ideally, you could have NewTab-Redirect monitor for all the internal pages listed at chrome://about/. If it detects one of those internal page links, NewTab-Redirect would send a request to the background.html page to execute the same link.

Chrome now putting cursor at end of omnibar?

I redirect to a custom page I've written (https://github.com/erikdkennedy/new-tab-new-you) and I've noticed recently that my jQuery focus() statement is no longer bringing focus to the text box on my page-- and even more annoyingly, it's not even highlighting the address in the omnibar; it's simply placing focus at the end.

Is this a recent change to Chrome? Are others seeing this too? Or is it something I've done?

Chrome "home" button being redirected although not creating new tab

Google chrome home button is no longer returning web page to home url. It is opening my redirected location instead. Chrome opens to my preferenced home page okay initially but if I click "home" after browsing a bit I can no longer get home, instead I get my redirect url and it opens on same tab, not a new on.

??? Tks, Willie

New tab has "chrome://apps/" remaining in the address bar

I chose apps screen as the new tab, the way Chrome used to be.
But with the most recent update of NewTab, I began to see "chrome://apps/" still remaining in a new tab. This is cumbersome, because now I have to delete it before I can jump to an actual website. Is there a fix?

Possibly add a contact tab to options page in version 3.2?

Based on feedback from the version 3.1 beta, I think a 'Contact' tab/pill should be added to the options page. This would be a place for links to my twitter, Google+ (move up from the footer), GitHub issues, and beta testing. This way things really stand out for users.

Focus location bar when tab is loading

The new tab page should be considered something the user wants to sneak view before going somewhere else. It would be very beneficial if the focus of the keyboard remains as much as possible on the URL bar so that the user can quickly enter a new URL. Now the use has to to CMD+T and CMD+L to focus the address bar.

Sync options not working

Every time I have installed Chrome on a new computer I have had to reconfigure this extension.

memory use is high

First off thanks for this wonderful extension.

Please read this link and add these api and rules to your extension to make it use less memory, many extensions now use it and the result is that chrome uses much less memory:
Please also, I do not think is possible but i will just ask, can you remove access of the extension to Your tabs and browsing activity?

http://www.ghacks.net/2012/06/22/chrome-extensions-eventually-will-use-less-memory-than-before/

http://blog.chromium.org/2012/06/put-your-extensions-on-diet-with-event.html

http://developer.chrome.com/stable/extensions/event_pages.html

Thank you again for this wonderful extension

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.