androidek / Skip Facebook warn page - automatically go to the desired website

// ==UserScript==
// @name         Skip Facebook warn page - automatically go to the desired website
// @namespace    http://tampermonkey.net/
// @version      1.1.5
// @description  Automatically click the button on Facebook Warn website to go to the link you clicked: Leaving Facebook We're just checking that you want to follow a link to this website: https://www.example.com/
// @author       Tomasz Pludowski
// @match        https://www.facebook.com/flx/warn/*
// @license      MIT
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==

$(function(){
    document.getElementsByClassName("_3-8_ img sp_Dddgaah5Z07_2x sx_91ac4f")[0].click();
});