Move files from util to mods
[friendica.git/.git] / mods / bookmarklet-share2friendica / README.md
1 # Bookmarklet-share2friendica
2
3 Javascript bookmarklet to share websites with your friendica account
4
5 ## Getting Started
6
7 ### Installing
8
9 Open the file bookmarklet-share2friendica.js and change 'YourFriendicaDoomain.tld" with your friendica domain
10
11 If you friendica is at https://myfriend.myfami.ly/ , the original ...
12 ```javascript
13 javascript:(function(){f='https://YourFriendicaDomain.tld/bookmarklet/?url='+encodeURIC....
14 ```
15 ... has to be changed to ...
16
17 ```javascript
18 javascript:(function(){f='https://myfriend.myfami.ly/bookmarklet/?url='+encodeURIC....
19 ```
20
21 *Please copy the whole script, not only the part mentioned here!*
22
23 Then create a new bookmark, give it a name like "share2Friendica" and paste the script in the address field. Save it. Now you can click on that bookmarklet every time you want to share a website, you are currently reading. A new small window will open where title is prefilled and the website you want to share is put as attachement in the body of the new post.
24
25 ## Additional notes if it doesn't work
26
27 * Make sure the site you want to share is allowed to run javascript. (enable it in your script blocker)
28 * Check the apostrophes that are used. Sometimes it is changed by the copy and paste process depending on the editor you are using, or if you copy it from a website. Correct it and it will work again.
29
30
31
32 ## Authors
33
34 * **diaspora** - *Initial work* - [Share all teh internetz!](https://share.diasporafoundation.org/about.html)
35 * **hoergen** - *Adaptation to Friendica (2017)* - [hoergen.org](https://hoergen.org)
36
37 ## License
38
39 This project is licensed under the same license like friendica
40
41 ## Acknowledgments
42
43 * Hat tip to anyone who's code was used
44 * Hat tip to everyone who does everyday a little something ot make this world better
45 * Had tip but spent it
46
47