Showing posts with label Chrome. Show all posts
Showing posts with label Chrome. Show all posts

Saturday, May 4, 2019

Is my computer up to it?

Firefox with a few tabs open:
CPU maxing out? 70% RAM usage?
OK let's close Firefox:
Well, that dropped off!
And open Chrome:
CPU maxed out! Ram a little lower.
And let it settle down with a few tabs open:
OK, so I need to get scientific and open Firefox and Chrome with the same tabs open, but it seems that I've found the reason why my installation of Debian Buster (Testing as of time of writing) runs slow.

Back in 2015 when I bought this laptop, many reviews complained of mouse pointer lag - in Windows. An update seemed to fix it, but today it's back to the same condition- laggy mouse,and slow to open programs.

Have web browser become heavier? Has Debian become more bloated?

To me it looks like the web browsers are the culprit.


Wednesday, May 4, 2016

There is no public key available for the following key IDs: 1397BC53640DB551

Seeing the above warning? Then you're probably using Google Chrome in Linux, and you need to update the public key:
# wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
(NB: Modified for Debian systems- the version in links below uses Sudo.)

Ubuntu Forums, Reddit, debian.org

Wednesday, October 16, 2013

Make Chromium fonts look like Iceweasel's in Debian XFCE

If you try out Chromium in Debian, you may notice that displayed fonts are not as nice as they are in Iceweasel.

Here's an example from Iceweasel:

And here's the same text in Chromium:

The first thing I noticed is that Chromium uses Bitstream Charter font whereas Iceweasel uses Serif. (I don't have Microsoft fonts installed.) This is what the text looks like with Chromium set to use Serif:

Next I noticed that Chromium does not seem to use the anti-alias settings in the XFCE GUI. The solution to this is to add a .fonts.conf file to the /home directory:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font">
    <edit name="autohint" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
    <edit mode="assign" name="hintstyle">
      <const>hintslight</const>
    </edit>
  </match>
  <match target="font">
    <edit name="rgba" mode="assign">
      <const>rgb</const>
    </edit>
  </match>
<match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>
</fontconfig>
Here are before and after screenshots:



Now fonts display very much the same in both browsers:

Source: Arch Linux Font Configuration.

Friday, October 4, 2013

Online Chrome theme generator

I've been trying out the Chromium web browser in Debian. Although it has a "use GTK+ theme" button in settings, the appearance of the bowser didn't match other applications- the frame was blue instead of grey.

There are lots of themes available, but none matched my theme. However, I came across an online theme generator at themebeta.com which allowed me to run up a theme for Chromium which matched other applications.

Full screen the Chromium browser with this theme looks like this. (Gnome 3/Adwaita inspired minimalism but in XFCE.)


Friday, March 8, 2013

Firefox, IE and Chrome hacked at Pwn2Own, Firefox issues secuirty update

eSecurity Planet has the story. Iceweasel in Debian Experimental is still at 19.0-1 a the time of writing, but the update will no doubt be made soon. The vulnerability is critical:
Vulnerability can be used to run attacker code and install software, requiring no user interaction beyond normal browsing.

Friday, March 9, 2012

Internet Explorer destroyed (again)

Here's a report from Pwn2Own, where hackers try to pwn various browsers for prizes.
A team of French researchers exploited two different IE zero-day flaws to break into a fully patched Windows 7 SP1 machine and take an almost unassailable lead in this year’s CanSecWest Pwn2Own competition. The hacking team, from French security research outfit VUPEN, used an unpatched heap overflow bug to bypass DEP and ASLR and a separate memory corruption flaw to break out of the browser’s Protected Mode sandbox. The code execution attack, which required no user action beyond browsing to a rigged web site, also works on Internet Explorer v10 (consumer preview) running on Windows 8.
Déjà vu.

But the real story is that Chrome also got pwned too. The leader of the successful team said:
“We wanted to show that Chrome was not unbreakable. Last year, we saw a lot of headlines that no one could hack Chrome.  We wanted to make sure it was the first to fall this year,” he said.
During the hack,  Bekrar created a web page booby-trapped with his exploit.  Once the target machine visited the page, the exploit ran and opened the Calculator (calc.exe) app outside of the sandbox.”
It looks like Firefox will fall too.
Bekrar’s team came equipped for zero-day flaws for all four major browsers — Google Chrome, Microsoft Internet Explorer, Apple Safari and Mozilla Firefox — but he said the decision to go after Chrome first was a deliberate tactic.

Sunday, October 23, 2011

The safest web browser? Part II

I've written before about browser security. I found that if you look at browser exploits in the wild, which is really what matters, Internet Explorer and Firefox have been affected by such exploits in recent history. (Internet Explorer has been affected by far more further back in history, but let's put that behind us.) Looking at that criterion, Opera and Chrome are "more secure".
Of course it's also possible for a browser to be a vehicle of security compromise via a deliberate download of malware, rather than a "drive by" download as the result of a security exploit. I've also written about Microsoft's claim that Internet Exporer is much better at blocking this sort of malware than other browsers, and found that it is, but possibly with a 30-75% chance that the "malware" blocked is a legitimate file or program- a false positive rate that would cause outrage if it was a third-part anti-virus program doing it.
Now there's a new story which claims that Internet Explorer is the safest browser and Firefox is the least secure. To cut to the chase, it's Microsoft doing its own evaluation of browser security, and giving more weight to Internet Explorer's (somewhat contentious) ability to block malware than its record on security vulnerabilities.
 The story has been greeted by derision by two other writers on the ZDNet site, who point out that at the same time the story appeared Microsoft Explorer contained a major security vulnerability that affected even the latest version (IE9) which Microsoft was touting as much more secure, and that the "online security test" that Microsoft was doing was merely looking at the browser ID string and reporting Microsoft's previously-determined security assessment based on its own (some would argue biased) weighting.
