{"id":36380,"date":"2015-05-19T01:31:08","date_gmt":"2015-05-19T01:31:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/noreferrer\/"},"modified":"2015-09-19T00:20:46","modified_gmt":"2015-09-19T00:20:46","slug":"noreferrer","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/noreferrer\/","author":14128534,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.1","stable_tag":"2.0.1","tested":"4.3.34","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Noreferrer","header_author":"Anders Jensen-Urstad","header_description":"","assets_banners_color":"","last_updated":"2015-09-19 00:20:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/anders.unix.se\/wordpress-plugin-noreferrer\/","header_author_uri":"https:\/\/anders.unix.se\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":817,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.0.0":"<p>Adds meta referrer support and enables it by default. Also adds referrer attribute support and enables it by default.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","2.0.0","2.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[46328,396,5203,4131,3080],"plugin_category":[36,54],"plugin_contributors":[93222],"plugin_business_model":[],"class_list":["post-36380","plugin","type-plugin","status-closed","hentry","plugin_tags-noreferrer","plugin_tags-privacy","plugin_tags-referer","plugin_tags-referrer","plugin_tags-rel","plugin_category-analytics","plugin_category-security-and-spam-protection","plugin_contributors-andersju","plugin_committers-andersju"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/noreferrer.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><a href=\"https:\/\/anders.unix.se\/wordpress-plugin-noreferrer\/\">Plugin homepage<\/a><\/p>\n\n<p>When you click on a link, your browser normally tells the destination page what page you were on when you clicked the link. This is called the <a href=\"https:\/\/en.wikipedia.org\/wiki\/HTTP_referer\">HTTP referer<\/a> [sic!]. This also happens when your browser loads things like images, fonts and external CSS\/JS.<\/p>\n\n<p>This is bad for privacy. For sensitive sites, it can be <em>terrible<\/em> for privacy. However, with HTML5, there are now ways to stop referrers from being sent.<\/p>\n\n<h4>rel=\"noreferrer\" link type and referrer attribute<\/h4>\n\n<p>This plugin, by default, adds <code>rel=\"noreferrer\"<\/code> to external links in posts, pages and comments, and <code>referrer=\"no-referrer\"<\/code> to images and iframes.<\/p>\n\n<p>As defined in the <a href=\"http:\/\/www.w3.org\/TR\/html5\/links.html#link-type-noreferrer\">HTML5 spec<\/a>, <code>rel=\"noreferrer\"<\/code> \"indicates that no referrer information is to be leaked when following the link\".<\/p>\n\n<p>As defined in the <a href=\"https:\/\/w3c.github.io\/webappsec\/specs\/referrer-policy\/#referrer-policy-state-no-referrer\">Referrer Policy Draft<\/a>, <code>referrer=\"no-referrer\"<\/code> \"specifies that no referrer information is to be sent along with requests made from a particular settings object to any origin\".<\/p>\n\n<p>The plugin modifies elements right before they are displayed. It doesn't modify anything in the database. Existing attributes, including any existing <code>rel<\/code> attributes (such as the one set by <code>wp_rel_nofollow()<\/code>), are preserved. It is possible to whitelist domains if you <em>do<\/em> want to send referrer information to them.<\/p>\n\n<p>The <code>rel=\"noreferrer\"<\/code> link type is supported by Firefox (since <a href=\"https:\/\/developer.mozilla.org\/en-US\/Firefox\/Releases\/33#HTML\">version 33<\/a>), Chrome\/Safari (added to WebKit in <a href=\"https:\/\/www.webkit.org\/blog\/907\/webkit-nightlies-support-html5-noreferrer-link-relation\/\">November 2009<\/a>) and Microsoft Edge in Windows 10.<\/p>\n\n<p>The <code>referrer<\/code> attribute is not yet supported by the stable version of any browser (July 2015).<\/p>\n\n<h4>Referrer Policy meta tag<\/h4>\n\n<p>This plugin, by default, also sets <a href=\"https:\/\/w3c.github.io\/webappsec\/specs\/referrer-policy\/\">Referrer Policy<\/a> to <code>never<\/code> via a <code>meta<\/code> tag. This is even better for privacy: it tells the browser not to send referrer information <em>at all<\/em> and applies to both links as well as requests generated by the page (CSS, images, etc.). While still just a W3C draft, it is supported by Firefox (since <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=965727\">version 37<\/a>), Chrome and Safari (added to WebKit in <a href=\"https:\/\/bugs.webkit.org\/show_bug.cgi?id=72674\">November 2011<\/a>), and by Microsoft Edge in Windows 10 (<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/dn904194%28v=vs.85%29.aspx\">source<\/a>).<\/p>\n\n<p><strong>Please note<\/strong> that this <em>could<\/em> affect plugins that foolishly rely on the refer(r)er header, as well as third-party tools you might use.<\/p>\n\n<p>If you enable this, whitelisting internal links and other elements is possible thanks to the <a href=\"https:\/\/w3c.github.io\/webappsec\/specs\/referrer-policy\/#referrer-policy-delivery-referrer-attribute\">referrer attribute<\/a>; however, support for this has not yet made it into the stable version of any browser.<\/p>\n\n<h4>Notes<\/h4>\n\n<p>Inspired by the Drupal module <a href=\"https:\/\/www.drupal.org\/project\/noreferrer\">No referrer<\/a>.<\/p>\n\n<p>The code is available on <a href=\"https:\/\/github.com\/andersju\/noreferrer\">GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the latest zip file and extract the <code>noreferrer<\/code> directory.<\/li>\n<li>Upload it to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate Noreferrer through the Plugins menu in WordPress.<\/li>\n<\/ol>\n\n<p>That's all. For maximum compatibility, both <code>rel=\"noreferrer\"<\/code>, <code>referrer=\"no-referrer\"<\/code> and meta referrer are enabled by default. You can disable any one of them under Settings -&gt; Noreferrer. Particularly meta referrer <em>might<\/em> cause problems if other scripts\/plugins depend on the referer [sic]\u00a0header. You can also whitelist domains that you <em>do<\/em> want to send referrer information to.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Why should I use this?<\/dt>\n<dd><p>Because you might care about the privacy of your users.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Minor bug fix.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added meta referrer support. This is enabled by default, hence the major version change. Also added support for whitelisting and support for elements of type area, img and iframe.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A simple privacy-enhancing plugin to stop browsers from sending referrer information.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/36380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=36380"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/andersju"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=36380"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=36380"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=36380"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=36380"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=36380"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=36380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}