openDatabase() chrome vivaldi Stylish
- located at
/Users/ruili/Library/Application Support/Vivaldi/Default/databases/
Databases.db
contains all the db created or opened by usingopenDatabase()
sqlite3 Databases.db
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
Databases meta
sqlite> select * from Databases;
1|chrome-extension_fjnbnpbmkenffdnngjfgmeleoegfcffe_0|stylish|Stylish Styles|5242880
4|chrome-extension_dhdgffkkebhmkfjojejmpbldmpobfkfo_0|tmStorage|TM Storage|31457280
10|https_passport.weibo.com_0|ufp||1024
11|https_bbs.fudan.edu.cn_0|PersistJS Test|Persistent database test.|204800
12|https_bbs.fudan.edu.cn_0|https___bbs_fudan_edu_cn_bbs|Persistent storage for https___bbs_fudan_edu_cn_bbs|204800
for example, the Stylish
extension create or open a database named stylish
in storage-websql.js
file
the steps to find the db is
- check if there is a
stylish
name inDatabases.db
underdatabases\
folder - read the db located at
./origin/id
as specified in the record
What I find is that the styles doesn't store in the db, for no matter how many styles I specified, the size of the db file is always 4096 bytes and the modification time of the file is always the creation time.
I find the the storage file is actually located under IndexedDB/chrome-extension_fjnbnpbmkenffdnngjfgmeleoegfcffe_0
folder
the file with suffix .log
is the file you want
I have answered the question at https://forum.userstyles.org/discussion/31168/where-are-user-styles-stored-on-chrome#latest
天和地是灰色的,砖和瓦也是灰色的。临街的墙几经风化,几经修补,刷过黑灰、白灰,涂过红漆,书写过不同内容的标语,又终于被覆盖;风雨再把覆盖层胡乱地揭下来,形成一片斑驳的杂色,融汇于灰色的笼罩之中。路旁的树木苍黑,瓦楞中芳草青青。
远处,炊烟缭绕。迷蒙的曙色中,矗立着...