Is there any truth to Microsoft's claim that Internet Explorer is "more secure" than Firefox? Another story I came across this week takes a slightly more objective look.
Paul Mehta, senior research scientist at Accuvant, told the SecTOR audience the Web browser rendering process should run at low integrity so, if it is compromised, the underlying system is still ok. In IE, the browser is assigned low integrity and the same is true for Chrome. Firefox runs everything as a medium integrity process, according to Mehta. (eSecurity Planet.)
So Internet Explorer and Chrome are "sandboxed", and Firefox isn't. Doesn't that make Firefox less secure? Well not if there are exploits which can get through the sandbox and infect the system, which is exactly the sort of exploit reported in Internet Explorer above. Which makes the Microsoft claim regarding Firefox debatable. I have reported a story which claimed that Chrome's sandbox had been breached, but never found out if there was any truth to it. So the Microsoft claim that Internet Explorer is more secure than Chrome is also debatable: we have a proven exploit of the MS sandbox, verses an unsubstantiated claim of a breach in the Chrome sandbox.
An important point to make here is that Internet Explorer is "sandboxed" and Firefox not because Microsoft won't let non-Microsoft software use its sandbox. The playing field is not level for Mozilla, Google or Opera. Chrome has chosen to add its own sandbox, which may give it a security advantage.
So what is the safest browser? Well, if you really feel the need for a sandbox, possibly Chrome. If somebody tells you its Internet Explorer 9, they've probably been listening to the Microsoft FUD. If they tell you Firefox is the least secure, then they've definitely been listening to Microsoft FUD, and as I pointed out before, they're very likely doing so for partisan rather than evidential reasons.

Saturday, July 30, 2011

Intelligence quotient and browser usage

OR: Correlation is not proof of causation.

New online study says Internet Explorer users are dumb, smarter users use Firefox, even smarter users use Chrome, but the smartest users use Opera.


Internet Explorer users confirm they are dumb by threatening a dumb lawsuit.

I think the Internet Explorer 6 result may have something to do with my previous post. Does the daily tedium of office life for civil service and other corporate users of IE6 decrease IQ with time?

(Story first seen on the Debian Forum.)

Update: The BBC has the story.
The findings have been treated with scepticism by Professor David Spiegelhalter of Cambridge University's Statistical Laboratory: "They've got IE6 users with an IQ of around eighty. That's borderline deficient, marginally able to cope with the adult world.
Just for fun, I tried searching Google for an image of an Internet Explorer user to see if it matched the description.

LOL.

Image: shoutEx.

Update 2: The story seems to have been a hoax, according to the BBC.

Wednesday, May 11, 2011

Chrome's sandbox compromised?

A French security research firm boasted today that it has discovered a two-step process for defeating Google Chrome‘s sandbox, reports Brian Krebs.

A comment has a solution:
Chrome is in fact one of several browsers that I utilize, but each Internet facing application on my system also runs in an “untrusted” state in a DefenseWall sandbox. So when I’m running Chrome, it’s like having a sandbox encapsulated in another sandbox.
And so ad infinitum.

Saturday, September 4, 2010

Bucky balls & browsers

It was the the 25th anniversary of the discovery of fullerenes today and Google marked the occasion with an interactively rotatable fullerene C60 molecule as the second 'o' in their logo.
The animation was done by a large javascript on the Google homepage, which proved very CPU demanding for some users. Hardly surprising as the animation contains 60 points in 3D space, making up 12 pentagons and 20 hexagons with all the connecting lines involved.
Interestingly, Firefox seemed to struggle the most with the animation; Opera and Chrome handled it with less effort.

Firefox CPU usage:


Opera CPU usage:


Chrome CPU usage: