Button in same page can be autoclickable using trigger('click'). But how can I apply it to an external url?