Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Olvidate del modo "incógnito", usá un browser descartable!

No es por­que lo ha­ya es­cri­to yo (bue­no, sí) pe­ro si ne­ce­si­tás un bro­w­ser "lim­pio" sin cookie­s, etc, pa­ra tes­tear al­go, po­drías en­con­trar ma­ne­ras peo­res que usar De­vi­cen­zo así:

rm -f ~/.config/ralsina/devicenzo.conf
curl https://devicenzo.googlecode.com/svn/trunk/devicenzo.py | python

La pri­me­ra lí­nea eli­mi­na to­da la con­fi­gu­ra­ció­n, cookie­s, etc que pue­das te­ne­r, y la se­gun­da des­car­ga la úl­ti­ma ver­sión (no te preo­cu­pes, tar­da dos se­gun­do­s) y la lan­za.

Y voi­lá, un bro­w­ser re­cién des­em­ba­la­do, ba­sa­do en we­bki­t, sin his­to­ria pre­via, ni cookie­s, ni con­fi­gu­ra­ció­n, y ra­zo­na­ble­men­te fea­tu­re-­com­ple­te.

No­ta

Es­to re­quie­re que ten­gas py­thon y Py­Qt ins­ta­la­do de ante­ma­no, por eso De­vi­cen­zo es tan chi­qui­to.

Kay Hayen / 2013-04-10 16:51:

I used Selenium for this.

Brandon Rhodes / 2013-04-10 19:08:

The reason that many of us use an Incognito Window is because we need the Chrome Developer Tools for debugging our web application's login page, or whatever it is that we are debugging with different cookies than the ones we have set for normal use.

Roberto Alsina / 2013-04-10 19:11:

Good point. I thought everyone understood this was about porn (no, not really ;-)

John Lenton / 2013-04-10 22:31:

If you're doing this, you might want to consider tweaking the environ rather than nuking the config; for example,


curl https://devicenzo.googlecode.com/svn/trunk/devicenzo.py | XDG_CONFIG_HOME=`mktemp -d` python

Contents © 2000-2020 Roberto Alsina