WebKit2.BackForwardList.prototype.get_forward_list_with_limit

function get_forward_list_with_limit(limit: Number(guint)): Array(WebKit2.BackForwardListItem) {
    // Gjs wrapper for webkit_back_forward_list_get_forward_list_with_limit()
}
  
limit

the number of items to retrieve

Returns

a GLib.List of items following the current item limited by limit.