zoukankan      html  css  js  c++  java
  • openDatabase() chrome vivaldi Stylish

    • located at /Users/ruili/Library/Application Support/Vivaldi/Default/databases/
    • Databases.db contains all the db created or opened by using openDatabase()
    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

    1. check if there is a stylish name in Databases.db under databases folder
    2. 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

  • 相关阅读:
    cadence中画焊盘注意事项
    频率带宽解释
    一种RC滤波电路的验证
    24L01-2.4G无线传输模块调节记录
    51中xdata,idata,data,pdata的区别
    调试24L01经验总结
    将scl分频
    I2C详细介绍
    汽车电源系统概述
    PCB命名规则-allegro
  • 原文地址:https://www.cnblogs.com/raybiolee/p/5869541.html
Copyright © 2011-2022 走看看