Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the below bookmarklet with org-protocol/emacsclient to journal webpages (whitespace added):

javascript:location.href='org-protocol://capture://'+
encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title)+
'/'+encodeURIComponent(window.getSelection())

It works for pretty much everything but notably github pages, and fails silently in that case. Is there some kind of URL rewriting going on? What do I need to change?

share|improve this question
1  
Just a random though: have you seen this? – PythonNut Jan 20 '14 at 18:52
    
Interesting. So github might need a special grabber to trigger that automatically? – Trevor Alexander Jan 20 '14 at 19:56
    
I'm thinking that's the case. Try it and see. :) – PythonNut Jan 20 '14 at 20:41

You must log in to answer this question.

Browse other questions tagged .