Add option to ignore title when scraping and provide a custom title instead. Closes #3

This commit is contained in:
2022-06-05 11:19:44 +09:30
parent ee01887394
commit e0eefa2d11
9 changed files with 35 additions and 7 deletions

View File

@@ -9,7 +9,7 @@
<p>Then whenever you are on a webpage you would like to bookmark, just
click the bookmarklet.</p>
<a class="button" href="javascript:void(window.open('{{ .config.BaseURL }}/bookmarklet?url=' +encodeURIComponent(window.location), 'windowName', 'width=640,height=480'))">Bookmarklet</a>
<a class="button" href="javascript:void(window.open('{{ .config.BaseURL }}/bookmarklet?url=' +encodeURIComponent(window.location)+'&title='+encodeURIComponent(document.title), 'windowName', 'width=640,height=480'))">Bookmarklet</a>
{{ else }}