{"id":32248295,"url":"https://github.com/tinesoft/ng-browser-update","last_synced_at":"2025-10-22T17:42:29.280Z","repository":{"id":24921704,"uuid":"28338729","full_name":"tinesoft/ng-browser-update","owner":"tinesoft","description":"AngularJS directive for Browser-Update.org (http://browser-update.org):  out-dated browsers notifier.","archived":true,"fork":false,"pushed_at":"2016-03-06T12:35:59.000Z","size":748,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T03:52:13.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tinesoft.github.io/ng-browser-update","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/tinesoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-22T12:58:46.000Z","updated_at":"2023-01-28T19:49:50.000Z","dependencies_parsed_at":"2022-08-22T19:50:21.778Z","dependency_job_id":null,"html_url":"https://github.com/tinesoft/ng-browser-update","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tinesoft/ng-browser-update","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinesoft%2Fng-browser-update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinesoft%2Fng-browser-update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinesoft%2Fng-browser-update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinesoft%2Fng-browser-update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinesoft","download_url":"https://codeload.github.com/tinesoft/ng-browser-update/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinesoft%2Fng-browser-update/sbom","scorecard":{"id":887071,"data":{"date":"2025-08-11","repo":{"name":"github.com/tinesoft/ng-browser-update","commit":"a3aceb59deab745543d4f8241299d3673bee91da"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T10:25:05.926Z","repository_id":24921704,"created_at":"2025-08-24T10:25:05.926Z","updated_at":"2025-08-24T10:25:05.926Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280316655,"owners_count":26309993,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"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":"2025-10-22T17:42:28.304Z","updated_at":"2025-10-22T17:42:29.272Z","avatar_url":"https://github.com/tinesoft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ng-browser-update [![Build Status](https://travis-ci.org/tinesoft/ng-browser-update.svg)](https://travis-ci.org/tinesoft/ng-browser-update)[![devDependency Status](https://david-dm.org/tinesoft/ng-browser-update/dev-status.svg)](https://david-dm.org/tinesoft/ng-browser-update#info=devDependencies)\n===========================================================================================================================================\n\nAngularJS directive for [Browser-Update.org](http://browser-update.org): out-dated browsers notifier.\n\nDemo: http://tinesoft.github.io/ng-browser-update\n\nInstallation\n------------\n\nUsing bower:\n\n```\nbower install ng-browser-update\n```\n\nUsing npm:\n\n```\nnpm install ng-browser-update\n```\n\n\nHow to use it\n-------------\n\nYou should already angular script referenced. If not, add it:\n\n```\n\u003cscript type=\"text/javascript\" src=\"angular.min.js\"\u003e\u003c/script\u003e\n```\n\nThen add the library:\n\n```\n\u003cscript type=\"text/javascript\" src=\"ng-browser-update.min.js\"\u003e\u003c/script\u003e\n```\n\nNext, inject `ngBrowserUpdate` in your application module:\n\n```\nangular.module('myApp', ['ngBrowserUpdate']);\n```\n\nand then just add an `browser-update` tag in your main file (index.html for example):\n\n```\n\u003cbrowser-update\u003e\u003c/browser-update\u003e\n```\n\n\n### Implemented features so far:\n\n* `versions` : browser versions to notify\n* `language` : set a language for the message, e.g. \"en\", overrides the default detection\n* `reminder` : atfer how many hours should the message reappear: 0 = show all the time\n* `new-window`: open link in new window/tab\n* `always-show-bar`:  always show the bar (for testing)\n* `notification-text` : custom notification html text (takes precedence over the 'language' option)\n* `on-notification-bar-shown`: callback function after the bar has appeared\n* `on-notificationBar-clicked`: callback function if bar was clicked\n\nExample with some above features:\n\n```\n\u003cbrowser-update  \n versions=\"{i:8,f:8,o:9.63,s:2,c:8}\" reminder=\"1\"\n always-show-bar=\"false\" new-window=\"false\" \n notification-text=\"This is my custom notification message\"\u003e\n\u003c/browser-update\u003e\n```\n\n### Easy i18n support for custom notification message\n\nVersion [v1.1](http://github.com/tinesoft/ng-browser-update/blob/v1.1/CHANGELOG.md) of **ng-browser-update** makes it possible to use angular's expressions as value for the `notification-text` attribute.\nThis allows you to use, for example, [angular-translate](https://angular-translate.github.io/)'s `translate` filter, to easily translate the custom message that appears in the notification bar.\n\nHere is an example:\n\n```\n\u003cbrowser-update  \n versions=\"{i:8,f:8,o:9.63,s:2,c:8}\" reminder=\"1\"\n always-show-bar=\"false\" new-window=\"false\" \n notification-text=\"{{ 'CUSTOM_NOTIFICATION_MESSAGE_ID' | translate }}\"\u003e\n\u003c/browser-update\u003e\n```\n\u003e where **CUSTOM_NOTIFICATION_MESSAGE_ID** is the key of the message.\n\nMore information on how to use [angular-translate](https://angular-translate.github.io/)'s `translate` filter can be found [here](http://angular-translate.github.io/docs/#/guide/04_using-translate-filter).\n\n\n### Features to be implemented:\n\n* `onNotificationClosed` : callback when user closes the notification bar\n\n### Build\n\nYou can run the tests by cloning the repo and then (inside the project folder) running\n\n```\nnpm install\nbower install\ngrunt watch\n```\n\nassuming you already have `grunt` installed, otherwise you also need to do:\n\n```\nnpm install -g grunt-cli\n```\n\n### License\n\nCopyright (c) 2015 Tine Kondo. Licensed under the MIT License (MIT)\n\n\n### Thanks To\n\nCredits and thanks go to the team behind [Browser-Update.org](http://browser-update.org) for this awesome initiative!\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinesoft%2Fng-browser-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinesoft%2Fng-browser-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinesoft%2Fng-browser-update/lists"}