Giter Site home page Giter Site logo

antiquated's Introduction

Antiquated Inspector

Inspect CSS in older browsers

What? Why?

I do a lot of IE8 development. For some reason, there don't seem to be decent inspector tools out there (that I have found anyway). Because of this and the continued prevalence of IE8/9 in the wild, I decided to create something that would help me day to day. If it helps you too, peachy. If not, peachless. Either way, I use this even in Chrome because it is faster to hold SHIFT than to right-click Inspect or remember the keyboard shortcut. Hopefully you are as lazy as I am. It is what makes a programmer good. Not wanting to do extra work when there is a computer to do it for us.

Getting Started

Include the antiquated.js in your page, preferrably in the head tags. Feel free to copy the code below into your page. NOTE: Antiquated requires jQuery 1.2.6+. If jQuery isn't present in your page, it will include it for you automatically.

<head>

...
	<script type="text/javascript" src="path/to/antiquated.js"></script>
...

</head>

Usage

Hold down SHIFT, and mouseover an element you want to inspect. You'll see the very blue inspector show up near your mouse. You can let go of SHIFT, and the inspector will sit there patiently like a good dog so you can copy a selector or ponder deeper with furrowed brow what you've learned. Works well in IE8 and 9. And modern browsers like Chrome. Enjoy...hopefully.

Changing that horrible color...

Some people will not appreciate my insane love for #0094FF (cerulean blue). If so, you can go into the antiquated.js file and change the hex code if you like. No harm no foul. Don't expect the Smurfs to like you anymore.

Dev Environments

You can and should edit the list of allowed environments at the top of the antiquated.js file, to match what you use for dev. Localhost and my preferred localdev.com are in there to begin with, but you can remove those and add your own at will.

Improvements

If I have overlooked something obvious, or should add something less obvious, and you think of it, by all means, let me know! You can email me at ryan at antiquated.in, or simply submit a pull request with your ideas. Thanks!

antiquated's People

Contributors

he-ryan avatar rncrtr avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.