Local_Storage_Clear

LOCAL STRAGE読み込みエラー発生時にクリア処理(プロフィールのページを開けば作動)

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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!)

Autor
Delphi Turbo
Installationen heute
0
Installationen gesamt
23
Bewertungen
0 0 0
Version
2015.11.16a
Erstellt am
14.11.2015
Letzte Aktualisierung
16.11.2015
Größe
562 Bytes
Lizenz
n/a
Wird angewandt auf

bro3_map_toolは扱うデータの量が膨大なためlocalStorageを利用していて
遠征などツールを頻繁に使用していると地図のデータがlocalStorageへどんどん蓄積され一定の容量以上を記録しようとすると
"NS_ERROR_DOM_QUOTA_REACHED"の例外が発生しエラーメッセージが出てツールが使用できなくなるため
localStorageの内容をクリアする簡単なスクリプトを作りました。

使用方法はユーザースクリプトの管理画面で本スクリプトを"有効化"にしてプロフィールのページを開けばスクリプトが作動し
使用後は"無効化"にしてください。

エラー発生時に限らず新しいゲームスタート時に使えば地図が一瞬で初期化されます

※本スクリプトは FireFox 専用のスクリプトです