随机显示唐诗宋词

Latest Version

Version
0.0.5
Update
April 26, 2019
Size
48.79MiB
Developer
Category
Users
21
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Storage
See more

中国诗词欣赏 Extension

This is a Chrome extension which random displays a Chinese poem when open a new tab or open www.google.com. When a new tab is opened, it will re-direct the page to www.google.com by default. In totally, ~330,000 poems are available.


Instructions:
1: click the plugin icon will display a poem randomly;
2: click the pin icon will fix the poem and unpin will set back to random display;


Designer: Brian Liu

Thanks to the contributors for the the project:https://github.com/chinese-poetry/chinese-poetry.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 2,\t"name": "\u4e2d\u56fd\u8bd7\u8bcd\u6b23\u8d4f",\t"version": "0.0.5",\t"description": "\u968f\u673a\u663e\u793a\u5510\u8bd7\u5b8b\u8bcd",\t"icons":\t{\t\t"32": "img/icon.png",\t\t"64": "img/icon.png",\t\t"128": "img/icon.png"\t},\t"permissions":\t[\t\t"storage"\t],\t"background":\t{\t\t"scripts": ["js/background.js"]\t},\t"content_scripts": [\t\t{\t\t\t"matches": [\t\t\t\t"https://www.google.com/"\t\t\t],\t\t\t"js": ["js/content.js"]\t\t}\t],\t"chrome_url_overrides" : {\t\t"newtab": "pages/newtab.html"\t}, \t"browser_action": {\t\t"default_popup": "pages/popup.html",\t\t"default_icon": {\t\t\t"32": "img/icon.png",\t\t\t"64": "img/icon.png",\t\t\t"128": "img/icon.png"\t\t }\t},\t"web_accessible_resources": [\t\t"data/*.json",\t\t"img/pinned.png",\t\t"img/unpin.png"\t], \t"options_page": "pages/options.html"}
Read more