Hi,
Of course…
Open shariff.php in Notepad++
Go to line-number 34
Make sure to blank the following function to not have it overwrite with a new update:
function shariff3uu_update() {/*
*/}
Go to line 1330:
Make sure to skip the second line of code:
if ( ‘facebook’ !== $service ) {
//$output .= ‘noopener ‘;
}
Add below:
if ( ‘info’ !== $service ) {
$output .= ‘noopener nofollow’;
}
$output .= ‘”‘;
Yes, I know the code is a bit weird and the plugin maker does not respond to support here, which is a shame as his work is pretty good!
The code is a bit illogical but if you do what I did you can just add the line.
So, first you remove the output //$output .= ‘noopener ‘; below the Facebook code.
Than add it back in again $output .= ‘noopener nofollow’; below info !== $service
Test it now in Chrome Lighthouse. Make sure to run the test for Desktop mode and also Mobile and see now that the links DO have the noopener tag.
See that Lighthouse ‘sees’ these tags correctly now and without my edits it does not?
Good luck.
-
This reply was modified 4 years ago by Jon.
-
This reply was modified 4 years ago by Yui.