nuriskandarzulkarnaen / customizeyourweb

Automatically exported from code.google.com/p/customizeyourweb
0 stars 0 forks source link

Remove HTML elements before they are loaded #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure if this is at all possible, but it would be a real improvement.

Steps do reproduce:
1. Create a script for any webpage with rules to remove HTML elements,
preventing them from being displayed.
2. Reload the webpage.

While the Remove action is very nice, it seems to take action only AFTER
all the elements in the webpage are loaded; this includes images, flash
animation or any embeded media. For example, if there is a rule to remove
the following tag:

tag=IMG src="/images/thumb3_298360_1.jpg"

... the image "thumb3_298360_1.jpg" will only be removed after it has been
completely downloaded (in some cases, it is possible to catch a glimpse and
actually see the image moments before it's removed).

In the case of removing actions, performance would certainly increase if
this could be done before images and emebded media are loaded. This would
give us a chance to create scripts that can optimize loading of heavy
webpages, saving bandwidth before it's wasted downloading elements of the
page that won't be displayed anyway :)

What version of the product are you using? On what operating system?
Version 0.4.1.2
Windows 7 and Windows XP Pro.
Firefox 3.5.5

Original issue reported on code.google.com by juliohm on 15 Dec 2009 at 2:19

GoogleCodeExporter commented 9 years ago
Please reclassify as Improvement, instead of Defect. I wasn't able to do this 
when
creating the issue.

Original comment by juliohm on 15 Dec 2009 at 2:20

GoogleCodeExporter commented 9 years ago
I would also like this feature very much.
CYW is great for customizing clean websites, but that's only one part of what 
it could 
do.

It could customize and optimize pages to make them very light for mobile 
platforms as 
well.

Original comment by mne...@gmail.com on 17 Dec 2009 at 7:46

GoogleCodeExporter commented 9 years ago
Changed to enhancement-request.

Original comment by Rudolf....@gmail.com on 19 Dec 2009 at 12:57