Add the noreferrer attribute to outbound links
by - Thursday, January 1, 1970 at 12:00 AM

Reply
I like this idea

If someone codes a MyBB Plugin for this I'll pay you $150

https://pompur.in
Reply
Hello @pompompurin & @tilly

The noreferrer attribute is good for specific granular control, but it is easy (and cost free) to do this globally by setting a header from your web server.

For Nginx:

 add_header Referrer-Policy "no-referrer"; 


Edit: I'd also recommend setting other headers which could benefit privacy/security (like CSP), but they're honestly not necessary I like to live on the edge.
Reply
(September 16, 2022, 07:33 PM)way2high Wrote: Hello @pompompurin & @tilly

The noreferrer attribute is good for specific granular control, but it is easy (and cost free) to do this globally by setting a header from your web server.

For Nginx:

 add_header Referrer-Policy "no-referrer"; 


Edit: I'd also recommend setting other headers which could benefit privacy/security (like CSP), but they're honestly not necessary I like to live on the edge.


Oh thanks, that works too. Doing that now.

Thanks, closing as solved.

https://pompur.in
Reply


 Users viewing this thread: Add the noreferrer attribute to outbound links: No users currently viewing.