Hi malware fighters and users of the Mozilla type browsers like FF or Flock.
GetElementsbyId etc. slows down considerably, to have a more flexible working and faster page loading save the following file as SelectableElementsTable.js inside the components folder of your browser.
The download link for my javascript file is here: http://www.4shared.com/file/18447141/4fd08f46/SelectableElementsTable.html
File size: 10835 bytes
MD5: 405c4b524f49c958c285bff1c58944c3
SHA1: c2cc25768d16a02d4db8b02e12cab4ae5dec5085
I got reports that the script makes the browser load pages considerably faster. But I like to get back info from you as well as how the script functions inside your FF or Flock browser.
Have you had any experience yourself or just reports ?
As a dial-up user anything to try and speed page loading would be welcome, however, there are methods to pre-load links in the background, etc. that I have found to actually slow the original page load.
So it would be nice if this helped dial-up users.
Probably what I found strange is zero hits on the file name in google, breaking it down to Selectable Elements Table, returns many hits but most that I saw didn’t seem related to this .js tool.
For the google results you have to wait a bit because it was my invention, it is the darned first time you spotted this code online, and the name of the beast is mine too.
I would not have put it here, if I did not experience considerable faster loading myself. After posting the code at madamemmastent those that installed it from there reported faster page upload by "truckloads"as they say. The code is existing code, not particularly written for inside the Mozilla browser, I adopted three parts of this code as I found it, made my personal adaptation and compilation, tested the result security-wise, uploaded it to virustotal with full negatve results. After I had these favourite reactions of others I published the download link here. If it is generally accepted it is a leap forward, because everybody that is truely honest admits that FF or Flock browsers are known not to be “top horses” in these realms as compared to other browsers.
The workings of it as I grasp it is that the browser keeps the elements selected occupied too long to make it any faster when it gets more intricate or the browser gets older, the SelectableElementsTable JavaScript file does what it says it must do: making a selection on the elements table. You can almost instantly feel the results…
If you have a contrary experience, report that back to me, but I will doubt that.
Then you have to download it in the folder where you have GetElementsById installed, you could also add GetElementsByClassname in that same folder. Put it in that particular folder, and it will work for you as well. Please report back to me how SelectableElementsTable.js works out for you.
I don’t have “GetElementsById” anywhere, I have one named “prefs.js” and “sessionstore.js” so I put SelectableElementsTable.js in that folder… :D. You saying I should make a blank file named “GetElementsByClassname” ?
I have copied it into my components folder now so we will see how it gets on and I will let you know.
It obviously won’t be a scientific test with stop watch, etc. just a gut feeling.
Interestingly what FastGame mention about his not having a components folder (and now no GetElementsById file), you said to put it in the same folder with GetElementsById, guess what, I don’t have GetElementsById in my components folder or any other folder for that matter ?
Ok everything seems faster even with cache cleared, I need to do more testing and make sure I’m not suffering placebo effect
Will report back later… 8)
[edit] maybe revise instructions to download both “SelectableElementsTable.js” and “GetElementsById” and install them in FF components folder. In Linux I installed them in /home/fastgame/.mozilla/firefox/6ys79xw6.default.
OK so now I have SelectableElementsTable.js and getElementsByClassName.js but not GetElementsById, is that essential to what we are trying to achieve here, e.g. speed up page loading ?
I only find the getElementsByClassName.js code (saved to file name given) at the link you gave, OK copied the code on the nwbox site for getElementsById.js
It would not hurt you if you had all three there. But SelectableElementsTable.js is making the difference.
And Bob3160, thank you for confirming, what was obvious to me before I shared it with others.
Just wanted to know if things will break without all three files. If I only have SelectableElementsTable.js in the folder I notice a speed increase. If I have all the files in the folder then I don’t think I notice much difference.
Why the small piece of code a.k.a. GetElementsByClassname. It was brought into Mozilla browsers quite recently, and helps you especially for those web developer’s creations with IE7 in mind, because that is the way that type browser handles it, where FF or Flock used GetElementsById mainly. I started to get interested in the workings of the Flock browser code and web browser security, after becoming one of the earlier adopters of the Flock browser. Like to analyze what comes along on the Burning Edge, new developments for FF 3.0 that are in the pipeline, and sometimes I come up with some personal contributions, but they are not always that successful as this one. It took me by surprise actually, so that was why I shared it with my friends here. I learned so much being active on this forum, you would not believe,
Ok polonus I put all 3 files in folder, it truly does seem to work rather well. I’m on dialup so of coarse the images won’t load faster but everything else is fast and I like fast…I’m redlining ;D
I’m off to tell the world and help make you more famous 8)
There you can see what it supports, and what is it’s hierarchy outlay.
getElementById property
Object document
Description Method enabling any page element to be referenced by its ‘id’ attribute value
Example code document.getElementById(“message”).style.color=“red”;
Compatibility W3C-friendly browsers
Thanks for sharing this Polonus im impressed with how it works and congratulate you for your efforts.
will this need to be reloaded when FF gets updated ?
Also how does running ABP and scipt block affect it , as I run both at the moment im wondering if a different configuration might work better ?