how to customize chrome theme per window - google-chrome

I usually have three chrome windows open. To easily distinguish my work chrome from the personal chrome window, I would like to set a theme to one window, and another theme to other windows.
I figure out how to change the theme globally, wondering whether its possible to it per window.

Use different profiles. You can do this in chrome by clicking the Proflile icon in the top-right of any window. It'll ask you to log in with your Google account but you're able to make a local account with any name.
I use one for personal (personal google account), one for work (work google account), and a third with no google account for risky or other website browsing (which has more aggressive blocking rules)

I do have in mind 2 options, since I really want to easily identify them.
You can add name to your window, not so noticeable since only shows on hover on mac.
You can also group all the tabs in that window, to give it a bit of a different color
which you can see here. blue and red. Bit noticeable.
for windows users, can you try this options, it might be better there.

I did some research into this issue, and it seems the only way to do this is to open different browsers e.g - firefox for presonal stuff, chrome for work etc...
will be happy to see a better solotion though...

Related

Browser shows old CSS / Hard refresh/clear cache doesn't work

I must have some sort of caching issue. I wrote code to create a download button. The button is meant to exist in 6 different colors, for 6 different topics.
Offline, in Local the CSS rules I wrote, display just fine. The button appear in the 6 different colors according to topic (screenshot 1). However, when I upload and update the CSS file to the live website, it doesn't work. The button appears in just 1 color everywhere and centred (screenshot 2).
It's a wordpress website theme, so I purged the cache. I'm using CMD+SHIFT+R to do a hard refresh, I've tried firefox, chrome and safari - also incognito. Nothing.
The width I chose is 250px and on chrome-developer tools it shows 30%.
Based on that I know that chrome uses an older stylesheet. Even if I change the css classes, chrome refuses to adopt the new ones. Also after a week of waiting - for an automatic refresh, the old CSS is still there.
As I said, I already purged the cache and did hardfresh, not sure what else there is to do. Anyone got an idea?
Screenshot 1 - how it's supposed to look
Screenshot 2 - how it currently looks
The actual CSS
CSS that chrome shows
Like ivvija said in the comment. Use a version push on the including URL of your CSS.
<link rel="stylesheet" href="https://yourdomain.com/css/style.css?v=1.0.1a" />
If you have made changes and it doesn't show up, change the version and it should push the new version. This also works for included javascripts btw. It's wise to use this always, specially when you are done with a development change. Else your visitors could experience the same problem. ✌️

How to get Google Docs into dark mode when the browser's forced dark flag is enabled?

I have been using the #enable-force-dark flag (found under edge://flags for Microsoft Edge) for a while, and all websites, including Google Docs, were working perfectly fine then—but ever since Google Docs updated something about how document pages, and their color, are setup this past month I can't get documents to darken (regardless of which drop-down edge://flags/#enable-force-dark selection is made), even if I change the page color to dark on Google Docs. Any workarounds within the website itself, Microsoft Edge, and/or another browser?
Note: if I turn the browser flag off, dark document page colors show up perfectly fine, but I would really appreciate avoiding eye strain both on Google Docs, and in other websites.
According to your description, I tried this feature, and I found that #enable-force-dark works normally in Chrome(verion 96.0.4664.45) and Edge(version 96.0.1054.43). In Google Docs, except for the document part, the background is dark, something like this. So I think this is by design.
If this feature does not work correctly, you can try to reset Edge/Chrome or clear the cache, which may be useful to you.
In addition, I found an extension named Dark Reader, I think it will suit you, you can set the level of background color according to your preference. It also works with the document part in Google Docs, and you can even switch back to the default background without restart the browser.

How to force Chrome to show latest image changes on website

