Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
|
|
|
yes i used yours and added //Thanks to JoeSimmons coz i noticed too |
|
|
but hiding the images doesn't increase load time. |
|
|
good then this is better |
|
|
also, I'm not sure if this would be as effective, but you can technically just insert the CSS rule: img {display:none!important}
|
|
|
var di=document.images;
for(var i=0;i<di.length;i++) {di[i].parentNode.removeChild(di[i]);}
|
|
|
thanks for the tip
|
|
|
I say do:
// ==UserScript== // @name Remove Images From Any Site // @namespace ~dkhal~ // @copyright dkhal // ==/UserScript== for(i=0;i<document.images.length;i++) document.images[i].src="" since the |
|
|
looks interesting ima try |
|
|
thanks |
|
|
Should re-write it like this...
n = document.evaluate("//img", document, null, 6, null);
for(i=0; i<n.snapshotLength; i++){
n.snapshotItem(i).src="";
}
|
|
|
fixed it
|
|
|
This script is inefficient as hell. It calls getElementsByTagName() three times for every image on the page although only one call is necessary. |
|
|
If you have any script requests please post them here or send them to me by email.
|
