Skip to content

Commit

Permalink
Remove delicious and googleplus sharing buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Themroc authored and jtojnar committed Aug 6, 2019
1 parent 8afb1a2 commit 3472500
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _docs/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ <h2 id="configuration_params">Configuration</h2>
</tr>
<tr>
<td class="documentation-first-column">share</td>
<td>share defines which share buttons beneath the entry are visible. Default is share=gtfprde (g = google, f = facebook, t = twitter, p = pocket, d = delicious, w = wallabag, e = email). When you would like to show only facebook and twitter share button use share=ft.</td>
<td>share defines which share buttons beneath the entry are visible. Default is share=tfpe (f = facebook, t = twitter, p = pocket, w = wallabag, e = email). When you would like to show only facebook and twitter share button use share=ft.</td>
</tr>
<tr>
<td class="documentation-first-column">wallabag</td>
Expand Down
2 changes: 1 addition & 1 deletion defaults.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ auto_mark_as_read=0
auto_collapse=0
auto_stream_more=1
anonymizer=
share=gtfpde
share=tfpe
wallabag=
wallabag_version=1
allow_public_update_access=
Expand Down
Binary file removed public/images/delicious.png
Binary file not shown.
Binary file removed public/images/googleplus.png
Binary file not shown.
6 changes: 0 additions & 6 deletions public/js/selfoss-shares.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ selfoss.shares = {
this.enabledShares = enabledShares;
this.initialized = true;

this.register('delicious', 'd', function(url, title) {
window.open('https://delicious.com/save?url=' + encodeURIComponent(url) + '&title=' + encodeURIComponent(title));
});
this.register('googleplus', 'g', function(url) {
window.open('https://plus.google.com/share?url=' + encodeURIComponent(url));
});
this.register('twitter', 't', function(url, title) {
window.open('https://twitter.com/intent/tweet?source=webclient&text=' + encodeURIComponent(title) + ' ' + encodeURIComponent(url));
});
Expand Down

0 comments on commit 3472500

Please sign in to comment.