Return to Snippet

Revision: 64553
at August 22, 2013 02:17 by ef


Initial Code
if (!window.location.pathname.match(/^\/path/)) {
    // code
}

Initial URL

                                

Initial Description
Executes code only for locations other than specified.

Initial Title
Run given code only for other paths

Initial Tags

                                

Initial Language
JavaScript