This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mission:log:2012:03:19:sharing-is-caring-not-tracking [2012-03-19 08:17] – [CSS] chrono | mission:log:2012:03:19:sharing-is-caring-not-tracking [2013-06-05 14:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Sharing is caring - not tracking ====== | ||
| + | Operating and providing a website for a project always inherently leads to finding ways, to let more people know about your content. Social media bookmarking is a great way to do just that. But, as every so often, many people compromise comfort for reasonable security, including some javascript $social_media_provider offers to //easily integrate// it, allowing $social_media_provider to track each visit a user makes on **any other** website, that includes just the button/ | ||
| + | |||
| + | ===== ===== | ||
| + | |||
| + | You can protect your visitors privacy and still let users socially spread the word about you easily by implementing static social media buttons, dokuwiki had no //good// plugin available, but you can always hack your template, simply like this: | ||
| + | |||
| + | ===== Quick template & css hack ===== | ||
| + | |||
| + | ==== PHP/HTML ==== | ||
| + | |||
| + | <sxh html; toolbar: false> | ||
| + | <div class=" | ||
| + | < | ||
| + | <ul> | ||
| + | <li class=" | ||
| + | <a rel=" | ||
| + | < | ||
| + | </ | ||
| + | </li> | ||
| + | <li class=" | ||
| + | <a rel=" | ||
| + | < | ||
| + | </ | ||
| + | </li> | ||
| + | <li class=" | ||
| + | <a rel=" | ||
| + | < | ||
| + | </ | ||
| + | </li> | ||
| + | <li class=" | ||
| + | <a rel=" | ||
| + | < | ||
| + | </ | ||
| + | </li> | ||
| + | <li> | ||
| + | <a href=" | ||
| + | < | ||
| + | </ | ||
| + | </li> | ||
| + | </ | ||
| + | <div class=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== CSS ==== | ||
| + | |||
| + | <sxh css; toolbar: false> | ||
| + | .sm {margin-bottom: | ||
| + | .sm p {font-weight: | ||
| + | .sm ul | ||
| + | .sm li | ||
| + | .sm a {float: left; width: 24px; height: 24px; margin-right: | ||
| + | .sm span | ||
| + | |||
| + | .tw-single a | ||
| + | .fb-single a | ||
| + | .gp-single a | ||
| + | .red-single a {background-position: | ||
| + | |||
| + | .sm a:hover {position: relative; top: -3px; border-bottom: | ||
| + | |||
| + | div.dokuwiki .sm ul { margin: 0 0 0 0; } | ||
| + | </ | ||
| + | |||
| + | ==== Image ==== | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | |||
| + | {{tag> | ||
| + | |||
| + | |||
| + | ~~DISCUSSION~~ | ||