Archives du mot-clef Opera

Opera’s (not-so-)secret agenda

Opera’s (not-so-)secret agenda. Behold.

To account for the short­fall in humor this year, Opera has issued offi­cial come­dic gui­de­lines to direct cor­po­rate humour deci­sions and metrics for the remin­der of 2007. These dates will form the cor­ners­tone of Opera’s new EULA :-)

April 1, 2007
No jokes allowed
April 2, 2007
Jokes allo­wed
April 20, 2007
Try swim stunt again
May 11, 2007
Jon goes to see Dave Gahan of Depeche Mode in concert Note to self: don’t trans­cribe eve­ry­thing CEO says
June 5, 2007
Opera holds dress as a troll day
August 14, 2007
Bork brow­ser turns 4 1/2 safety remin­der: light after cut­ting candle in half
Sep­tem­ber 12, 2007
Insert totaly hila­rious Web 2.0 / You­Tube / Back-to-school thin­gie here
Octo­ber 31, 2007
Opera employees dress nor­mal busi­ness casual
Novem­ber 5, 2007
Opera caught under­neath Houses of Par­lia­ment with single sparkler
Novem­ber 13, 2007
HR solds Sadie Haw­kins dance

Get the real stuff (April Fool’s policy)

You’ve been warned.

Some Devon Young’s great posts

Devon Young’s tech blog is gone (Been 86’d—sur­ely a phrase, but I don’t know its mea­ning). This is sad, because there was a lot of inter­es­ting things there.

Now, the good news: thank to Opera’s fan­tas­tic caching sys­tem, I can still read it: Opera does not refresh a page when re-opening a ses­sion and this is GREAT (he is the only to do that, as far as I know). This is the second time that this fea­ture helps me—it even doesn’t refresh if you close a tab and unclose it :-) .

Now, thanks to Opera and Devon Young’s appro­val, I deci­ded to post some posts.


Remove 75% of the spam on Word­Press 2.1

ori­gi­nal post

[…] The spam­bots weren’t using the form to post any­thing, they were just directly acces­sing the wp-comments-post.php file. Which sur­pri­sed me. It didn’t sur­prise me that they were doing it. It sur­pri­sed me that Word­Press was allo­wing that. So I rea­li­zed I had to create a small change in the script, that should’ve already been coded in by the Word­Press coders before release. So at the start of the file, before any of the code that’s already there, I added this line:

if(strstr($_SERVER['HTTP_REFERER'],"devonyoung.com")) {

Then after all the code, I added these 4 lines:

} else { 	echo "You tried to bypass the form."; }

These 4 lines of code, redu­ced spam by about 75%. Yet, some spam­bots are some­how still post­ing com­ments. So I che­cked really quick and dis­co­ve­red that the ones still get­ting their posts through, aren’t using the com­ment form or the wp-comments-post.php. Huh? Now that sur­prises me. Anyone know how they can manage that? I know a lit­tle about Word­Press, but not enough to know how this works. Likely, the spam­bots are exploi­ting a secu­rity hole or a bug in the sys­tem. I’m using Word­Press 2.1.

Spam­proof email address, with CSS

I think this is a case of paral­lel inven­tion, since Devon Young doesn’t men­tion any ins­pi­ra­tion, but this had already been done by the Polish Lite­rary Moose (inter­view).

Any­way, here it goes:

p a:before { 	content: "soy"; } p a:after { 	content: "devonyoung.com"; }

This address is selec­table with Opera (and Opera only; others will use their eyes). It is the only one I know to do this. That might be worth inclu­ding in any Opera evangelism.

A Google limitation

I copy the whole of it, that’s better.

As if I wasn’t having enough pro­blem with their Feed­fet­cher bot. Appa­rently Google thinks www.devonyoung.com is equi­va­lent to devonyoung.com, because it applied my www’s robots.txt to my entire domain.

I used Google’s auto­ma­tic URL remo­val sys­tem to remove all refe­rences to my out­da­ted www. sub­do­main from the Google database.

I cli­cked the link tit­led “Remove pages, sub­di­rec­to­ries or images using a robots.txt file” and typed http://www.devonyoung.com/robots.txt in the appro­priate text­box. That robots.txt has disallow: / in it, so no craw­lers will bother with the defunct sub­do­main. Kno­wing that robots.txt lists what you want a spi­der to ignore, I expec­ted that what was lis­ted, would be what would be remo­ved. What else could it mean?

