When you drag a folder into chrome (Im sure its pretty much the same in other browsers to), is it then possible to change how the contents of that folder is presented with css/html/javascript or other ways?
Ive read a bit about the html5 file API but im not sure if that applies to this?
Just thought it would be cool if you could, never seen anything written on the subject thou
You can change how
file://directories render in the browser using Chrome extensions. By using content scripts, you can inject CSS and JavaScript into any page, includingfile://pages. Put a simplemanifest.jsonfile in a new directory:Also put your CSS file, named
my_styles.css, in the same directory asmanifest.json.Finally, go to
chrome://extensions, enable “Developer Mode”, and import your new extension directory with the “Load unpacked extension…” button.