EDIT: Please stop suggesting to clear the cache. That will obviously not solve anything for the users who may have visited the site before.
I know how to force the browser to use the latest CSS version. This is not what I'm asking.
I also know how to clear the cached images on the browser. This is also not what I'm asking.
I also know this could be solved by changing the name of the image. I don't want to do that.
It surprises me not being able to find an answer to this issue anywhere since I came across this problem multiple times.
When replacing an image such as a logo that's on every page of an old website, you may want to simply replace the image without changing its name so you don't have to change the image name on every HTML page.
The problem is that Chrome continues to show the old version of that image no matter how many times you refresh the page.
It's the only browser I know that does this. It's incredibly annoying.
Isn't there a way to force Chrome to show this change, or even request Google to update the image that has been replaced?
Thanks.
ctrl shift i (to open the developers tool)
click network
check the disable cached data from the top of the window
or u can use the shortcut i think ctrl R (i am not sure of it) but using the developer tool ->network ->disabling cache then refreshing the page works fine 100%

Prevent show simplified view prompt or work with simplified view on Chrome

I have a website which looks good if viewed the way I designed it. Every time I visit it from Chrome on Android, I am given a prompt along the bottom of the screen to "Show Simplified View". If I click that prompt to actually see it in simplified view, the site will only display 1 news item (there are supposed to be 25 on a page), it removes all controls (log in, add news item, comments), and scrolling doesn't work anymore. There are multiple other problems as well (headlines/images/article excerpts are not matched together, color scheme is missing, etc.) This happens only on Google Chrome, no other browser I've tested does this.
I don't see the prompt to switch to simplified view on other sites. My preference would be to place a tag on my site to never show this prompt. I have googled around for that, but I have only found articles about how to turn the feature on from Chrome, nothing about how to disable the feature from the server side.
My second thought might be to work with this simplified view and get it functional for people who want to use it. However, I have read that it also blocks all advertising and my site is supported solely by ads, so this is a distant second if I absolutely can't prevent the prompt from appearing.
TO SUM UP:
How can I prevent the "Show simplified view" prompt from appearing or
Failing that, how do I set up my site to work with simplified view?
Replace P tags with div in your page. this mode is also known as Reader mode. Probably this answer might help you.
The answer I found for this was to change the font size based on the media width, and once the font size was big enough to be readable on the mobile device I was using, it stopped suggesting the simplified view. The exact code used was:
#media (max-width: 540px) {
body {
font-size:18px !important;
}
}
Simple enough.
Also check your viewport settings for mobile devices. I received this popup when I changed the initial scale of the viewport to 0.6.
Basically Google recognised that the font size is too small. Looks good to me but probably not for visitors without perfect eyesight.
<meta name="viewport" content="width=device-width, initial-scale=0.6, maximum-scale=2">
In this case, changing initial-scale=1 will fix this
A much better solution I ended up with
p { display: table; }
Just change the paragraphs to any of the generic blocks in my case I made it a table.
Show Simplified Views prompts when there is more text, Chrome prompts if it thinks it is a paragraph website where user is to read (by detecting texts (more than 700 approx)
If you truncate or remove texts, and make it less. Chrome won't prompt.
G'day mate. There's a permanent solution. Go into chrome://flags and search 'reader mode' and disable both flags which has 'reader mode' on it's name. And then, it's done, you'll never be annoyed by that pop-up again(unless you will uninstall and reinstall that chrome browser and then. ........ .... you'll have to do it again).
Thanks mate,bye.

TideSDK: Chrome relation

First of all, I'm swiss, so forgive me if I mistake; My english is not so rich.
In tiapp.xml file I can see this directive <chrome scrollbars="true">true</chrome>.
It means that tideSDK uses Google Chrome? Or what else?
In other words: there is the possibility of missing functionalities depending the final user's configurations(Google Chrome not installed)?
Excuse me for the stupid question but I did not understand.
Chrome means the look - the outer decoration of the window. Another word might be "skin".
Enabling/disabling tells the framework to add the OSes native window decoration to a window - scaling borders on each side, a title bar with the window name, as well as min/max/close buttons - all this is part of the window chrome.
If you want to create 100% custom looking windows, you have to disable the window chrome.
Heads up! Scaling and moving of the window is automatically handled by the window chrome. If you disable it, you have to handle that functionality by yourself.
This is in no way related to Google Chrome :)