Hacker News new | ask | show | jobs
by Etheon 1969 days ago
Hey that's a great idea!

I never built an add-on for a browser so it will make a good challenge. Maybe for this week-end ^^

1 comments

Yeah its not that bad, here is a simple bookmarklet example that grabs current url and posts it to your endpoint (mailephant in this case). Might be a good first step.

  javascript:q=location.href;if(document.getSelection)%7Bd=document.getSelection();
  %7Delse%7Bd='';%7D;p=document.title;void(open('https://mailephant.email/views/curate.html? 
  showtags=yes&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&
  title='+encodeURIComponent(p),'Mailephant','toolbar=no,scrollbars=yes,width=550,height=700'));
I had to add some newlines to your JS because it was borking the page layout. Sorry; it's our bug. One of these days we will fix it.
You just save that as a new bookmark after updated your endpoint and you can gather that data quickly.
Hello! This thread is no longer on the front page, but just to keep the few people still passing by, I finally created a browser extension! It completes the site :)

https://addons.mozilla.org/fr/firefox/addon/multy/

I'll send it to Google for Chrome as well

Thank you for the tips! I will definitely try that this week end and keep you updated.