Which font(s) does Google Chrome use by default?

When designing websites, I’ve noticed that Chrome and Firefox have different default fonts, or at least, they look different somehow. Rather than serving fonts to all users, I think what I’d like to do is just use Chrome’s default font, and serve that to Firefox users. What font(s) does Google Chrome use by default when websites don’t specify a font?

Also, apologies if this question doesn’t fit here, I wasn’t quite sure if UX includes UI development.

jQuery.addClass working in Chrome but not IE11

I’m working with a “new item” form for a SharePoint survey.

In Chrome, the following code shows an alertbox and then makes every other row darker.

In IE 11, the following code shows an alertbox but doesn’t change the appearance.

Why?

<style type="text/css">     .oddrow { background : #eee9e9 !important;} </style>  <script src="../../SiteAssets/jquery.min.js"></script> <script type=text/javascript>  function addOddRowStripe() {     alert("Hello World");     // Why doesn't IE like the next line?     jQuery("td.ms-formbodysurvey table tbody tr:odd").addClass("oddrow"); };  _spBodyOnLoadFunctionNames.push("addOddRowStripe");  </script> 

Warning en consola de desarrollo de Google Chrome

Estoy desarrollando una página web con php y javascript, me sale el siguiente Warning y no entiendo a que se debe:

A cookie associated with a cross-site resource at was set without the SameSite attribute.

Y también muestra warning para jquery, highchart, google:

A cookie associated with a cross-site resource at http://google.com/ was set without the SameSite attribute.

A cookie associated with a cross-site resource at http://jquery.com/

¿Alguien tiene idea de que esta pasando?

warning

Strange sudden Change of a Code Snippet’s Behaviour in Google Chrome

I wrote a PHP/MySQL-based private pupil management system which has some odd behaviours since the middle of this summer: While the different display of some elements in their first line (without element:first-line commands in the CSS) is just annoying, function calls don’t work on some pages any more: I use modal dialogs for inputs, called by the link “javascript:showModal(some arguments)” which just loads the proper formular HTML-page by AJAX and then show it within a simple bootstrap modal. On the pupil pages this link works perfectly, on the class pages the identical(!) link suddenly opens a new “about:blank”-tab in the browser (there was no problem before middle of this summer, and the software already runs for a few years).

The only change of the code I made this summer was one “backend database input” (reduce the number of inputs for one specific pupil achievement from 12 options to 4) which should not be able to cause such side effects, especially since even backups from before this summer’s changes (where everything worked perfectly fine) now show the same problems — so the reason should(?) not occur from the code itself … so I’ve no idea where to start some trouble shooting.

Even more interesting: The behaviour described above just occurs in Google Chrome Browser, while everything still works fine in Microsoft Edge. Has anyone an idea what could cause such an interesting behaviour change of identical code snippets in just parts of a website (without having changed them) in just one browser?

GMail / Chrome battery drain

(K)Ubuntu 19.04 on XPS 13 – 9360 UHD display

The subject line says it all. While battery life on Ubuntu 19.04 is pretty good overall, whenever I use Gmail I can see consumption spike up. More precisely, the estimated battery life (I use KDE, but the same is true under Gnome) drops precipitously. Composing emails seems to really hammer power consumption.

Web browsing in general is tough on battery consumption, but Gmail is a particularly egregious offender. I am using Chrome, but I tried Firefox as well and it was basically the same.

Am I the only one seeing this? Any thoughts? Thank you!!!

Ubuntu 18.04 google chrome crashes when gnome shell extensions are loaded

I wanted to use the current version of chrome. But it seems that unless I disable all my gnome shell extensions first it’s not going to happen.

I also tried based on previous questions disabling the sandbox and gpu with no effect. Ouput here:

Also tried deleting the google-chrome directory in ~/.config/

[I]  ~/downloads  google-chrome --no-sandbox --disable-gpu [I]  ~/downloads  google-chrome [25111:25111:0925/181842.865622:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [25111:25111:0925/181843.063204:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [I]  ~/downloads  google-chrome [26005:26005:0925/182004.342502:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [26005:26005:0925/182004.532653:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command ^C⏎                                                                                                                                                           [I]  ~/downloads  google-chrome [27395:27395:0925/182113.790411:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [27395:27395:0925/182113.950042:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [27304:27463:0925/182216.357162:FATAL:bus.cc(1215)] D-Bus connection was disconnected. Aborting. fish: “google-chrome” terminated by signal SIGTRAP (Trace or breakpoint trap) [I]  ✘  ~/downloads  google-chrome [4750:4750:0925/182437.014522:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [4750:4750:0925/182437.167120:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command  ^C⏎                                                                                                                                                           [I]  ~/downloads  google-chrome [7102:7102:0925/182637.328197:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [7102:7102:0925/182637.526328:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [7102:7102:0925/182714.072002:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [I]  ~/downloads  [7977:7977:0925/182751.089945:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [7977:7977:0925/182751.423313:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [7977:7977:0925/182810.783713:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [7977:7977:0925/182818.426713:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command 

Ubuntu 18.04: VS code and chrome browser does not show up window however I can see they are running in background

I have installed something that affected both vs code and chrome browser. Now both do not work. I tried reinstalling both still I have the same issue. I deleted all the configuration files.

I can see both of them running background when I start using command line however if I try clicking the icon it cannot start.

rm -rf ~/.config/Code/ 

I also tried running using verbose command which does not show any error message.

vscode --verbose 

Looks like I have replaced some shared library which is used by both chrome and vscode. Interestingly, If I use chromium browser it works however vs codium does not work.