The FRONTBROWSERISCOMPLETE() function (v8+) returns whether active tab of the front browser (the most recently front web browser of Safari or Google Chrome).