This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
liberator.plugins.sqliteReorg = (function(){ | |
const ss = Cc["@mozilla.org/storage/service;1"].getService(Ci.mozIStorageService); | |
function getSQLiteFiles(){ | |
let profDir = services.get("directory").get("ProfD", Ci.nsIFile); | |
let files = profDir.directoryEntries; | |
let reg = new RegExp("\\.sqlite$"); | |
while (files.hasMoreElements()){ | |
let file = files.getNext().QueryInterface(Ci.nsIFile); | |
if (file.isFile() && reg.test(file.leafName)){ | |
yield file; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSS 用 pubsubhubbub publish ブックマークレット *オレ仕様* |