8000 LinkedIn Sharer-URL to 2020 Version by NoNamePro0 · Pull Request #382 · heiseonline/shariff · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

LinkedIn Sharer-URL to 2020 Version #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll 8000 occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2023
Merged
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: 1 addition & 3 deletions src/js/services/linkedin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

module.exports = function(shariff) {
var url = encodeURIComponent(shariff.getURL())
var title = encodeURIComponent(shariff.getTitle())
var descr = encodeURIComponent(shariff.getMeta('description'))
return {
popup: true,
shareText: {
Expand Down Expand Up @@ -63,6 +61,6 @@ module.exports = function(shariff) {
'tr': 'LinkedIn\'ta paylaş',
'zh': '在LinkedIn上分享'
},
shareUrl: 'https://www.linkedin.com/shareArticle?mini=true&summary=' + descr + '&title=' + title + '&url=' + url
shareUrl: 'https://www.linkedin.com/sharing/share-offsite/?url=' + url
}
}
0