Remove all session facebook with javacript

If you really want to refesh your session on Facebook, you can follow this entry: Remove all session facebook with javacript

How to Remove all session Facebook?

Lzdev will show you the way to do it.

Paste this code to F12 Console

javascript: void(function() {
    function deleteAllCookiesFromCurrentDomain() {
        var cookies = document.cookie.split("; ");
        for (var c = 0; c < cookies.length; c++) {
            var d = window.location.hostname.split(".");
            while (d.length > 0) {
                var cookieBase = encodeURIComponent(cookies[c].split(";")[0].split("=")[0]) + '=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=' + d.join('.') + ' ;path=';
                var p = location.pathname.split('/');
                document.cookie = cookieBase + '/';
                while (p.length > 0) {
                    document.cookie = cookieBase + p.join('/');
                    p.pop();
                };
                d.shift();
            }
        }
    }
    deleteAllCookiesFromCurrentDomain();
    location.href = 'https://facebook.com';
})();

It is done. Lzdev always ready to support. Goodluck to you! Have fun with javacript !