{"id":15938550,"url":"https://github.com/ticky/bookmarklets","last_synced_at":"2026-06-13T01:32:37.012Z","repository":{"id":145549301,"uuid":"58076022","full_name":"ticky/bookmarklets","owner":"ticky","description":"📑 A collection of handy bookmarklets","archived":false,"fork":false,"pushed_at":"2016-05-04T18:52:42.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-23T04:16:46.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ticky.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-04T18:48:33.000Z","updated_at":"2024-06-14T03:24:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"11360597-2d0a-4751-8b44-dcb5a97dec91","html_url":"https://github.com/ticky/bookmarklets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ticky/bookmarklets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fbookmarklets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fbookmarklets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fbookmarklets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fbookmarklets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ticky","download_url":"https://codeload.github.com/ticky/bookmarklets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fbookmarklets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34269363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-07T05:40:43.445Z","updated_at":"2026-06-13T01:32:36.981Z","avatar_url":"https://github.com/ticky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bookmarklets\n\nA collection of Bookmarklets\n\n## List\n\n* [960ify](#960ify)\n* [Meta Snooper](#meta-snooper)\n* [Viewport Breakers](#viewport-breakers)\n\n## Bookmarklets\n\n### 960ify\n\nA quick bookmarklet for making fluid-width webpages 960px wide for readability.\nUseful for MSDN and other documentation sites, especially where tables are used which Instapaper can't deal with.\n\n```javascript\njavascript:!function(a){a.style.margin=\"0 auto\",a.style.width=\"960px\"}(document.getElementsByTagName(\"body\")[0]);\n```\n\n### Meta Snooper\n\nQuickly grabs important meta content from the current page, including;\n\n* Open Graph tags\n* Description\n* Keywords\n\n```javascript\njavascript:!function(a){for(var b=[\"Meta Snooper:\"],c=0;c\u003ca.length;c++)a[c].hasAttribute(\"property\")\u0026\u0026b.push(a[c].getAttribute(\"property\")+': \"'+a[c].getAttribute(\"content\")+'\"'),a[c].hasAttribute(\"name\")\u0026\u0026b.push(a[c].getAttribute(\"name\")+': \"'+a[c].getAttribute(\"content\")+'\"');b.length\u003e1?alert(b.join(\"\\n \\u2022 \")):alert(\"No important meta tags were found.\")}(document.querySelectorAll(\"meta[property^='og:'], meta[name='description'], meta[name='keywords']\"));\n```\n\n_*Note*: Requires a browser which has `document.querySelectorAll`._\n\n### Viewport Breakers\n\nBookmarklet to detect elements which force the page outside the viewport.\n\nCurrently does not attempt to determine if an element is not able to be causing a problem due to its parents `overflow`. You have to do at least some of the work.\n\n```javascript\njavascript:!function(a){function c(){return a.width\u003ea.documentElement.clientWidth}function d(b){return b.offsetLeft+b.offsetWidth\u003ea.documentElement.clientWidth}function e(b){var c=b.tagName.toLowerCase();\"\"!==b.id\u0026\u0026(c=[c,b.id].join(\"#\")),b.classList\u0026\u0026b.classList.length\u003e0\u0026\u0026(c=[c,b.className.replace(\" \",\".\")].join(\".\"));var d=a.body.querySelectorAll(c.replace(/\\//g,\"\\\\/\"));if(d\u0026\u0026d.length\u003e1)for(var f=0;f\u003cd.length;f++)if(d[f]===b){c=[c,\"[\",f,\"]\"].join(\"\");break}return c}var b=null!==navigator.userAgent.toLowerCase().match(/ip(?:hone|(?:o|a)d)/g);if(c()){var f=a.body.querySelectorAll(\"*\"),g=[];if(f)for(var h=0;h\u003cf.length;h++)d(f[h])\u0026\u0026(f[h].style.outline=\"1px solid pink\",g.push(e(f[h])));g.length\u003e0?alert([[\"\\u26a0\",g.length.toString(),\"elements appear to overflow the page;\"].join(\" \"),g.join(\"\\n \\u2022 \")].join(\"\\n \\u2022 \")):alert([b?\"\\u26a0 \":\"\",\"No elements appear to overflow the page, but the document is wider than the viewport.\"].join(\"\"))}else alert([b?\"\\uf44d \":\"\",\"Document does not appear to overflow the viewport.\\nYou're all good.\"].join(\"\"))}(document);\n```\n\n## Legal\n\nCopyright © 2013 Jessica Stokes. Please see `license.txt`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fticky%2Fbookmarklets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fticky%2Fbookmarklets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fticky%2Fbookmarklets/lists"}