coach-core
Version:
Core package for the Coach.
27 lines (23 loc) • 585 B
JavaScript
(function () {
'use strict';
const offending = [];
let score = 100;
if (globalThis.FB) {
score = 0;
}
return {
id: 'facebook',
title: 'Avoid including Facebook',
description:
"You share share private user information with Facebook that your user hasn't agreed on sharing.",
advice:
score === 0
? 'The page gets content from Facebook. That means you share your users private information with Facebook.'
: '',
score: score,
weight: 8,
severity: 'warn',
offending: offending,
tags: ['privacy']
};
})();