mpoer Posted January 17, 2006 Share Posted January 17, 2006 Web Designers, hear me: One of the coolest features of the Opera Web Browser is the right click>Validate function, correct? Well, I’ve devised a way to add that functionality to any other browser that supports Javascript.Simply bookmark the following link(s):Validate HTML/XHTMLjava script:location.href='http://validator.w3.org/check?uri='+escape(location.href);Validate CSSjava script: location.href='http://jigsaw.w3.org/css-validator/validator?uri='+escape(location.href);How cool is that? It’s just a little javascript to redirect the browser to the validation page, and it takes your current page’s URI with it and adds it to the validator’s URI so it works. I got it from Wordpress’ “Blog This” button.I thought this might be pretty useful if you're developing and you don't want to add the "Valid HTML!" button/link to your site. I couldn't get the links to work quite right through the BBCode (since it's javascript) so just make a bookmark with that javascript titled the corresponding title.oh yeah, one more thing. this'll work for any site on the internet. If you're on a website and you want to see it's validation just click the button. also, make sure that you use it when you're on your server, as it won't work for a file on your computer as the file cannot be accessed from W3C's validatorI orignally blogged this here, so leave me some comments on my blog if you like this http://thinktank.ichyware.net:81/~matthew/wordpress/?p=18 Link to comment Share on other sites More sharing options...
Eric Posted January 18, 2006 Share Posted January 18, 2006 I use the Web Developer extension in Firefox. Link to comment Share on other sites More sharing options...
mpoer Posted January 18, 2006 Author Share Posted January 18, 2006 Wow, i guess I need to keep up to date on those cool firefox plugins. that looks handy.Well, this is still cool if you don't want the plugin or if you're running IE.yuck! i made something for IE! Link to comment Share on other sites More sharing options...
aspnetguy Posted January 18, 2006 Share Posted January 18, 2006 IE may be gross but 85% of users still use it! Link to comment Share on other sites More sharing options...
mpoer Posted January 19, 2006 Author Share Posted January 19, 2006 Wow. I've installed the Web Developer extension and this thing is very promising.It looks like it is turning firefox into an html+xhtml+css editor. I'm very impressed. Link to comment Share on other sites More sharing options...
Eric Posted January 22, 2006 Share Posted January 22, 2006 :)Yep, Firefox has the coolest extensions :DYou should have seen that extension in its original form, half the stuff it has now :)I remember when they first added "validate local __" to the Tools list, originally you could only validate files on the internet :)And they've improved on some other stuff since the original release too Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now