Skip to content

Commit

Permalink
Add bookmarklet
Browse files Browse the repository at this point in the history
  • Loading branch information
s22-tech committed Jun 2, 2024
1 parent 058f288 commit f75be03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ OBM II is a rewrite of Brendan LaMarche's fantastic OpenBookmark script, to brin
<li>Saves a single favicon per domain/sub-domain to keep file counts at a minimum.</li>
</ul>

## Bookmarklet
Copy this code to your bookmarks bar for easy bookmarking of interesting sites. Adjust for your domain.

```javascript:(function(){bmadd=window.open('https://your.domain.com/bookmarks/new_bookmark.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href),'bmadd','toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=500,height=500,left=50,top=50');setTimeout(function(){bmadd.focus();});})();```

## To Do
<ul>
<li>Update CSS</li>
Expand Down

0 comments on commit f75be03

Please sign in to comment.