{"id":16935822,"url":"https://github.com/knu/noreferrer","last_synced_at":"2026-03-08T18:37:59.560Z","repository":{"id":66032532,"uuid":"1644926","full_name":"knu/noreferrer","owner":"knu","description":"Cross-browser support for HTML5's noreferrer link type.","archived":false,"fork":false,"pushed_at":"2016-05-17T09:24:34.000Z","size":170,"stargazers_count":128,"open_issues_count":2,"forks_count":40,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-02T05:04:39.751Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2011-04-21T10:54:54.000Z","updated_at":"2024-10-22T13:47:48.000Z","dependencies_parsed_at":"2023-04-22T16:45:30.007Z","dependency_job_id":null,"html_url":"https://github.com/knu/noreferrer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/knu/noreferrer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fnoreferrer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fnoreferrer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fnoreferrer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fnoreferrer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/noreferrer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fnoreferrer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265747334,"owners_count":23821870,"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-10-13T20:55:26.280Z","updated_at":"2026-03-08T18:37:59.505Z","avatar_url":"https://github.com/knu.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"noreferrer.js\n=============\n\nCross-browser support for HTML5's noreferrer link type.\n\nHTML5 defines a new link type called \"noreferrer\" which may be used to\nannotate a hyperlink to indicate that a Referer (sic) header should\nnot be sent when following the link.\n\nThis is particularly useful when you want to put hyperlinks to\nexternal resources on your private site which URL should not be\nleaked.\n\nAt the time of writing, WebKit-based browsers such as Safari,\nMobileSafari, Chrome and Opera 15+ already support this feature but\nIE, Firefox and Opera 12- do not.\n\nThis package contains two variants of JavaScript implementations that\nadd the \"noreferrer\" link type to those browsers without native\nsupport.\n\nRequirements\n------------\n\n* noreferrer.js depends on:\n\n    * prototype.js 1.6 or later\n\n* jquery.noreferrer.js depends on:\n\n    * jQuery 1.2 or later\n\nCompatibility\n-------------\n\n* Chrome, Safari, MobileSafari, Opera 15+ and other WebKit-based\n  browsers\n\n    These have native support for noreferrer links, so noreferrer.js\n    does nothing.\n\n* IE 6+\n\n    noreferrer.js uses a simple meta refresh technique to suppress\n    Referer, plus disables opening a new window with middle clicking.\n\n* Opera 12-\n\n    There seems to be no way to prevent the browser from sending a\n    Referer header, so noreferrer.js replaces all noreferrer links\n    with those using Google's redirector.\n\n* Firefox and other browsers\n\n    noreferrer.js uses a data URI technique to suppress Referer, plus\n    disables opening a new window with middle clicking.\n\nUsage\n-----\n\nJust include either noreferrer.js or jquery.noreferrer.js, depending\non the JavaScript framework you are using, at the end of the \u003chead\u003e\npart of an HTML document, and an onload event handler is attached to\nenable the noreferrer trick for each link with the noreferrer rel\ntype.\n\n    \u003cscript type='text/javascript' src='noreferrer.js'\u003e\u003c/script\u003e\n\nIt does not deal with dynamically created links at the moment.\n\nHistory\n-------\n\n* v0.1.3\n\n   * Bundled jquery.noreferrer.js.\n\n   * Make small optimizations.\n\nAuthor\n------\n\nAkinori MUSHA \u003c\u003cknu@idaemons.org\u003e\u003e\n\nLicense\n-------\n\nAll files except for ones under \"vendor\" are licensed under a 2-clause\nBSD license.\n\nSee LICENSE for the copyright information and license terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fnoreferrer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fnoreferrer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fnoreferrer/lists"}