diff --git a/frontend/src/components/DateBlock.js b/frontend/src/components/IntlBlock.js similarity index 76% rename from frontend/src/components/DateBlock.js rename to frontend/src/components/IntlBlock.js index aff261a..055e6c3 100644 --- a/frontend/src/components/DateBlock.js +++ b/frontend/src/components/IntlBlock.js @@ -1,11 +1,11 @@ import ScanBlock from './ScanBlock'; import Table from './Table'; -import { getDate } from './main'; +import { getIntl } from './main'; const DateBlock = () => ( -

Date

- +

Intl

+

Explanation: JavaScript can be used to find information about your hardware. This information can be used to create a fingerprint. diff --git a/frontend/src/components/ScanBlocks.js b/frontend/src/components/ScanBlocks.js index 15d2e6b..b43c45c 100644 --- a/frontend/src/components/ScanBlocks.js +++ b/frontend/src/components/ScanBlocks.js @@ -1,6 +1,6 @@ /* eslint-disable no-unused-vars */ import UserAgentBlock from './UserAgentBlock'; -import DateBlock from './DateBlock'; +import IntlBlock from './IntlBlock'; import OtherBlock from './OtherBlock'; import NavigatorBlock from './NavigatorBlock'; import ScreenBlock from './ScreenBlock'; @@ -14,7 +14,7 @@ import FiltersBlock from './FiltersBlock'; const ScanBlocks = () => ( <> - + diff --git a/frontend/src/components/main.js b/frontend/src/components/main.js index 96aabeb..6251a78 100644 --- a/frontend/src/components/main.js +++ b/frontend/src/components/main.js @@ -9,7 +9,7 @@ export { getScreen, checkScreenProperties, detectTor, - getDate, + getIntl, }; const getDeviceMemory = () => ({ @@ -279,12 +279,12 @@ const getScreen = () => [ getColorDepth(), ]; -const getDateNow = () => ({ - key: 'date', - title: 'Date', - value: Date.now(), - issues: [], -}); +// const getDateNow = () => ({ +// key: 'date', +// title: 'Date', +// value: Date.now(), +// issues: [], +// }); const getCalendar = () => ({ key: 'calendar', @@ -300,14 +300,14 @@ const getTimezone = () => ({ issues: [], }); -const getTimezoneOffset = () => ({ - key: 'timezoneOffset', - title: 'Timezone offset', - value: new Date().getTimezoneOffset(), - issues: [], -}); +// const getTimezoneOffset = () => ({ +// key: 'timezoneOffset', +// title: 'Timezone offset', +// value: new Date().getTimezoneOffset(), +// issues: [], +// }); -const getDate = () => [getCalendar(), getTimezone(), getTimezoneOffset()]; +const getIntl = () => [getCalendar(), getTimezone()]; const detectTor = () => { const date = new Date();