Add Window Load Event Without jQuery

Let’s say that you would like to trigger you code after the page is done loading. Easy, just use jQuery to attach a listener to the ready event (e.g. $(function() { ….}); OR $(document).ready(function() {…}) ). But what if jQuery isn’t loaded yet? Well, here is something that you can try.


Tracking Pixel Code

Find out if a domain name exists

You can user CURL to request a page and evaluate the response to determine if the page exists.

htaccess: set and use environment variables inside your htaccess

A while ago I learned how to set a variable in my .htaccess that can later on be user in PHP:



Something that I could not figure out was how to use the defined variable inside the htaccess. While searching for CORS implementation, I ran across this post on

There there is the answer to my question, how to set and get an environment variable in htaccess: