Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.