This commit is contained in:
ashley 2024-08-02 10:52:52 +00:00
parent a43fbf5dfc
commit d383c1ec2f

View file

@ -541,121 +541,120 @@ font-weight: 1000;">You are not alone</h2>
</p> </p>
</div> </div>
<% } %> <% } %>
<<%
<%
const fakeNewsSources = { const fakeNewsSources = {
"InfoWars": { "InfoWars": {
category: "conspiracy", category: "conspiracy",
reason: "InfoWars has been widely criticized for promoting conspiracy theories and false information, such as falsely claiming that the Sandy Hook Elementary School shooting was a hoax.", reason: "InfoWars has been widely criticized for promoting conspiracy theories and false information, such as falsely claiming that the Sandy Hook Elementary School shooting was a hoax.",
search: "InfoWars fact-check" search: "Is it true that InfoWars promotes conspiracy theories and false information?"
}, },
"Breitbart": { "Breitbart": {
category: "conservative", category: "conservative",
reason: "Breitbart is known for its extreme political bias and spreading misleading information, including downplaying the severity of COVID-19.", reason: "Breitbart is known for its extreme political bias and spreading misleading information, including downplaying the severity of COVID-19.",
search: "Breitbart fact-check" search: "Is it true that Breitbart spreads misleading information about COVID-19?"
}, },
"Daily Mail": { "Daily Mail": {
category: "tabloid", category: "tabloid",
reason: "The Daily Mail is frequently criticized for sensationalism and misinformation, such as publishing misleading health and science stories.", reason: "The Daily Mail is frequently criticized for sensationalism and misinformation, such as publishing misleading health and science stories.",
search: "Daily Mail fact-check" search: "Is it true that the Daily Mail publishes misleading health and science stories?"
}, },
"Natural News": { "Natural News": {
category: "pseudoscience", category: "pseudoscience",
reason: "Natural News promotes pseudoscience and conspiracy theories, including false vaccine claims and unverified health information.", reason: "Natural News promotes pseudoscience and conspiracy theories, including false vaccine claims and unverified health information.",
search: "Natural News fact-check" search: "Is it true that Natural News promotes pseudoscience and false vaccine claims?"
}, },
"RT": { "RT": {
category: "state-sponsored", category: "state-sponsored",
reason: "RT is a state-funded media outlet known for promoting Russian government perspectives and biased reporting on international issues.", reason: "RT is a state-funded media outlet known for promoting Russian government perspectives and biased reporting on international issues.",
search: "RT fact-check" search: "Is it true that RT promotes Russian government perspectives and biased reporting?"
}, },
"Sputnik": { "Sputnik": {
category: "state-sponsored", category: "state-sponsored",
reason: "Sputnik spreads Russian state propaganda and publishes misleading information about Western countries.", reason: "Sputnik spreads Russian state propaganda and publishes misleading information about Western countries.",
search: "Sputnik fact-check" search: "Is it true that Sputnik spreads Russian state propaganda?"
}, },
"Before It's News": { "Before It's News": {
category: "conspiracy", category: "conspiracy",
reason: "Before It's News is known for spreading conspiracy theories and fake news, including fabricated stories about global events.", reason: "Before It's News is known for spreading conspiracy theories and fake news, including fabricated stories about global events.",
search: "Before It's News fact-check" search: "Is it true that Before It's News spreads conspiracy theories and fake news?"
}, },
"Your News Wire": { "Your News Wire": {
category: "conspiracy", category: "conspiracy",
reason: "Your News Wire publishes false information and conspiracy theories, including fabricated reports on various topics.", reason: "Your News Wire publishes false information and conspiracy theories, including fabricated reports on various topics.",
search: "Your News Wire fact-check" search: "Is it true that Your News Wire publishes false information and conspiracy theories?"
}, },
"WorldTruth.TV": { "WorldTruth.TV": {
category: "conspiracy", category: "conspiracy",
reason: "WorldTruth.TV spreads conspiracy theories and pseudoscience, including false health information and other dubious claims.", reason: "WorldTruth.TV spreads conspiracy theories and pseudoscience, including false health information and other dubious claims.",
search: "WorldTruth.TV fact-check" search: "Is it true that WorldTruth.TV spreads conspiracy theories and pseudoscience?"
}, },
"NewsPunch": { "NewsPunch": {
category: "conspiracy", category: "conspiracy",
reason: "NewsPunch publishes false information and conspiracy theories, including unsubstantiated claims about political figures.", reason: "NewsPunch publishes false information and conspiracy theories, including unsubstantiated claims about political figures.",
search: "NewsPunch fact-check" search: "Is it true that NewsPunch publishes false information and conspiracy theories?"
}, },
"Civic Tribune": { "Civic Tribune": {
category: "fake-news", category: "fake-news",
reason: "Civic Tribune is known for hoaxes and misinformation, including fabricated stories about political events.", reason: "Civic Tribune is known for hoaxes and misinformation, including fabricated stories about political events.",
search: "Civic Tribune fact-check" search: "Is it true that Civic Tribune is known for hoaxes and misinformation?"
}, },
"The Daily Stormer": { "The Daily Stormer": {
category: "extremist", category: "extremist",
reason: "The Daily Stormer promotes hate speech and extremist views, including anti-Semitic and other hateful content.", reason: "The Daily Stormer promotes hate speech and extremist views, including anti-Semitic and other hateful content.",
search: "The Daily Stormer fact-check" search: "Is it true that The Daily Stormer promotes hate speech and extremist views?"
}, },
"Times of Israel": { "Times of Israel": {
category: "state-sponsored", category: "state-sponsored",
reason: "Times of Israel has faced criticism for biased reporting and spreading propaganda, especially regarding the Israel-Palestine conflict.", reason: "Times of Israel has faced criticism for biased reporting and spreading propaganda, especially regarding the Israel-Palestine conflict.",
search: "Times of Israel fact-check" search: "Is it true that Times of Israel has biased reporting on the Israel-Palestine conflict?"
}, },
"Zero Hedge": { "Zero Hedge": {
category: "conspiracy", category: "conspiracy",
reason: "Zero Hedge promotes conspiracy theories and financial misinformation, including false claims about market events.", reason: "Zero Hedge promotes conspiracy theories and financial misinformation, including false claims about market events.",
search: "Zero Hedge fact-check" search: "Is it true that Zero Hedge promotes conspiracy theories and financial misinformation?"
}, },
"Pravda": { "Pravda": {
category: "state-sponsored", category: "state-sponsored",
reason: "Pravda is a state-run media outlet known for spreading Russian government propaganda with a history of biased reporting on international events.", reason: "Pravda is a state-run media outlet known for spreading Russian government propaganda with a history of biased reporting on international events.",
search: "Pravda fact-check" search: "Is it true that Pravda spreads Russian government propaganda?"
}, },
"Press TV": { "Press TV": {
category: "state-sponsored", category: "state-sponsored",
reason: "Press TV promotes Iranian government propaganda and often spreads biased information about Western countries.", reason: "Press TV promotes Iranian government propaganda and often spreads biased information about Western countries.",
search: "Press TV fact-check" search: "Is it true that Press TV promotes Iranian government propaganda?"
}, },
"Fox News": { "Fox News": {
category: "conservative", category: "conservative",
reason: "Fox News is often criticized for extreme political bias and misinformation, such as its reporting on the 2020 US election.", reason: "Fox News is often criticized for extreme political bias and misinformation, such as its reporting on the 2020 US election.",
search: "Fox News fact-check" search: "Is it true that Fox News has extreme political bias and misinformation?"
}, },
"The Blaze": { "The Blaze": {
category: "conservative", category: "conservative",
reason: "The Blaze promotes right-wing viewpoints and sometimes misleading information, including false claims about political figures.", reason: "The Blaze promotes right-wing viewpoints and sometimes misleading information, including false claims about political figures.",
search: "The Blaze fact-check" search: "Is it true that The Blaze promotes misleading information?"
}, },
"OANN": { "OANN": {
category: "conservative", category: "conservative",
reason: "OANN spreads far-right viewpoints and conspiracy theories, including false claims about election fraud.", reason: "OANN spreads far-right viewpoints and conspiracy theories, including false claims about election fraud.",
search: "OANN fact-check" search: "Is it true that OANN spreads far-right viewpoints and conspiracy theories?"
}, },
"Newsmax": { "Newsmax": {
category: "conservative", category: "conservative",
reason: "Newsmax promotes extreme right-wing perspectives and misinformation, including false claims about the COVID-19 pandemic.", reason: "Newsmax promotes extreme right-wing perspectives and misinformation, including false claims about the COVID-19 pandemic.",
search: "Newsmax fact-check" search: "Is it true that Newsmax promotes extreme right-wing perspectives and misinformation?"
}, },
"Al Jazeera": { "Al Jazeera": {
category: "state-sponsored", category: "state-sponsored",
reason: "Al Jazeera, a Qatar state-funded media outlet, has a history of promoting government viewpoints and biased reporting on Middle Eastern conflicts.", reason: "Al Jazeera, a Qatar state-funded media outlet, has a history of promoting government viewpoints and biased reporting on Middle Eastern conflicts.",
search: "Al Jazeera fact-check" search: "Is it true that Al Jazeera promotes government viewpoints and biased reporting?"
}, },
"The Sun": { "The Sun": {
category: "tabloid", category: "tabloid",
reason: "The Sun is known for sensationalism and often publishes exaggerated or false stories, particularly about celebrities and high-profile topics.", reason: "The Sun is known for sensationalism and often publishes exaggerated or false stories, particularly about celebrities and high-profile topics.",
search: "The Sun fact-check" search: "Is it true that The Sun publishes exaggerated or false stories?"
} }
}; };
>
const normalizedQuery = q.toLowerCase().replace(/\s+/g, ''); const normalizedQuery = q.toLowerCase().replace(/\s+/g, '');
const matchedSource = Object.keys(fakeNewsSources).find(source => normalizedQuery.includes(source.toLowerCase().replace(/\s+/g, ''))); const matchedSource = Object.keys(fakeNewsSources).find(source => normalizedQuery.includes(source.toLowerCase().replace(/\s+/g, '')));
@ -728,7 +727,7 @@ if (q.includes('-debug-news')) {
} }
.debug-icon, .warning-icon { .debug-icon, .warning-icon {
font-size: 30px; font-size: 7em;
} }
.debug-intro, .warning-intro, .warning-tips, .warning-info { .debug-intro, .warning-intro, .warning-tips, .warning-info {