I'm working make a chrome extension to overwrite new tab.
"chrome_url_overrides": {
"newtab": "index.html"
},
Every thing working fine, but, I got some issues:
By default, Bookmark Bar always hidden, just show out when open new tab (New tab default GG chrome). But when I use my extension, Bookmark bar doesn't show out when I open a new tab. Has any way to make my extension can display Bookmark bar like default?
Quick navigation (I'm not sure I call right name) on new tab
Has anyway to keep this section on my new-tab extension?
Thank for your readding!
As stated in this link, it is not yet possible. If you think this can improve the extension development experience, make sure an appropriate request is filed in the issue tracker.
I have created a webpage with some hyperlinks (not online yet).
I'm supposed to include certain hyperlinks for the Email IDs on the page.
I tried to create links in this format:
<a href="mailto:someone#mozilla.org">
But these are not opening up using Outlook's new mail, as it is supposed to.
On Chrome, it does nothing. On Firefox, IE & Safari it opens a new blank Chrome Window when I click on the link.
This system is new and has all the above browsers up to date.
Provided you have registered a default email client, this usually works, if you're using an <a> tag as follows:
Mail me
To change or check the email client settings, do the following (cited from MSDN) - I have modified it slightly because it differs depending on the Windows version you're using:
Depending on the Windows version: Open Default Programs by clicking the Windows Start button, and then clicking Default Programs. Or: Open the Control Panel in the Start Menu *), then use the search text box
in the upper right corner of the Control Panel screen and type Default Programs there. Hit Enter.
Click Set your default programs.
Under Programs, click the Email program you'd like to use, and then click Set this program as default.
Click OK.
Note
The first time you start them, some email programs display a message asking you if you want to use that program as the default. If you choose to do so, this program will become your default email program, even if you've chosen a different program using "Set your default programs" earlier.
*) In , you can find the Control Panel, if you open the Windows menu , then click on the cogwheel icon , then enter Control Panel in the search box.
If you are using Windows 7 or higher, then all you have to do is set the default email client. Check this in the control panel under Default Apps setting.
Just click on the email client you want and you are all set.
The other answers didn't resolve my own question, which was resolved as follows.
I came to this question because I was experiencing the same issue, with properly formatted email anchors failing to open Gmail when Chrome was set as the default email app. The other answer did not work in Windows 10, with Chrome.
In the case of this OP, it seems that Google Chrome is already set as the Default Email app, as indicated by On Firefox, IE & Safari it opens a new blank Chrome Window when I click on the link, and the anchor is properly formatted, because clicking it in other browsers, opens a blank Chrome window.
This is the exact description for my own experience, which brought me to this question.
The HTML anchor does not seem to be the culprit.
To get Send Mail from Send Mail to work in Google Chrome in Windows 10:
Go to Settings, Apps, Default Apps, and under Email, select Google Chrome.
This step alone, does not necessarily work, I had to set the handler, as shown in the following steps, because Gmail was blocked.
In Chrome, go to Settings by selecting
Select Privacy and security on the left side of the screen
Select Site Settings
Scroll down to Permissions and select Additional permissions
Select Handlers
Select Allow sites to ask to become default handlers for protocols
If a site (e.g. Gmail) is blocked, remove the block
Open Gmail in a new tab and sign in
In the address bar, select the
This page wants to install a service handler.
Select Allow, and then Done
Return to the Settings tab, and mail.google.com will be the email handler.
Are you sure you are closing the anchor correctly? The full HTML should be this:
Test
Try something like this:
<!DOCTYPE html>
<html>
<body>
<p>
Click to email :
someone#mozilla.org
</p>
</body>
</html>
I want to build app that would allow me to open website, select some data from this website and send them to my server. I imagine that it works in this way:
Application id displayed in browser sidebar sidebar
I open certain website
Select address (City) on opened website
Click "City" button on sidebar
"City" value is copied from website to sidebar
Select address (Zip code) in browser
Click "Zip code" button on side bar
"Zip code" value is copied from website to sidebar
... (and so on)
Finally I click "submit" button on sidebar and data is send to server.
What will be better option for such use case? Chrome app or chrome extension? I am not sure if there is way to display sidebar using chrome extension. I also haven't seen in reference option to open certain url in chrome app. Any advises will be appreciated.
I guess an extension would be more appropriate as it is just one click away from the website you want to select some data from. The user interaction could be done in various ways:
select text and use the context menu (right mouse click) to activate the extension logic
activate extension via toolbar and add UI as a part of the website being viewed or in a separate window
You can pop up a window, but it will disappear when you click back on the website. You can manually create a "sidebar" by having your extension open a new window whose url is inside the extension and subsequently manually placing it alongside the browser window.
Unfortunately there is no sidebar feature for chrome extensions. That would be cool if there were, though.
I use a VPN to connect to the internet with and am using google chrome browser.
Annoyingly, I get a pop-up message regularly asking me if I want to continue using google.se instead of searching with google.de, for example. Pressing no only satisifies it for a short time before asking again and there are no options to turn this off.
I cut and pasted but worked for me:
Or you can just add "/ncr" to the URL of the google site you want and it'll keep you there - eg
NCR stands for No Country Redirect.
Google search + Google Chrome browser have this implemented, when you browse the google search results using your up and down arrows (only possible in Chrome browser) and than press CTRL+ENTER it opens the search result selected in a new tab but without focus to that tab. You can now use up and down keys in the same list of search results and CTRL-ENTER more results in new tabs to visit later on.
Does anyone have any idea how this is done? As it only works with Google Chrome at the moment I suspect something is added to the browser as well but I can't find anything on this subject.
The way I have seen this done before is for the webpage to listen for key presses (e.g., j/k) and simply focus() the desired link. Then, when the user presses Enter or Ctrl-Enter, he is simply performing the default operation on the focused link.
Sure enough, when I type this into the javascript console on a Google search result page, I see the links that are being focused.
document.addEventListener('focus', function(e) {console.log(e.target)}, true);
So Google is still using the same technique, although it's not so obvious because they hide the dotted outline around the focused link using CSS (a.noline{outline:0}).