{"id":42671132,"url":"https://github.com/calibr/chrome-fvdsd-widget-link","last_synced_at":"2026-01-29T11:00:03.925Z","repository":{"id":29003446,"uuid":"32530414","full_name":"calibr/chrome-fvdsd-widget-link","owner":"calibr","description":"Communication layer between widget and Chrome Speed Dial [FVD]","archived":false,"fork":false,"pushed_at":"2015-03-23T12:23:30.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-20T23:52:19.990Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calibr.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":"2015-03-19T15:38:19.000Z","updated_at":"2023-08-20T23:52:19.991Z","dependencies_parsed_at":"2022-09-03T18:41:16.431Z","dependency_job_id":null,"html_url":"https://github.com/calibr/chrome-fvdsd-widget-link","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/calibr/chrome-fvdsd-widget-link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calibr%2Fchrome-fvdsd-widget-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calibr%2Fchrome-fvdsd-widget-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calibr%2Fchrome-fvdsd-widget-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calibr%2Fchrome-fvdsd-widget-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calibr","download_url":"https://codeload.github.com/calibr/chrome-fvdsd-widget-link/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calibr%2Fchrome-fvdsd-widget-link/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-29T11:00:01.942Z","updated_at":"2026-01-29T11:00:03.900Z","avatar_url":"https://github.com/calibr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Speed Dial [FVD] Widget lib\n\n##Usage\n\n**Include `link.js` in your extension background page:**\n\nFile `manifest.json`:\n\n```json\n\n\"background\": {\n  \"scripts\": [ \"link.js\", \"bg.js\" ]\n}\n\n```\n\nThis lib exposes global object `fvdSpeedDialLink`.\n\n**Set widget info**\n\nFile `bg.js`:\n\n```javascript\nfvdSpeedDialLink.setWidgetInfo({\n  path: \"/widget.html\",\n  widthCells: 1,\n  heightCells: 1\n});\n```\n\n*If you want to update some widget info, like size, you need to call `fvdSpeedDialLink.setWidgetInfo` with new parameters.*\n\nSee example for more info.\n\n##Widget size options\n\nEach widget can be located in one or two cells height. Single cell size has `250x200`. Widget with the size of one cell has equal size of the cell. Widget can take up to `2` cells height and `4` cells width. Here are some example of widgets you can make and size calculation:\n\nWidth x Height\n\n`widthPX = 250 * widthCells + (widthCells-1) * 10`\n\n`heightPX = 200 * heightCells + (heightCells-1) * 10`\n\n`1x1` - single cell widget(`250x200`)\n\n`1x2`:\n\n`widthPX = 250 * 1 + 0 * 10 = 250`\n\n`heightPX = 200 * 2 + 1 * 10 = 410`\n\n`4x2`:\n\n`widthPX = 250 * 4 + 3 * 10 = 1030`\n\n`heightPX = 200 * 2 + 1 * 10 = 410`\n\n`3x1`:\n\n`widthPX = 250 * 3 + 2 * 10 = 770`\n\n`heightPX = 200 * 1 + 0 * 10 = 200`\n\n##Backward Compatibility\n\nThis lib is compatible with old Speed Dial[FVD] widget system, it automatically calculate and set old `width` and `height` parameters if you don't set them explicitly.\n\n[View Widget Example](https://github.com/calibr/chrome-fvdsd-widget-link/tree/master/widget-example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalibr%2Fchrome-fvdsd-widget-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalibr%2Fchrome-fvdsd-widget-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalibr%2Fchrome-fvdsd-widget-link/lists"}