html - Open a local file in browser by just typing a keyword mapped to the file's address -


I have spent a great time but could not find any answer. Probably not using the right words to search that is not helping. This is what I want to do:

1. I open a browser (especially interested in IE8 if someone wants to know)
2. I type 'games ', and nothing else, in the address bar and press Enter. 3. The HTML file Game.html , which is present on my desktop, opens in my browser.

Can it be done? if so, how?

I believe that with a heavy shell-driven-registry-manipulation, maybe you want to chew (I may be wrong, you can be happy in C ++ ...)

< / P>

DEFAULT] BASEURL = url [{000214A0-0000-0000-C000-000000000046}] Prop3 = 19,11 [InternetShortcut] URL = file: \\\ C: \ path \ to \ game.html IDLIIS = Show command = 3 mark index = 1 IconFile = C: \ WINDOWS \ SYSTEM \ url.dll HotKey = 1601 [MonitoredItem] PreviewSize = 320x240 IsLivePreview = false

Save it with the given file name:

  C: \ user \ [user name] \ favorites \ links   

and then type in the address bar and show in game.url below the favorites, below I know the list given, what you are not quite later, it is closed and easy , and ( bonus! ) I believe that you Url can specify a hotkey in the file and the hotkey to open the bus (if that floats your boat). I could not find a big reference to the .url filetype syntax, but it is there.

From here it becomes difficult to include one (from open and edit from the contact menu), or perhaps a protocol handler ( ?) Or a customer can set up a search term, it can look like a simple "address" bar, but especially in Internet Explorer, it handles all kinds of inputs, so it's a little bit of a loaded question Is that you the word file all of them Without navigating

Chrome, however, manipulating with the content script would probably be a little easier, so I look there first.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -