From cybernetnews… you can make it so websites can’t override the password saving feature in Firefox. Edit the file nsLoginManager.js, and modify line 770 to return false all the time.
Tag: JavaScript
OSX + JavaScript + Multiple Monitors
As I posted a while back, there’s no real definitive help for doing javascript with multiple monitors. Now that I’m on Mac OSX, I thought I’d update with the info for that platform. Firefox sees various values differently on the main screen and on the secondary screen… here is a quick table with the info… Continue reading OSX + JavaScript + Multiple Monitors
Javascript on Multiple Monitor Systems
I have a preference to keep my browser windows a certain width (1024 pixels for various reasons), flush against the right side of my monitor display, and taking the full height of the screen. To do this, I have the following javascript on my start page: resizeTo( 1024, screen.availHeight ); moveTo( (screen.availWidth – 1024), 0… Continue reading Javascript on Multiple Monitor Systems
JavaScript Cookbook
No, not the O’Reily book, this is a good website that has a lot of JavaScript code, in case you find yourself in need… http://www.java2s.com/Code/JavaScript/CatalogJavaScript.htm As you might imagine, there are examples for more things in the entire website… http://java2s.com/
Client Side Collapse/Expand
Want to do it directly with javascript? Here’s an example, including changing a collapse/expand button, that I snagged from somewhere…
Block Enter Key Submit
Sometimes you want a form to submit when the enter key is pressed, most times you don’t… here’s the code to block it from happening…
Protected: IE6 & Radio Buttons
There is no excerpt because this is a protected post.