Customising Google Chrome web browser in Mac OS X - javascript

On the google theme store https://chrome.google.com/webstore/category/themes you have themes that have not just the tabs but search bar etc. with background images, transparent not just the colour that is allowed when creating your own theme.
Q: Is there a file that I can edit like a CSS file attached to my chrome browser or any other way that I can customise my chrome browser.
Change the colours, add images, font size, highlight of text colours?
Thank you.

Related

Android app icon / ic_launch icon has white padding

Generated an app icon using
https://appicon.co/
Ive used this before for other apps and its working great but this time my app icon has white padding on android OS, , any idea why ?
Im using react native & already added assets to android native side
app icon
How icon looks on android home
icon on android
Try using this website to generate icons before uploading the image here make sure your icon doesn't have any transparent padding.
I've used this website multiple times works perfectly.
Turns out the issue is because the icon I'm using has transparent background. IOS did add white bg by default and handled it, android handled it by rapping the icon with white padding also.
Fixed after changing background to be white.

How do I get native UI colors inside web extension popups?

I've been struggling to make my extension visually consistent with the foreground and background colors of firefox's (and chromium's) navigation bar; i.e. the area that contains the address bar, back and forward buttons, menu button, ...etc.
So far I've tried to
use system css colors Window/WindowText and Menu/MenuText, but neither give the correct colors.
add "browser_style": true ("chrome_style" for chromium) to the relevant "browser_action" key in the manifest file. The only thing that did was make text unselectable in firefox. No perceivable changes in color occurred.
set colors explicitly (e.g. #333). This works but is a tedious solution that requires extensive testing. It also fails for users who choose to change their browsers default theme.
Question: Is it at all possible to make the colors of an extension's popup visually consistent with the rest of the navigation bar in a platform agnostic manner?

How to detect Firefox Theme

For a WebExtension, we use browser.browserAction.setIcon to set the icon. As you can see in this sample, to fit in, the icon should have a dark or light background.
How can my Javascript code know which theme is in effect? Or better, can I determine what the background color for the toolbar is so I can make an appropriate icon?
You can use the theme javascript api listed in webextensions to get theme details. Please make sure you add "theme" permission in your manifest.json file.

Chromecast displays weird artifacts in my custom receiver web app

So I built a Chromecast receiver -- which is just a web app that can communicate with another device.
When I display it on the cc it sometimes puts a dark tint over the picture with weird boxes of no tint around my elements. The element margins are far smaller than those clear boxes. In fact, there are no elements that have margins or padding that looks like these clear boxes.
This only happens on Chromecast. On my chrome browser it doesn't happen. I use Materializecss as my stylesheet if that matters.

Custom Font for Phonegap using Adobe Edge

Anyone knows if there is a way without the use of webfonts to embed font into an Adobe Edge Animate composition so that the fonts can be seen when I create a Phonegap iOS app with the html file i get from Edge Animate?
All i can find so far is custom fonts for Edge Animate that uses webfonts which means I can only add links rather then embedded directly into the file or custom fonts for Phonegap where using font-family in css but that doesn't seems to be read by Edge.
I was thinking there is some way in the edge.js file that is output where they use
var fonts = {};
fonts['londrina-shadow, sans-serif']='<script src=\"http://use.edgefonts.net/londrina-shadow:n4:all.js\"></script>';
fonts['cabin-sketch, sans-serif']='<script src=\"http://use.edgefonts.net/cabin-sketch:n4,n7:all.js\"></script>';
fonts['coming-soon, sans-serif']='<script src=\"http://use.edgefonts.net/coming-soon:n4:all.js\"></script>';
to embed webfonts. Can I do something to it to embed the fonts with a path like src:"fonts/coming-soon.ttf"
Hope there is an answer to this or is there simply no way to do this cos Adobe decide to only link webfonts and screw us up.
Does the css work if you add that class to the div you are animating. If you save out the edge project, the open it in dreamweaver you can attach a css stylesheet. When you go back to edge and add that style it should show up in the animation. I know this works if you want to add png's to an animation. Not sure if it will work but could. I will look into it now and see if I can figure it out.

Categories