Detecting the current page global variables