Skip to content

Instantly share code, notes, and snippets.

View TS6ix2GaH3q679h5's full-sized avatar

TS6ix2GaH3q679h5

View GitHub Profile
@davidjbeveridge
davidjbeveridge / addToBuffer.js
Last active March 1, 2024 07:51
Buffer bookmarklet
(function() {
function bufferUrl(url, title) {
baseUrl = "http://bufferapp.com/add?";
return [baseUrl,
"url=",
encodeURIComponent(url),
"&text=",
encodeURIComponent(title)
].join('');
}