This mor­ning, I wake up to find that my entire devonyoung.com domain is mis­sing from Google. Try it, search for it. It’s gone. You can’t even google my name to get it. So appa­rently Google can­not dis­tin­guish bet­ween a www. and the main domain itself.

That was irri­ta­ting, but I thought that fixing this would be rela­ti­vely easy. I just go in again and type http://devonyoung.com/robots.txt (without www.) in the appro­priate text­box, right? No. This cau­sed Google to give me a notice that every single thing at my main domain will fur­ther be gone (again?), and not just the things I list in the robots.txt as ignorable.

What makes this even more pain­ful and annoying is this note at the URL Remo­val System:

all pages sub­mit­ted via the auto­ma­tic URL remo­val sys­tem will be remo­ved from the Google index tem­po­ra­rily for six months

This is more than fairly irri­ta­ting. For 6 months, my entire web­site won’t be lis­ted in Google. I only wan­ted the out­da­ted and defunct stuff remo­ved, and I get burned.

Oh, one more thought on this sub­ject. They never confir­med with me that I had any autho­rity to delete all refe­rences to the domain from their data­base. That just sounds like a huge secu­rity risk. I ima­gine I could sign up using an ano­ny­mous hot­mail address and remove all refe­rences to micro­soft domains from Google’s data­base. I bet Google would hear about that.

Sorry for the rant, but I thought you might all want to know about this for SEO reasons.

News­Fire limitation

I used it for a while (now I use Net­news­Wire). In case you don’t know, it is a cool-looking RSS rea­der for OS X (it is made by David Wata­nabe. Nuff said).

Bot­tom line: News­Fire does not res­pect 301 noti­fi­ca­tion (301 sta­tus code means file moved, so stop loo­king for it here. It is there now.).

Oh, by the way: Google’s RSS bot (Feed­fet­cher) don’t give a shit nei­ther. Yep, Google sucks on this, he ignores my Redirect permanent.

Devon has a nice name for these rude bots: Deaf user agents.

Opera’s Print preview is unreliable

And I prove it: consi­der this page.

  • The text will be on one PDF page (on OS X: cmd+p, preview)
  • But print pre­view will tell you two pages (File, Print preview)

Opera 9.10’s Print Pre­view func­tion will show this page as two print pages, while OS X’s Export as PDF will pro­duce only one. Maybe Apple is badly imple­men­ting PDF, but the fact is that we can’t rely on Print Preview.

When you are going to print a book, you’d bet­ter be sure of the result.


CSS is minimal

[ERROR] File extensions are bad: Opera and Firefox discriminate .html and .xhtml

My mis­take: my ser­ver sends eve­ry­thing has text/html—and I don’t have the tech­ni­cal know­ledge to change it.

Lire la suite

Les exclusivités d’Opera

Ini­tia­le­ment publié le 17 avril 2006 à 19:03:41

Exclu­si­vi­tés

  • Titres numé­ro­tés Gecko en fait désor­mais autant
  • Espaces fines insé­cables Gecko en fait désor­mais autant
  • Sélec­tion de texte autogénéré
  • Retours cha­riot CSS (\a, de mémoire)
  • Le seul à pou­voir cor­rec­te­ment uti­li­ser run-in avec du display:after (les der­nières com­pi­la­tions noc­turnes de Web­kit ont réglé le pro­blème ; mais pas la dernière nocturne de Gecko 1.9)
  • La meilleure gestion de l’attribut cite à ce jour grâce aux liens en cascade (CLink)

Exemples

Sur ce blog

Démonstration de la puissance d’Opera
Démons­tra­tion de la puis­sance d’Opera
Le texte cité est une liste de défi­ni­tions (en gras, les dt). Les deux_points et espaces les pré­cé­dants sont auto­gé­né­rés (quand on y pense, c’est de la pré­sen­ta­tion, tout ça). Si vous cli­quiez sur le texte vio­let en bas, ça vous emmè­ne­rait sur la page de source. Et vous pour­riez aussi le sélec­tion­ner, quand bien même il est auto­gé­néré depuis l’attribut title. Bien entendu, il n’a pas le pro­blème de Safari avec les guille­mets, qu’il loca­lise comme demandé (Firefox le fait aussi correctement). Soyons honnêtes : Opera a du mal avec les enrichissements typographiques et surexploite les déliés (vous le voyez en bas). D’une manière générale, Opera a du mal avec Mac. Il n’empêche, c’est bien, tout ça.

