WOT for Opera : introducing persistent storage
Tuesday, March 9, 2010 10:36:20 PM
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.
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
).
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
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, 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
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
As usual, you can download it here, or here, or just wait for the updater
If you have any questions :
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
).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

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

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

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

If you have any questions :
- in french : you can ask me on Opera-fr
- other languages : ask here












1 2 Next »
Mağruf ÇolakoğluZAHEK # Wednesday, March 10, 2010 9:28:48 AM
To use web storeage is cleverer. Congr.
Ichann # Wednesday, March 10, 2010 10:05:15 AM
metude # Wednesday, March 10, 2010 10:24:02 AM
Ichann # Wednesday, March 10, 2010 11:00:48 AM
Originally posted by metude:
Aesthetically nothing has changed
Mağruf ÇolakoğluZAHEK # Wednesday, March 10, 2010 12:22:22 PM
Originally posted by metude:
Görünürde değişen bir şey yok metude. Yeni veri depolama sitemine adaptasyon ve birkaç ufak düzenleme var.
metude # Saturday, March 13, 2010 8:17:57 AM
Originally posted by ZAHEK:
Anladım.
@Ichann
Thank yout for your interest.
Sami Tolvanensamitolvanen # Sunday, March 14, 2010 5:01:10 PM
That's way too long, the official add-ons cache ratings for 30 minutes. Reputations can change dramatically in an hour, let alone a week. Other than that, nice job!
Ichann # Friday, March 19, 2010 7:37:58 AM
Originally posted by metude:
Birsey degil. http://files.myopera.com/Tamil/Smilies/Cool2.gif -
metude # Friday, March 19, 2010 8:28:19 AM
Originally posted by Ichann:
Do you know Turkish? http://files.myopera.com/Tamil/Smilies/Cool2.gif -
or using Google Translate?
Ichann # Sunday, March 21, 2010 5:43:14 AM
am<(biraza ayip olduAvustralya'dan selemlar.
metude # Sunday, March 21, 2010 10:50:30 AM
Türkçe'yi nerede öğrendiniz?
Ichann # Friday, March 26, 2010 8:47:31 AM
Buna Ramen, Annem'den ve Babam'dan illerlettirdik elbette. Ha. Turk okulunada gitmistim. Cok turkce yazmadigim icin biraz zayiflik var ama konusmam baya guclu (buradaki cocuklar dili cok ama cok kotu konusuyorlar).
Unutmayin gocmen cok var. Bir gun beni Zuhal Topal'ds goreceksiniz.
Microsoft'un Bing tarim motorunun? simdi turkceyo sokme kapasitesi var.
Adamin Blogu'nu berbat ettik. http://files.myopera.com/Tamil/Smilies/LOL.gif -
_______________________________________
PH when can we expect to see the new release?
I am using Power-drag with the 'always on drag mode' and have some conflicts with this script. It is hard for me to click on the O ratings.Pressing shift negates the problem.pegaspe73 # Thursday, May 6, 2010 9:40:45 AM
I created a userJS folder where I placed wot.js, linked Opera with this folder and WOT works perfectly :-). However when checking update another Opera tab opens where is text of wot.js, is this behaviour correct? I thought that something like "Your version is up to date" or "New version is available" will jump. Sorry if my question sounds odd, I am completely newbie as regards userjs.
Another question relates to this feature:
There's one constant to enable (B_DISPLAYWARNING must be set to true).
And one constant to set security level (N_SECURITY_LEVEL). This security goes from 1 to 5 (1 = dangerous, 2 = not safe, 3 = not sure, 4 = alright 5 = trusted). You will get a warning for every link you click whom domain has a score under the one you specify.
I can't figure out how to do it, I opened wot.js in notepad but I am totally lost. Can you pls help me?
PHcphr666 # Thursday, May 6, 2010 5:42:02 PM
Regarding the update issue, there are two different ways to update the script.
The first one is automatic. The script checks sometimes if there's a new version, and asks you if you want to update. If you want to update, it will open a new tab with the URL of the script.
The second one is manual. Open the details box, and click on "update", as you did. It then opens a new tab with the URL of the script. You just need to know the version of the installed script (open the detail box, and hover "?"), and the version of the new script.
Then, for those both ways, you need to replace the installed script.
The variable B_DISPLAYWARNING was replaced by display_warning (default = true).
The variable N_SECURITY_LEVEL was replaced by security_level (default = 3 => "Not sure").
You just have to search those 2 variables in the script, and set the value you want.
pegaspe73 # Friday, May 7, 2010 9:51:10 AM
Originally posted by PH`:
Thx for thorough clarification
Originally posted by PH`:
I have noticed the both parameters ("true" and value "3") are already set in the script. I exercised this feature googling "crack" and clicking on the red rated pages. It works perfectly.
The last thing about which I am not sure is to how to rate a page. Clicking on "Score this website" initiates iframe to open with WOT page but I can't find there where and how to score. There is only chart with rating but scoring buttons nowhere. I will have to more explore WOT page
PHcphr666 # Friday, May 7, 2010 8:34:25 PM
Once you're logged, you'll have a link "Edit my rating" just above the charts. Click this link, then just select a score on each chart. And save
pegaspe73 # Sunday, May 9, 2010 6:52:20 PM
Originally posted by PH`:
Done! Thx for guidance
PHcphr666 # Sunday, May 9, 2010 8:13:27 PM
pegaspe73 # Tuesday, May 11, 2010 11:12:05 AM
Originally posted by PH`:
Thx but it doesn't work for me. However as I have set in Opera to delete all cookies when Opera closes plus CCleaner cleans all cookies too I am not surprised that it didn't work. Anyhow it is not a problem to log on at first before rating. Definitely many thanks to you as you learned me a lot about your script
DaringineerQuadunit404 # Thursday, May 13, 2010 1:46:16 AM
PHcphr666 # Thursday, May 13, 2010 7:35:03 PM
I added StartPage (and other search engines) to the script.
Version 0.95 should be available through autoupdate.
estelsg # Sunday, May 16, 2010 8:19:41 AM
With v.0.945 all is OK:
http://img243.imageshack.us/img243/8905/screenshot008s.jpg
But with v.0.95 toolbar of google web isn´t in the first page:
http://img43.imageshack.us/img43/7664/screenshot009ax.jpg
Any solution to the problem? Thanks
PHcphr666 # Sunday, May 16, 2010 10:42:38 AM
You can follow this issue here and maybe this is gonna help you :
Go to opera:webstorage, search for each Google domains, click on each. Tell me what is the size or each, and click on Clear.
If it doesn't solve the problem, do this :
pegaspe73 # Sunday, May 16, 2010 4:04:07 PM
PHcphr666 # Sunday, May 16, 2010 7:44:02 PM
The new script is online, it corrects this bug.
pegaspe73 # Monday, May 17, 2010 7:09:00 AM
Originally posted by PH`:
Thx for quick action, now it works how it is supposed to including links on Google
estelsg # Monday, May 17, 2010 1:55:59 PM
One asking "enable : true" line is where says "localStorage :" ?
Thanks a lot again!
PHcphr666 # Monday, May 17, 2010 2:08:46 PM
scatbin # Monday, May 17, 2010 3:50:34 PM
pegaspe73 # Monday, May 17, 2010 4:11:00 PM
Originally posted by scatbin:
Yes, the auto complete bug confirmed.
PHcphr666 # Monday, May 17, 2010 6:52:31 PM
scatbin # Monday, May 17, 2010 9:23:36 PM
DaringineerQuadunit404 # Monday, May 17, 2010 10:35:55 PM
sampei007 # Sunday, May 23, 2010 2:05:24 PM
PHcphr666 # Monday, May 24, 2010 8:20:55 PM
DaringineerQuadunit404 # Tuesday, May 25, 2010 12:59:44 AM
DaringineerQuadunit404 # Tuesday, May 25, 2010 1:00:11 AM
PHcphr666 # Tuesday, May 25, 2010 7:51:58 AM
I'm working on it.
sampei007 # Tuesday, May 25, 2010 1:11:21 PM
OK,TH !!
Jam Flavajamflava # Saturday, June 12, 2010 11:48:41 AM
You have to type opera:config or about:config in the address bar
-> user prefs -> User JavaScript on HTTPS -> check this option
The WOT script is working fine, but I have a little problem with it. I've got double and sometimes qaudruple WOT-icons at the current site in stead of a single one.
Can someone help me with that?
laopa # Saturday, July 17, 2010 3:54:02 AM
Sorry for the newbieness. I installed the WOT for Opera JS recently and it has been working fine but just today (17/7/2010) it no longer seems to be functioning properly.
What I have now is one green WOT dot at the top right hand corner of each page, as in now. The same thing happens with searches - all I get is one green WOT dot in the same top right hand corner position.
What have I done?
Help.
laopa
SotroxpliDivobtech # Saturday, July 17, 2010 8:37:22 AM
Je sais pas si tu te souviens de mon poste
version,comme s'est chose fait je tien a te remercié
PHcphr666 # Saturday, July 17, 2010 8:58:00 AM
sampei007 # Saturday, July 17, 2010 1:10:02 PM
[img]http://www.pctunerup.com/up/results/_201007/20100717150536_Opera.JPG
Ciao.
Th.
PHcphr666 # Saturday, July 17, 2010 7:42:52 PM
The version I released yesterday checks all pages.
laopa # Sunday, July 18, 2010 12:14:08 AM
Quick update. If I use the Bing or Yahoo search engines I get WOT Dots with each returned URL, plus the one in the top right hand corner. If I use Google or Ask, I only get the green WOT dot on the top right hand corner there are no WOT dots on any of the returned URL's.
No idea ..... help.
laopa
laopa # Sunday, July 18, 2010 7:14:16 AM
Using 0.961 now and the green wot dot has disappeared from the top right hand corner of all the URL's I visit. However I still show no wot dots on the URLs returned as part of a search when using Google or Ask. Haven't tried other search engines apart from the four I mentioned. Bing and Yahoo work OK and now with no green wot dot in the upper right corner.
I will keep an eye on the blog to see when the Google/etc search engine "wot dotless" thing is fixed.
Thanks a lot for this great Opera "must have" extra.
Kind Regards
laopa
laopa # Sunday, July 18, 2010 7:40:56 AM
Just a thought but am I inadvertently removing your "persistent storage"
- "the script will search in local storage to see if results are available" -
by using system cleaning software like Glary Utilities and Ashampoo's WinOptimizer 2010 or even CCleaner? Possibly even misusing Opera Delete Private Data?
My fault if this is the problem, but how can I "protect" this "data or these results"?
If this all sounds like rubbish, it just proves how little I know about "techie things".
laopa
PHcphr666 # Sunday, July 18, 2010 11:03:37 AM
First, can you give me the precise URL of a Google search page (also for Ask) ?
About the localStorage, it's not a problem. If there's nothing in it, the script will ask WOT API.
laopa # Sunday, July 18, 2010 11:38:54 AM
Here are a few that do not show URL Wot Dots. Search Query was WOT for Opera.
http://www.google.com.au/search?client=opera&rls=en-GB&q=WOT+for+OPera&sourceid=opera&ie=utf-8&oe=utf-8
http://www.google.com.au/search?client=opera&rls=en-GB&q=WOT+for+OPera&sourceid=opera&ie=utf-8&oe=utf-8
http://forums.malwarebytes.org/index.php?showtopic=40788
http://www.ask.com/web?q=WOT%20for%20OPera&o=101451&l=dis
http://www.google.com.au/search?client=opera&rls=en-GB&q=WOT+for+OPera&sourceid=opera&ie=utf-8&oe=utf-8
None of these in my Google and Ask Searches show any WOT DOTS on the URL.
Here are some Bing and Yahoo that do show URL WOT Dots.
http://au.search.yahoo.com/search?p=WOT%20for%20OPera&ei=UTF-8&fr=opera2
http://www.bing.com/search?q=WOT+for+OPera&form=OPRTSD&pc=OPER
Hope it helps.
Sorry for my ignorance.
laopa