save the goddamn signing key

save the signing key on FIMFiction

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
skipferret
今日安裝
0
安裝總數
12
評價
1 0 0
版本
2
建立日期
2015-02-25
更新日期
2015-03-01
尺寸
1.6 KB
授權條款
未知
腳本執行於

FIMFiction.net follows the wonderful practice of throwing away all the hard work and effort programmers have sweated over for decades and reimplementing everything in javascript because that's what the web browser companies tell you is safe. So they decided to implement public key cryptography allowing you to sign forms you post so they can verify it's not someone hacking your account. Except they could do that easily with session cookies instead and signing offers no additional security at all since you can't freaking export cryptography.

Then they delete the signing key every time you open the site in a new window.

The only way to get their javascript to regenerate the signing key is a 7 click process of logging out and logging back in again, which you have to do in order to post any comments, despite still being logged in. This script will instead copy the signing key to several safer places, so that when FIMFiction.net tells you to run code to delete the signing key, and you do so blithely and blindly, because running remote code blindly is a stupid idea and webmasters that force us to do that should be dragged out in the street and loved tenderly, then this script will restore your signing key and not require you to laborously login and logout every single time you want to post a new comment.