Autre

Un autre exemple que je compte bien (re)mettre en action dans la nouvelle version du site Web, les compteurs (counter, conter-increment) :
h3:before	{ 	content:counter(thetitre3) "."; 	counter-increment:thetitre3; 	}
Un exemple simple
Un exemple simple
Un exemple plus évolué
Un exemple plus évolué
Le fichier HTML Notez que dans le dernier exemple, les astérisques peuvent tout à fait être rendus par une autre navigateur ; en effet, il n’y a aucune numérotation derrière. Notez également que les postulats des titres (h*), qui ne sont pas des blocs, mais des lignes, ont été totalement revus en XHTML 2.0 (à l’avenir cepen­dant incer­tain). Les comp­teurs ne devraient donc plus être néces­saires (pour cette uti­li­sa­tion) dans cette nou­velle mou­ture du lan­gage par excel­lence du Web.

Voir aussi

  1. Télé­char­ger Opera
    • en ver­sion stable. Pré­fé­rez la ver­sion anglaise, la ver­sion fran­çaise étant très en retard
    • en ver­sion beta. La ver­sion 9 est en bêta, j’en ai fait une revue (pour la bêta 1) et c’est celle que j’utilise, preuve de sa stabilité
  2. D’autres articles sur Opera, sur ce blog
  3. Le blog de Laurent Denis, chantre francophone d’Opera et spécialisé dans l’accessibilité
  4. Wikipédia — Opera et Wikipédia — Liste des fonctionnalités du navigateur Opera
  5. Les pri­meurs d’Omniweb, où je glo­ri­fie un autre navigateur
  6. Des caption pour les listes, où je traite d’un autre pro­blème lié aux énumérations

Copier-coller de tableau

Source de l’excercice : Décli­nai­sons latines.

Copier-coller un tableau depuis Safari

Nominatif singulier civis mare consul corpus pater urbs animal febris Vocatif singulier civis mare consul corpus pater urbs animal febris Accusatif singulier civem mare consulem corpus patrem urbem animal febrim Génitif singulier civis maris consulis corporis patris urbis animalis febris Datif singulier civi mari consuli corpori patri urbi animali febri Ablatif singulier cive mari consule corpore patre urbe animali febri Nominatif pluriel cives maria consules corpora patres urbes animalia febres Vocatif pluriel cives maria consules corpora patres urbes animalia febres Accusatif pluriel cives maria consules corpora patres urbes animalia febres Génitif pluriel civium marium consulum corporum patrum urbium animalium febrium Datif pluriel civibus maribus consulibus corporibus patribus urbibus animalibus febribus Ablatif pluriel civibus maribus consulibus corporibus patribus urbibus animalibus febribus

Copier-coller un tableau depuis Opera et Mozilla

Nominatif singulier	civis	mare	consul	corpus	pater	urbs	animal	febris Vocatif singulier	civis	mare	consul	corpus	pater	urbs	animal	febris Accusatif singulier	civem	mare	consulem	corpus	patrem	urbem	animal	febrim Génitif singulier	civis	maris	consulis	corporis	patris	urbis	animalis	febris Datif singulier	civi	mari	consuli	corpori	patri	urbi	animali	febri Ablatif singulier	cive	mari	consule	corpore	patre	urbe	animali	febri Nominatif pluriel	cives	maria	consules	corpora	patres	urbes	animalia	febres Vocatif pluriel	cives	maria	consules	corpora	patres	urbes	animalia	febres Accusatif pluriel	cives	maria	consules	corpora	patres	urbes	animalia	febres Génitif pluriel	civium	marium	consulum	corporum	patrum	urbium	animalium	febrium Datif pluriel	civibus	maribus	consulibus	corporibus	patribus	urbibus	animalibus	febribus Ablatif pluriel	civibus	maribus	consulibus	corporibus	patribus	urbibus	animalibus	febribus

