LocalStorage Clear

Clear your browser for Local Storage

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         LocalStorage Clear
// @namespace    
// @version      0.4
// @description  Clear your browser for Local Storage
// @author       zzhicong
// @match        *://m.wayforcloud.com/*

// @grant        none
// ==/UserScript==
function clearAllCookie() {
        var keys = document.cookie.match(/[^ =;]+(?=\=)/g);
        if ( keys ) {
            for(var i = keys.length; i--;)
                document.cookie = keys[i] + '=0;expires=' + new Date(0).toUTCString();
        }
    }
if(window.localStorage) {
    var PageReload = function reload(){
        window.location.reload();
    };
    var n=parseInt(2*Math.random());
    setInterval (PageReload,1000*60*n);
    clearAllCookie();
    localStorage.clear();
} else {
    alert('local storage does not exist in your browser');
}