Local_Storage_Clear

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

ผู้เขียน
Delphi Turbo
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
23
คะแนน
0 0 0
เวอร์ชัน
2015.11.16a
สร้างเมื่อ
14-11-2015
อัปเดตเมื่อ
16-11-2015
Size
562 ไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

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

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

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

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