Comme vous le voyez, Mozilla et Opera ne modi­fient pas les tabu­la­tions pour rendre les tableaux esthé­tiques en texte (ce qui n’est pas for­cé­ment une mau­vaise idée si on veut en faire autre chose que tu texte brut).

Mais quoi qu’il en soit, c’est mieux que Safari.

D’un autre côté, celui-ci réagit au ctrl+k

Fortune Opera

With inte­gra­ted sup­port for IRC, RSS, e-mail, Bit­Tor­rent, desk­top gad­gets, and enough fea­tures to make half of the appli­ca­tions on my desk­top redun­dant, the Opera Web brow­ser is prac­ti­cally one lisp inter­pre­ter short of being the next Emacs.
À quand un triple-boot Seamonkey/Opera/EMACS ?

Test de conformité typographique

Ini­tia­le­ment publié le 12 sep­tembre 2006 à 02:41:39

Test de … (…) qui ne doit pas être en début de ligne

Test de … (…) qui ne doit pas être en début de ligne

Appa­rem­ment, c’est bon avec Safari (ça ne l’était pas avant), Opera et Mozilla. Mon code ne me satis­fait cepen­dant pas, pensez-vous qu’il y a une meilleure manière de véri­fier que ces carac­tères (, ;, ) ne vont pas se trou­ver en début de ligne ?

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr-fr"> <head> <title>Test ellipse</title> </head> <body> <div style="border:red thin solid;font-family:monospace;width:36em"> 	<p>Test de <code>&hellip;</code> (…) qui ne doit pas être en début de ligne<strong>…</strong></p> </div> <div style="border:red thin solid;font-family:monospace;width:37em"> 	<p>Test de <code>&hellip;</code> (…) qui ne doit pas être en début de ligne<strong>…</strong></p> </div> </body> </html>

Voici un exemple avec Omni­web 5.5 :

Parenthèse en début de ligne
Paren­thèse en début de ligne

Ils en parlent mais ne me le disent pas, les petits cachottiers :

Opera 9.02 bug: Incompatibilities between display:run-in and :first-letter

I already noti­fied bug.opera.com (I remo­ved the e-mail address at Opera’s request; see first com­ment). This had also been repor­ted on the forum (link).


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
 <meta http-equiv="content-type" content="application/xhtml+xml" /> 	<style type="text/css">
   dt	{display:run-in} 		dd:first-letter	{text-transform:lowercase}	</style>
</head>

<body>
<dl>
 <dt>10h00</dt>
 <dd>Lowercased first letter is expected here (Opera 9.02)</dd>
</dl>
<p>Gecko 1.9 is OK, except for the lack of support for <code>run-in</code>; WebKit is even worse.</p>
<p><code>:first-letter</code> specification [<a href="http://www.w3.org/TR/CSS21/selector.html#first-letter" hreflang="en">CSS2</a>] [<a href="http://www.w3.org/TR/CSS21/selector.html#first-letter" hreflang="en">CSS 2.1</a>]</p>
</body> 
</html>

Windows Update avec Firefox ou Opera

Ini­tia­le­ment publié le 19 mai 2006 à 11:57:08

Met­tons que :

  • vous ne vou­lez pas uti­li­ser Inter­net Explo­rer mais ne vou­lez pas pour autant quit­ter Win­dows ; or, il vous faut bien le mettre à jour de temps en temps, ce qui impose de pas­ser par Win­dows Update, qui n’est dis­po­nible que par Inter­net Explorer…
  • vous êtes un admi­nis­tra­teur sys­tème, vous vou­lez réduire au maxi­mum les pro­blèmes de sécu­rité avec Win­dows. Là encore, vous vou­lez évi­ter de lan­cer Inter­net Explorer.

Bonne nou­velle (même si pas récente) : vous pou­vez uti­li­ser Win­dows Update avec Fire­fox ou Opera. Ça s’appelle Win­di­zUp­date (page Wiki­pé­dia).

Il pro­clame même être meilleur que l’autre site Web. Étant sous Mac, je ne peux véri­fier. Dites-moi ce que ça donne.

Ça ne marche pas pour le fran­çais (et sûre­ment pas pour tous les postes non anglais).