Skip to content

Instantly share code, notes, and snippets.

@johanbove
Last active May 9, 2022 12:59
Show Gist options
  • Select an option

  • Save johanbove/80acbdc8b0c25faba031caacf790bc06 to your computer and use it in GitHub Desktop.

Select an option

Save johanbove/80acbdc8b0c25faba031caacf790bc06 to your computer and use it in GitHub Desktop.

Revisions

  1. johanbove revised this gist May 9, 2022. 2 changed files with 1 addition and 1 deletion.
    1 change: 0 additions & 1 deletion bookmarklet.js
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    javascript:(function()%7Btitle%3D""%3Bdescription%3Dwindow.prompt(%27Copy the url to the code line%27,location.href)%3Btarget%3D%27https://git.wocsrv.de/deloitte/elinvar-api/-/issues/new%27%3Blocation.href%3Dtarget%2B%27%3Fissue%5Btitle%5D%3D%27%2BencodeURIComponent(title)%2B%27%26issue%5Bdescription%5D%3D%27%2BencodeURIComponent(description)%3B%7D)()%3B
    1 change: 1 addition & 0 deletions gitlab-bookmarklet.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    javascript:(function()%7Btitle%3D""%3Bdescription%3Dwindow.prompt(%27Copy the url to the code line%27,location.href)%3Btarget%3D%27{---REPLACETHISWITHPROJECTURL---}/-/issues/new%27%3Blocation.href%3Dtarget%2B%27%3Fissue%5Btitle%5D%3D%27%2BencodeURIComponent(title)%2B%27%26issue%5Bdescription%5D%3D%27%2BencodeURIComponent(description)%3B%7D)()%3B
  2. johanbove created this gist May 9, 2022.
    1 change: 1 addition & 0 deletions bookmarklet.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    javascript:(function()%7Btitle%3D""%3Bdescription%3Dwindow.prompt(%27Copy the url to the code line%27,location.href)%3Btarget%3D%27https://git.wocsrv.de/deloitte/elinvar-api/-/issues/new%27%3Blocation.href%3Dtarget%2B%27%3Fissue%5Btitle%5D%3D%27%2BencodeURIComponent(title)%2B%27%26issue%5Bdescription%5D%3D%27%2BencodeURIComponent(description)%3B%7D)()%3B