WebKit2.HitTestResult.prototype.context_is_link

function context_is_link(): Boolean {
    // Gjs wrapper for webkit_hit_test_result_context_is_link()
}
  

Gets whether WebKit2.HitTestResultContext.link flag is present in WebKit2.HitTestResult.context.

Returns

true if there's a link element in the coordinates of the Hit Test, or false otherwise