I often write small utilities for myself, usually in JScript. For example, I've been working with native code where I often need to look at VARIANT values, and I wanted a little utility that would crack down the variant type field into a human-readable value, including the masking values for arrays and such.
To build the UI for the utility, I typically use a bit of HTML. Sometimes I'll put this in a .hta file to build an HTML Application, but this creates a separate window, and sometimes I'd prefer it if this were in a regular tab inside my browser.
The problem you can run into when doing this is that the golden bar shows up in Internet Explorer, with the following message:
To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click here for options...
The bar is necessary because the script would be running from the local machine, which is a high-trust zone. You can click and enable scripts when you know it's safe, but it's a bit annoying to have to do this every time the page comes up.
Instead of clicking every time, you can ask to get Internet permissions, so the bar isn't necessary anymore. You do this by inserting the Mark of the Web at the top of your file, like so. No more bars for your file!
<!-- saved from url=(0014)about:internet -->