Need to know the most essential JS and CSS files for a Drupal 7 page I am creating a module that has a page that is intended to be a viewer for a certain kind of content. The content itself is a Drupal Book viewer meant to behave like an epub reader. Basically I want this page to be a stand-alone, theme-independent, full-screen "player." 

To achieve this effect, I don't want to load the usual long list of CSS and JS files, including those from the current theme as well as any from modules that I am not interested in using. I want the page to load only those JS and CSS files that are required for basic Drupal functionality -- e.g. I want Behaviors to work and a few other things, such as overlays. 

My question is, what are considered to be the essential JS and CSS files? I realize I can find a way to just dump a list of all files by module. But I am looking for information on importance. I realize this is a little vague and that there are probably a lot of answers that begin with "It depends ..." However, there must be some items that are more fundamental than others.

I am working in Drupal 7 and using hook_js_alter() and hook_css_alter() to remove (unset) items, and a preprocess function to add items.
You can achieve this by making your module load your own html.tpl.php and in that version of the html template, you simply remove references to styles and scripts.

&lt;?php print $styles; ?&gt;
&lt;?php print $scripts; ?&gt;


For a viewer, you can probably do without the reams of CSS cruft that is loaded by default and add your own bare bones css &amp; js either through a hook or by including it in your custom html template.

&lt;?php print $path_to_your_reader_styles; ?&gt;
&lt;?php print $path_to_your_reader_scripts; ?&gt;