An open API service indexing awesome lists of open source software.

https://github.com/kevlened/foodmarklet

Bookmarklet version of plainoldrecipe
https://github.com/kevlened/foodmarklet

Last synced: 3 months ago
JSON representation

Bookmarklet version of plainoldrecipe

Awesome Lists containing this project

README

          

# foodmarklet

This is a bookmarklet-only version of the awesome [plainoldrecipe](https://github.com/poundifdef/plainoldrecipe). It's compatible with more websites, because the server version needs a whitelist of domains for security reasons, while this bookmarklet doesn't.

## Install

1. Drag this bookmark to your bookmarks bar: [foodmarklet](https://example.com/REPLACE_SOURCE_WITH_CODE_IN_README)
2. Right-click the bookmark and change the url to this code:
```
javascript:void((()=>{let js=document.createElement('script');js.src="//unpkg.com/foodmarklet";document.head.appendChild(js)})());
```
## Usage

1. Navigate to a recipe. Example
2. Click the `foodmarklet` bookmark

## Standalone

The normal bookmarklet loads js from a CDN so you automatically get updates. If you'd like to run it completely locally instead, create a bookmarklet with the contents of the [standalone file](https://github.com/kevlened/foodmarklet/blob/master/standalone).

## Troubleshooting

If you have trouble with a recipe:
1. Ensure you have the latest version.
2. File an issue or submit a PR.

## Contributing

If you'd like to contribute:
1. `index.js` is probably all you need
2. Run `yarn standalone` to create a standalone version to test your changes