Advertisements

General Musing

blaze your trail

Posts Tagged ‘firefox

Chrome Beta Breaks Internet? #chrome

leave a comment »

I hate programming UIs in browsers, I’m sure everybody does. With Google’s Chrome browser another headache is born. Chrome’s JavaScript Engine V8 implements ECMAScript-262, but not with some of the features that come in JavaScript v1.6 and are implemented by FireFox. One example is the “for each in,” not that this is implemented correctly in Internet Explorer.

var query = "plaap=poekoe&hi=hello";
var valPairs = query.split('&');

for each (var pair in valPairs) {
Uncaught SyntaxError: Unexpected identifier
        var tempPair = pair.split('=');
}

There is a solution for this I found on the Mozilla Developers Center: forEach, with this you are able to implement a callback that cycles throught the Element.

if (!Array.prototype.forEach){
  Array.prototype.forEach = function(fun /*, thisp*/) {
    var len = this.length;
    if (typeof fun != "function")
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i < len; i++) {
      if (i in this)
        fun.call(thisp, this[i], i, this);
    }
  };
}

Technorati technorati tags: , , , , , , ,

Advertisements

Written by Daniël W. Crompton (webhat)

December 1, 2008 at 12:20 pm

Posted in programming

Tagged with , , , , , , ,

FireFox Hacks For Flash #hacks

leave a comment »

It always annoys me that when I arrive at a page I get the message:

Additional plugins are required to display all the media on this page.

I don’t want to run Adobe’s Flash in my current context, I would actually prefer to not run it at all. Even Microsoft agrees that Don’t blame us, blame the browser add-ons.

Eric Lawrence Security Program Manager on Microsoft’s Internet Explorer team argued on a Black Hat webcast about Clickjacking that Microsoft is not to blame. […] “One of the things we’ve seen in the last two years is that attackers aren’t even going after the browser itself anymore. The browser is becoming a harder target and there are many more browsers,” Lawrence said. “So attackers are targeting add-ons.”

So how did I disable the stupid warning? In FireFox’s about:config I changed the plugins.hide_infobar_for_missing_plugin entry from false to true, now I decide when I see a legoblock whether I want that to work or not.

plugins.hide_infobar_for_missing_plugin true

Technorati technorati tags: , , , ,

Written by Daniël W. Crompton (webhat)

November 27, 2008 at 10:28 am

Posted in risk, security

Tagged with , , , ,

Browser Privacy

with one comment

Written by Daniël W. Crompton (webhat)

August 22, 2008 at 7:54 am

Posted in privacy, risk

Tagged with , , , , ,

FF addon: ScribeFire (Updated)

with 3 comments

My good friend Sean CISSP, who I met on the train from Mumbai to Panaji, send me the following comment:

I use Scribefire, a FF add-on – a bit flakey at times but does ok usually. supports tags, including Technorati ones (but I can’t get that to work reliably) and whatnot.1

So I’m using ScribeFire to write this blog, immediately it looks like it has it’s spell checker linked to FireFox. Sadly <CTRL>-<SHIFT>-arrow doesn’t seem to work in the edit field although it does in the HTML edit and preview screen. It has categories and seems to have tags. It contains shortcuts to insert images from Flickr and YouTube.

It’s not possible to schedule it for a later date. It should also add the Technorati tags automatically, I’m not sure it will work. Pushing publish now.

Update:
It doesn’t seem like it added the tags, although I selected Draft it published it directly to my blog. It also used <br/> rather than <p/> or <p></p>.
Technorati technorati tags: , , ,

Written by Daniël W. Crompton (webhat)

July 9, 2008 at 9:55 am

OpenID Implementations

with 2 comments

I have always loved Identity Management, and like Access Management. I’m a little funny, I like to be identified and want my identity to be linked on different sites. Which is why I like as an identity management system, I also like the possibility of limiting the exchange of personal information to the site to are identifying yourself too. Some may require a mail address, others may only need to verify that you are authenticated to the other site. allows commentary to be added when using an external authentication source, but does not allow blogging without your identity.

My personal favourites are VeriSign Personal Identity Provider – it has a Firefox add-on “VeriSign’s OpenID SeatBelt” – and – it allows attaching external links to your identity. You can examine many more of the implementations on the official site.

Technorati technorati tags: , , , , , ,

Written by Daniël W. Crompton (webhat)

July 5, 2008 at 10:21 am

Extending Standard Firefox

leave a comment »

I was reading Extend Firefox Contest Highlights the Catch-22 of Browser Add-ons, which discussed the Catch-22 situation that browser developers find themselves in when publishing a new browser: Do you add functionality because it’s useful to everybody? Or leave it out because it is isn’t.

My opinion is that the browser should at least have the same functionality as the browsers which which it competes. Other than that a method should be build in to query the users. I also tend to agree with the poster Baltic Zephyr who says:

Why not just offer a few versions of the firefox download which contain sector-specific bundles of the most attractive addons for each sector. This might include Firefox for designer, for programmers, for academics, etc. Another approach would be to simply offer bundled addons in addition to the standard firefox download.

That does leave the developers with the problem on how to discover which extensions should be standard for which sector and should the extended add-on be used or the limited implementation?

Personally I use the following, regardless of the setting I am in:

  • GreaseMonkey
  • FoxyProxy
  • Del.icio.us Bookmarks
  • Tab Mix Plus
  • Yahoo! Toolbar
  • VeriSign’s OpenID SeatBelt

Technorati technorati tags: , , , , , ,

Written by Daniël W. Crompton (webhat)

July 4, 2008 at 9:57 am

%d bloggers like this: