Croquemichette

Un blog qui veut dire tellement de choses...

Subscribe to RSS feed

Posts tagged with "user javascript"

Comment savoir qui vous a supprimé de sa liste d'amis sur Facebook ?

, , ,

Opera doit être installé pour que ce qui suit fonctionne

Salut à tous,

Hi everyone,


Avant-hier, j'avais X amis sur Facebook. Le lendemain, je n'en avais plus que X-1. Qui m'a supprimé de sa liste ?

The day before yesterday, I had X friends. The day after, I had only X-1 friends. Who did remove me from its list ?


Je vous présente donc un script qui fonctionne sous Opera qui vous permet de savoir qui vous a supprimé de sa liste d'amis. Celui-ci enregistre votre liste d'utilisateurs, et vérifie quand vous êtes sur Facebook si quelqu'un vous a supprimé.

I introduce you a script, working in Opera, which permits you to know who removed you from its list. This script saves your list of friends, and check if someone remove you when you browse Facebook.


Toutefois, si votre ami(e) vous a déjà supprimé, ce script ne vous permettra pas de savoir qui est cet(e) ami(e).

If this friend already removed you from its list, this script won't help.


Le script est disponible ici.
Il nécessite l'installation des scripts a-lib-stacktrace et a-lib-xmlhttp-cd pour fonctionner (plus de détails).


The script is available here, and needs a-lib-stacktrace and a-lib-xmlhttp-cd to work (more details).


Si vous avez une remarque, n'hésitez pas à répondre à ce post.

If you have anything you want to say, use the comment button.


Si vous ne savez pas comment installer ce userJS, vous pouvez vous rendre ici

If you don't know how to install this userjs, you can read this.

WOT for Opera : introducing persistent storage

, , , ...

Up until now, every website has been using cookies to store information about a user on the computer.
HTML5 introduces a new way to store these data : persistent storage.

I don't know if you've heard about it, but it's quite powerful, and very simple.

What is a cookie ?


When you're on a website, there are about 99 % that this website uses sessions, thus cookies. For example, when you're logged on my.opera.com, you'll have a cookie named opera_session. If you delete this cookie, you'll be disconnected.

The problem with cookies is that when you request any file of a domain (let's say you request an image from my.opera.com), the browser will send all cookies (in the HTTP header) of this domain (opera_session, Google cookies, etc.). If you request 10 files, and if you have 3 KiB of cookies, you'll send 3*10 KiB of cookies. The server then sends back to you these cookies.

Another inconvenience is what a domain can store using cookies : 4KiB (It's also a good thing because of the HTTP header thing ninja).

What is persistent storage ?


It works the same way as cookies. You have a key, and a value.
But, what is stored using persistent storage is not sent when a file is requested on a domain. Persistent storage is only client-side.

Each domain can store (by default in Opera) 5120 KiB of data.

If you want to know more details about this, check this page smile

By the way, persistent storage only works in Opera 10.50. Previous versions of Opera won't be able to use it, and they'll keep calling the WOT API for each search.

So what ?


So, why have I been talking about persistent storage ?

WOT for Opera now uses it to store scores of websites.
For example, you'll search something on Yahoo, you'll have 10 results. The script will take the domain of each of these results, then will call the WOT API to get the corresponding results.
And if you reproduce the same search 10 times, it will call 10 times the WOT API with the same domains. I'm sure they don't like it bigsmile

So, from now on, before calling the WOT API, the script will search in local storage to see if results are available. These results expired after 7 days (but they are not automatically deleted, local storages don't have an expiration date).
These results are stored in a Json format.
If you want to remove manually some scores, you'll have to open Opera Dragonfly (O menu > Page > Developer Tools > Open Dragonfly). Then, you have to select the tab you want to check, click on the dragonfly on the right, and select the tab.
Go the Storage tab, and remove what you want.
If you want to clear all results of a domain, open go to opera:webstorage, and clear what you want ninja

What's new in this version of WOT for Opera ?


  • + Persistent storage
  • + The updater is now more sexy
  • + New search engine : Ecosia.org
  • * Wikio didn't work anymore
  • * oAutoPagerize didn't work in Opera 10.50


As usual, you can download it here, or here, or just wait for the updater ninja
If you have any questions :
  • in french : you can ask me on Opera-fr
  • other languages : ask here

Still WOT smile

, , , ...

Hey,

There's some fresh meat (vegetables if you're vegetarian) for you smile
A(nother) new version of the User Javascript WOT.

This one is quite stylish.

You can thank QuHno for the design. He also gave me useful advises, especially for the updater. Without him, it would still be using cookies.

You also can thank Nickko, an Opera user who is also a great usability expert. He helps me a lot by giving me usability advises ninja

Regarding what's new :
  • Faster (especially DOM queries reduce to a minimum)
  • Sexy (come on, look at the design bigsmile)
  • No more cookies \o/
  • And I Guess that's enough


A few screenshots :




You can download it here, or here, or use the updater ninja

As usual, I you have any issues with this version, just say so in this thread smile