I’m reading REST API Design Rulebook. On page 12 the author says “two different URIs map to two different resources”, but that’s wrong, many URIs can refer to the same resource, with and without respect to time.
Tag Archives: uri
Greasemonkey and the file: URI scheme
Today I learned about extensions.greasemonkey.fileIsGreaseable… a way to get Greasemonkey to process file-system documents… for scripts to work with file:// paths, you need to open about:config and set extensions.greasemonkey.fileIsGreaseable to true.
How to open file links in Firefox 1.5 and above
Found some instructions about How to open file links in Firefox 1.5 and above and I’m going to try it out just as soon as I can reset my browser.
Basically you add something like the following to your user.js file which is in C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\[Profile]\user.js.
user_pref("capability.policy.policynames", "localfilelinks"); user_pref("capability.policy.localfilelinks.sites", "http://www.example.com"); user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
view-source URI scheme
Today I learned about the view-source URI scheme. Check it out!
URI scheme
Reading about URI schemes today.
The UriSchemes page at the W3C suggests a few ways to add support for URL schemes. Maybe I could get file: URLs doing something suitable for SMB network resources in Firefox.
Internet explorer support for file URIs
The URI file://bender-xp/C$/ works in an anchor tag in IE8 to open the \\bender-xp\C$ file share on my network. In this case bender-xp was the name of my local machine but it works for remote file shares too (I tested it to a Samba share on another box).
Unfortunately my version of Firefox (version 9.0.1) doesn’t support this.
Data URI scheme
Been learning about the Data URI scheme. That’s what you use to embed image data in HTML or CSS.