-------------------------------------------------------------------
-- uid:
-- unique id of app, e.g. app_gallery, app_music etc.
-- app_args:
-- default arguments for app
-- name:
-- name for app which is not null
-- type:
-- app type, 0: build-in, 1: page-clipping
-------------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `metadata` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`key` VARCHAR(20) NOT NULL,
`value` VARCHAR(20) NOT NULL,
UNIQUE (`key`)
);
CREATE TABLE IF NOT EXISTS `apps` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`uid` VARCHAR(38) NOT NULL,
`name` VARCHAR(128) NOT NULL,
`type` INTEGER DEFAULT 0,
`description` VARCHAR(1024),
`bookmark` INTEGER DEFAULT 0,
`icon_url` VARCHAR(1024) DEFAULT NULL,
`create_time` INTEGER,
`app_args` TEXT DEFAULT NULL,
`is_local` INTEGER DEFAULT 0,
`position` INTEGER DEFAULT 999,
`icon_data_url` TEXT,
`visits` INTEGER DEFAULT 0,
`small_icon` VARCHAR(1024) DEFAULT NULL,
UNIQUE (`uid`)
);
CREATE TABLE IF NOT EXISTS `app_info` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`app_id` INTEGER,
`app_args` VARCHAR(1024) DEFAULT NULL,
`screen_x` INTEGER DEFAULT 0,
`screen_y` INTEGER DEFAULT 0,
`auto_start` INTEGER DEFAULT 0,
`last_opened` INTEGER,
`last_modified` INTEGER,
`app_status` TEXT DEFAULT NULL,
`thumbnail` TEXT DEFAULT NULL,
FOREIGN KEY (`app_id`) REFERENCES apps(`id`) ON UPDATE CASCADE ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS `app_intent` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`action` VARCHAR(38) NOT NULL,
`message` VARCHAR(20) NOT NULL,
`type` VARCHAR(50) NOT NULL,
`label` VARCHAR(50) NOT NULL,
`labelStr` VARCHAR(50) NOT NULL,
`icon` TEXT,
`sort_key` INTEGER,
UNIQUE (`type`, `sort_key`),
FOREIGN KEY (`action`) REFERENCES apps(`uid`) ON UPDATE CASCADE ON DELETE CASCADE
);
-- Should be the same as 'extensions.livemargins@mozillaonline.com.sqlversion'
INSERT OR REPLACE INTO `metadata` (`key`, `value`) VALUES ('version', 4);
-- gallery
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_gallery', '图片收藏', '', 0, '通过拖拽的方式将图片收藏至本地,方便快捷!', 1, 'chrome://livemargins/skin/apps/gallery/pic-icon.png', 'chrome://livemargins/skin/images/icons/gallery.png', strftime('%s','now') * 1000, 1);
-- Music
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_music', '新浪音乐', '', 0, '新浪音乐播放盒,搜罗天下最美的音乐!还可以在火狐主页上直接点击音乐播放!', 1, 'chrome://livemargins/skin/apps/music/music-icon.png', 'chrome://livemargins/skin/images/icons/sina.ico', strftime('%s','now') * 1000, 2);
-- Radio
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_radio', '豆瓣电台', '{"location": "http://api.app.mozilla.com.cn/center/uid/app_radio/", "width": 420, "height": 186}', 2, '豆瓣音乐电台,收听最优美的音乐', 1, 'http://api.app.mozilla.com.cn/static/images/appcenter/douban-radio.jpg', 'chrome://livemargins/skin/images/icons/douban.ico', strftime('%s','now') * 1000, 3);
-- Search
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_search', '多重搜索', '', 0, '多重搜索,拖拽选中文字,即可得到多个垂直搜索引擎的结果!', 1, 'chrome://livemargins/skin/apps/search/search-icon.png', 'chrome://livemargins/skin/images/icons/search.png', strftime('%s','now') * 1000, 4);
-- Stock
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_stock', '和讯财经', '{"location": "http://api.app.mozilla.com.cn/center/uid/app_stock/", "width": 297, "height": 383}', 2, '提供股票、基金等在线实时报价', 1, 'http://api.app.mozilla.com.cn/static/images/appcenter/icons/hexun/logo.png', 'chrome://livemargins/skin/images/icons/stock.png', strftime('%s','now') * 1000, 5);
-- TV
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_tv', '东方宽频', '{"location": "http://api.app.mozilla.com.cn/center/uid/app_tv/", "width": 320, "height": 270}', 2, '在线收看电视节目', 1, 'http://api.app.mozilla.com.cn/static/images/appcenter/app-tv.png', 'chrome://livemargins/skin/images/icons/tv.png', strftime('%s','now') * 1000, 7);
-- Weather
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_weather', '天气预报', '', 0, '实时查看本地天气', 1, 'chrome://livemargins/skin/apps/weather/weather-icon.png', 'chrome://livemargins/skin/images/icons/weather.png', strftime('%s','now') * 1000, 8);
-- Focus
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_focus', '焦点新闻', '{"location": "http://api.app.mozilla.com.cn/center/uid/app_focus/", "width": 310, "height": 546}', 2, '焦点新闻', 1, 'http://api.app.mozilla.com.cn/static/images/appcenter/icons/ff/focus.png', 'chrome://livemargins/skin/images/icons/focus.png', strftime('%s','now') * 1000, 9);
-- Taobao
INSERT INTO `apps`
(`uid`, `name`, `app_args`, `type`, `description`, `bookmark`, `icon_url`, `small_icon`, `create_time`, `position`)
VALUES
('app_shopping', '时尚消费', '{"location": "http://api.app.mozilla.com.cn/center/uid/app_shopping/", "width": 640, "height": 394}', 2, '时尚消费', 1, 'http://api.app.mozilla.com.cn/static/images/appcenter/icons/ff/shopping.png', 'chrome://livemargins/skin/images/icons/shopping.png', strftime('%s','now') * 1000, 10);
-- Intents
-- image/*
INSERT INTO `app_intent`
(`action`, `message`, `type`, `label` , `labelStr`, `icon`, `sort_key`)
VALUES
('app_gallery', 'collect', 'image/*', 'Save to Gallery', 'intent.gallery.label', 'chrome://livemargins/skin/images/icons/gallery.png', 0);
INSERT INTO `app_intent`
(`action`, `message`, `type`, `label` , `labelStr`, `icon`, `sort_key`)
VALUES
('{dcb0d1b8-7a02-41c3-9fc8-46b2405480b9}', 'edit', 'image/*', 'Edit using XiuXiu', 'intent.xiuxiu.label', 'chrome://livemargins/skin/images/icons/xiuxiu.ico', 1);
INSERT INTO `app_intent`
(`action`, `message`, `type`, `label` , `labelStr`, `icon`, `sort_key`)
VALUES
('{72600762-7580-43d7-a991-7d05c3eed5ed}', 'note', 'image/*', 'Save to Maiku', 'intent.maiku.label', 'chrome://livemargins/skin/images/icons/maiku.png', 2);
-- text/*
INSERT INTO `app_intent`
(`action`, `message`, `type`, `label` , `labelStr`, `icon`, `sort_key`)
VALUES
('app_search', 'search', 'text/*', 'Search using MultiSearch', 'intent.multi_search.label', 'chrome://livemargins/skin/images/icons/search.png', 0);
INSERT INTO `app_intent`
(`action`, `message`, `type`, `label` , `labelStr`, `icon`, `sort_key`)
VALUES
('{a09cf36d-abbc-48ed-b0cc-77c650eb164e}', 'translate', 'text/*', 'Translate using Youdao', 'intent.youdao.label', 'chrome://livemargins/skin/images/icons/youdao.gif', 1);
INSERT INTO `app_intent`
(`action`, `message`, `type`, `label` , `labelStr`, `icon`, `sort_key`)
VALUES
('{72600762-7580-43d7-a991-7d05c3eed5ed}', 'note', 'text/*', 'Save to Maiku', 'intent.maiku.label', 'chrome://livemargins/skin/images/icons/maiku.png', 2);
INSERT INTO `app_intent`
(`action`, `message`, `type`, `label` , `labelStr`, `i
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Mozilla Firefox_18.0.2.rar 超好用的火狐版本,几年来,从搜狗、360,再到谷歌火狐,各种浏览器的不少版本都用过了,最终还是喜欢这个版本。 而且性能表现不错!20个页面才占用630M内存,15%CPU,而且一点卡顿的感觉都没有(当然网速给力也是原因之一)。 此外,自带的4*6九宫格,也是最爱!虽然高版本的tab插件也可以做到,但是个人使用的经验(或许是因为我经验不足)来看,还是这个18.0版本的好用! 求赐1分,万分感谢!
资源推荐
资源详情
资源评论
收起资源包目录
Mozilla Firefox_18.0.2.rar (591个子文件)
softokn3.chk 899B
freebl3.chk 899B
ntab.css 19KB
search.css 16KB
apps.css 8KB
main.css 7KB
grabpic.css 5KB
widget-base-basic.css 4KB
overlay.css 3KB
intent_bubble.css 3KB
monitor-base.css 2KB
widgets.css 2KB
coba.css 2KB
overlay.css 2KB
weather.css 1KB
weatherWidget.css 1KB
overlay-win.css 1KB
searchWidget.css 1KB
overlay.css 878B
overlay.css 857B
ce-Toolbar.css 755B
base.css 738B
overlay.css 614B
undo_closetab.css 548B
style.css 485B
options.css 481B
monitor-linux.css 480B
undo_closetab.css 375B
undo_closetab.css 363B
overlay.css 312B
player.css 307B
taobaoWidget.css 291B
widget-base.css 255B
monitor-mac.css 226B
monitor.css 226B
overlay.css 222B
widget-base-linux.css 195B
videoPlayer.css 171B
cm_menu_maintenance.css 155B
cm_menu_maintenance.css 146B
cm_menu_maintenance.css 146B
overlay.css 129B
container.css 111B
option.css 105B
overlay.css 96B
widget-base-mac.css 79B
overlay.css 60B
widget-linux-mac.css 35B
xul.dll 16.98MB
mozjs.dll 2.88MB
gkmedias.dll 2.72MB
D3DCompiler_43.dll 2.01MB
d3dx9_43.dll 1.91MB
npcoba32.dll 1.69MB
mozsqlite3.dll 795KB
msvcr100.dll 752KB
nss3.dll 627KB
libGLESv2.dll 467KB
msvcp100.dll 411KB
nssckbi.dll 366KB
freebl3.dll 271KB
browsercomps.dll 256KB
nspr4.dll 168KB
ssl3.dll 152KB
softokn3.dll 148KB
mozglue.dll 139KB
nssutil3.dll 102KB
smime3.dll 90KB
nssdbm3.dll 89KB
cpmanager.dll 82KB
breakpadinjector.dll 72KB
MinHook.32.dll 66KB
libEGL.dll 58KB
plc4.dll 21KB
plds4.dll 21KB
AccessibleMarshal.dll 19KB
xpcom.dll 19KB
mozalloc.dll 16KB
ntab.dtd 2KB
ntab.dtd 2KB
coba.dtd 2KB
coba.dtd 2KB
options.dtd 2KB
options.dtd 2KB
overlay.dtd 2KB
overlay.dtd 2KB
livemargins.dtd 2KB
livemargins.dtd 1KB
overlay.dtd 841B
options.dtd 824B
options.dtd 806B
private.dtd 804B
private.dtd 784B
overlay.dtd 782B
safeflag.dtd 530B
snapshot.dtd 510B
snapshot.dtd 484B
safeflag.dtd 476B
appcenter.dtd 429B
options.dtd 382B
共 591 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
- xiaochuju5262018-06-06谢谢楼主 帮了大忙了
我叫小菜菜
- 粉丝: 138
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功