{"id":13424413,"url":"https://github.com/matthodan/bookmarklet-loader","last_synced_at":"2025-03-15T18:34:58.555Z","repository":{"id":2096860,"uuid":"3037604","full_name":"matthodan/bookmarklet-loader","owner":"matthodan","description":"Template bookmarklet that injects a .js and .css into the current page when clicked","archived":false,"fork":false,"pushed_at":"2012-11-02T17:47:36.000Z","size":101,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-26T23:55:12.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthodan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-23T00:43:14.000Z","updated_at":"2023-01-19T13:30:21.000Z","dependencies_parsed_at":"2022-08-26T14:11:25.068Z","dependency_job_id":null,"html_url":"https://github.com/matthodan/bookmarklet-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthodan%2Fbookmarklet-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthodan%2Fbookmarklet-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthodan%2Fbookmarklet-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthodan%2Fbookmarklet-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthodan","download_url":"https://codeload.github.com/matthodan/bookmarklet-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775845,"owners_count":20346275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T00:00:54.014Z","updated_at":"2025-03-15T18:34:54.762Z","avatar_url":"https://github.com/matthodan.png","language":"CoffeeScript","readme":"# Bookmarklet Loader\n\nBookmarklet Loader is a template [bookmarklet](http://en.wikipedia.org/wiki/Bookmarklet 'Bookmarklet') that injects a .js and .css link into the current page.\n\n[Pinterest](http://pinterest.com/about/goodies/) and [Instapaper](http://www.instapaper.com/extras) use similar implementations to load their bookmarklet code.\n\n## Usage\n\nUpdate the following in 'bookmarklet-loader.js.coffee' to refer to your app's .js and .css.  If\nyou don't want to include both a .js or .css, you can pass 'null' instead of a url for either.\n\n```\nloader = new BookmarkletLoader 'yourApp',\n'http://example.com/your-app.js',\n'http://example.com/your-app.css'\n```\n\nBookmarklet Loader is written in CoffeeScript, however bookmarklets must be JavaScript and URL encoded.  [CoffeeMarklet](http://johtso.github.com/CoffeeMarklet/) does a great job of converting CoffeeScript to bookmarklet-friendly JavaScript.  I recommend you use it to generate your bookmarklet.\n\n## Contact\n\nContact me if you have a question-- [Matt's Blog](http://www.matthodan.com).\n","funding_links":[],"categories":["CoffeeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthodan%2Fbookmarklet-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthodan%2Fbookmarklet-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthodan%2Fbookmarklet-loader/lists"}