chrome function call