I want to notify an user using Chrome browser. I need something powerful like changing the Chrome skin colour, highlighting things or at the least like this extension putting an icon on the address bar https://chrome.google.com/extensions/detail/jhejngphiacapbgllhagbpdkkdieeaej
Can someone please help?
Edit:
Q1, can I change the theme when a new tab or new chrome window is open? Like the change in incognito mode?
Q2, How do I put an image on the address bar like flag fox?
A1: No you cannot. The user must agree to changing their theme. Imagine if an extension switched your theme to show "inappropriate" content.
A2: Use page actions. https://developer.chrome.com/extensions/pageAction
Related
Is there a way to show/hide a chrome extension's icon based on the current tab's URL/location?
I'm writing a utility that I only want to use on certain sites, and I would like to be able to access it in one click while on those sites (i.e. not in the extension overflow menu) but hide it otherwise.
The DeclarativeContent API almost provides what I'm looking for, but it only greys out the icon, rather than hiding it entirely.
Is this possible?
Unfortunately this isn't possible (anymore). Declarative content or not, the presence of your extension's icon near the address bar is only decided by the user by pinning/unpinning it from the extension menu. In older versions of Chrome using chrome.pageAction would result in the extension icon being shown inside the address bar only for the matching websites declared in the manifest. However, things changed a while ago (actually quite some time, maybe >1y, can't recall exactly when): now all extension icons are on the right side outside the address bar and can be pinned/unpinned by the user, meaning they are either always shown or never shown. Pinned icons that use pageAction are greyed out when inactive (see this documentation page).
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.
Helo guy how are you?
I'm a younger developer that I be improve my knowledges, then right now I was travel over the internet when I finded a website very cool https://www.jinx.com With this i will try to develop something menu equal that website, but unfortunately it was in vain :(
I'm still learn a lot of HTMl, CSS, JQ and whaterever web lenguages... Could somene help me to create a menu bar like this?
Greatful now!
Use inspect in chrome(F12).You can see the css in the right corner.Make use of it.
You can follow the google devTools for Live-edit ,changes will be reflected in UI. Live-edit style property names and values in the Styles pane. All styles are editable, except the ones that are greyed out (as is the case with user agent stylesheets).
To edit a name or value, click on it, make your changes, and press Tab or Enter to save the change.
Follows this: https://developers.google.com/web/tools/chrome-devtools/inspect-styles/
Hope it helps.!
Each Time I'm using this console I'm struggeling with my mouse to click on the editable line.
So two question :
Is there a way of enlarging this line so it easier to click on it ?
Is there a command to navigate to it ?
The only way to enlarge it is to create a custom theme for DevTools, enable the experiment for using custom themes, and then installing your extension. That way you can get custom CSS into the top-level DevTools scope to modify things.
You may open a bug report on the chromium issue tracker against the DevTools so the team can assess the UX to see if there is anything they should modify internally.
I have made a chrome extension that I should convert to safari and firefox. That's fine, but I want to have full control over tabs. In my chrome extension I have full control over the tab even if user changes location (index) or drag the tab to a new window. With Safari's API, I'm not sure if I can achieve the same control. I could not find any events that can give me information about these events. I will probably be able to achieve the same control with various tricks, but would rather avoid it if possible. Hope there is someone who has had the same challenge and solved it in an elegant way. thank you in advance.