C++ (Qt)if(_viewer->page()->currentFrame()->hitTestContent(pos).element().tagName() != "IMG") { ... }