# Org-roam and org-protocol

**URL:** <https://org-roam.discourse.group/t/org-roam-and-org-protocol/1296>\
**Category:** How To\
**Created:** [February 20, 2021, 11:31am UTC](https://org-roam.discourse.group/t/org-roam-and-org-protocol/1296 "2021-02-20T11:31:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adela](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Adela](https://org-roam.discourse.group/u/Adela)\
**Post date:** [February 20, 2021, 11:31am UTC](https://org-roam.discourse.group/t/org-roam-and-org-protocol/1296/1 "2021-02-20T11:31:09Z")

</div>

Hi everybody roamy :),

I am attempting to combine org-protocol with org-roam.  
My chrome bookmark contains: `javascript:location.href = 'org-protocol://roam-ref?template=p&ref=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title)`.

Does anybody has a nice template where I could include the selected text too?

Also, I would like the frame to pop up or at least be brought to the front (at the moment, the creation of the capturing happens in the background, so I have to move to Emacs to finish the capture).  
Thanks so much for you input!
