Skip to content

Instantly share code, notes, and snippets.

# Fail
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B00TSUGXKE&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B00422MCVW&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B01DJEBOBM&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B014EBVLNA&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
# OK
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B011KFQASE&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B00UZBMUK2&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
@rmateu
rmateu / Bookmarklet Launchbar MD Link.js
Last active May 12, 2016 02:37
Bookmarklet: Send Page as markdown link to Launchbar
@rmateu
rmateu / Bookmarklet Launchbar Text.js
Last active March 15, 2017 04:37
Bookmarklet: Send URL and Title to LaunchBar
(function bookmarklet() {
var url = location.origin + location.pathname,
title = encodeURIComponent(document.title),
text = encodeURIComponent(window.getSelection().toString()),
TextCopy = title + '%0A' + url + '%0A' + text;
window.location='x-launchbar:select?string='+TextCopy;
}());
@rmateu
rmateu / Bookmarklet Launchbar md Ref Link.js
Last active May 12, 2016 02:42
Bookmarklet Send to Launchbar Markdown Reference Link
@rmateu
rmateu / Bookmarklet MD Ref Link.js
Last active March 15, 2017 04:37
Bookmarklet Markdown Reference Link
@rmateu
rmateu / Bookmarklet MD Footer Ref link.js
Last active May 11, 2016 18:59
Bookmarklet: Markdown Footer Reference Link
@rmateu
rmateu / Markdown Scripting News linkblog Bookmarklet
Created March 4, 2016 21:02
Dave Winer Style Link Bookmarlet.
(function bookmarklet() {
var url = location.origin + location.pathname,
title = document.title,
site = location.host,
site = site.replace(/^www./,''),
markdownLinkblog = document.title + ' → ' +'[' + site + ']' + '(' + url + ')';
window.prompt('Copy to clipboard: ⌘+C or Ctrl+C then Enter', markdownLinkblog);
}());
@rmateu
rmateu / Markdown Textshot Bookmarklet.js
Created March 3, 2016 19:37
JS for Markdown Textshot Bookmarklet
(function bookmarklet() {
var url = location.origin + location.pathname,
title = document.title,
site = location.host,
site = site.replace(/^www./,''),
site = site.charAt(0).toUpperCase() + site.substr(1),
text = window.getSelection().toString(),
markdownQuote = '>' + text + ("\n\n") + '**' + title + '** '+ ("\n") + site;
window.prompt('Copy to clipboard: ⌘+C or Ctrl+C then Enter', markdownQuote);

Keybase proof

I hereby claim:

  • I am rmateu on github.
  • I am rmateu (https://keybase.io/rmateu) on keybase.
  • I have a public key whose fingerprint is 3710 43C3 0CDD FFE2 7859 8AD6 64F4 4F09 E2E7 D556

To claim this, I am signing this object: