That statement doesn't make sense. A <div> is a piece of an HTML page,
and you cannot pick which bytes of a single document to load, and which not.
> ... Just generically for any site. I actually
> have several that I want to stop extraneous content from loading on so
> that it doesn't slow up the browser.
You also mentioned javascript. If you actually want to block specific
_resources_ from loading, rather than a piece of one, than you want
AdBlock, or one of its many derivatives. A separate extension.
> So, if the script is in-line in the web page you can't do anything
> about it.
Actually you can, at least in a number of situations:
1) The simplest approach is to disable javascript either globaly in
Firefox or specifically in this site by means of the NoScript[1]
extension.
2) A more sophisticated way is via CAPS [2][3][4]. In this case you
can prevent function execution (among other things) on a per-function
and per-site basis.
3) An in-line script which is not being called through a function call
can in general still be disabled via CAPS, but it normally requires
more work.
An in-line script with does not fall in any of these categories is
unlikely to contain more than two or three lines of code and should
not lead to any performance problem.
[1] https://addons.mozilla.org/en-US/firefox/addon/722
[2] http://www.mozilla.org/projects/security/components/ConfigPolicy.html
[3] http://kb.mozillazine.org/Security_Policies
[4] http://kb.mozillazine.org/Allowing_only_certain_sites_to_use_JavaScript