Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@

- 右键选择 `简悦 - SimpRead` → `阅读模式`;

- 快捷键;(默认为 `双击 A` )
- 快捷键;(默认为 双击 <kbd>A</kbd> )


#### 如何使用(聚焦模式):
`聚焦模式` 会自动获取当前鼠标所在的段落并高亮,适合任意页面。

- 在需要高亮的区域,右键选择 `简悦 - SimpRead` → `聚焦模式`;

- 快捷键;(默认为 `A S` )
- 快捷键;(默认为 <kbd>A</kbd> <kbd>S</kbd> )

#### 投票:
简悦是一个免费并开源的项目。如果觉得不错,请给我 [投票](https://chrome.google.com/webstore/detail/%E7%AE%80%E6%82%A6-simpread/ijllcpnolfcooahcekpamkbidhejabll/reviews) 。这样让更多人了解并受用与 `简悦` 带来的便利,你的认可是对我最大的鼓励。
Expand Down
Binary file added src/assets/images/share_telegram_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/read/controlbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export default class ReadCtlbar extends React.Component {
case "weibo":
url = `http://service.weibo.com/share/share.php?url=${ this.props.site.url }&title=${ this.props.site.title } ( 分享自 简悦-SimpRead )`;
break;
case "telegram":
url = `https://t.me/share/url?url=${ this.props.site.url }`;
break;
}
browser.runtime.sendMessage( msg.Add( msg.MESSAGE_ACTION.new_tab, { url }));
break;
Expand Down
11 changes: 8 additions & 3 deletions src/service/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,23 +158,28 @@ const readItems = {
"share_facebook" : {
"name" : "Facebook",
"icon" : ss.IconPath("share_facebook_icon"),
"color": "#8BC34A",
"color": "#3B5998",
},
"share_twitter" : {
"name" : "Twitter",
"icon" : ss.IconPath("share_twitter_icon"),
"color": "#8BC34A",
"color": "#1DA1F2",
},
"share_gplus" : {
"name" : "Google G+",
"icon" : ss.IconPath("share_gplus_icon"),
"color": "#8BC34A",
"color": "#DD4B39",
},
"share_weibo" : {
"name" : "新浪微博",
"icon" : ss.IconPath("share_weibo_icon"),
"color": "#8BC34A",
},
"share_telegram" : {
"name" : "Telegram",
"icon" : ss.IconPath("share_telegram_icon"),
"color": "#0088CC",
},
},
},
/*
Expand Down