From cef4b4c97daea319abaeb4150c0bcd18a708c3ac Mon Sep 17 00:00:00 2001 From: ashley Date: Thu, 1 Aug 2024 15:03:59 +0000 Subject: [PATCH 1/9] remove stufff --- html/poketube.ejs | 527 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 490 insertions(+), 37 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index ba753777..5de41aa4 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -380,9 +380,6 @@ a[data-onclick="jump_to_time"] { - - - <% if (k.Video.Channel.Name == "7clouds") { %> - + <% if(shortsui) { %> + + <% } %> + + <% if (inv_vid.author.endsWith(' - Topic')) { %> + + <% } %> <% if(dm) { %> @@ -700,28 +1131,16 @@ background-color: #0000; @@ -843,7 +1262,7 @@ if your domain matches this code you are probably in poketube.fun owo:3
Options
- Customize Poke + Customize PokeTube @@ -994,7 +1413,13 @@ Offical Discord Server! :3
- + <% if (!qua) { //TODO - a %> + + <% } else { %> + + <% } %> - -
<% } %> +<% +const fakeNewsSources = { + "InfoWars": { + category: "conspiracy", + reason: "InfoWars has been widely criticized for promoting conspiracy theories and false information. For example, it falsely claimed that the Sandy Hook Elementary School shooting was a hoax.", + link: "https://www.theguardian.com/us-news/2018/oct/15/alex-jones-infowars-sandy-hook" + }, + "Breitbart": { + category: "conservative", + reason: "Breitbart is known for its extreme political bias and has spread misleading information. For instance, it has downplayed the severity of COVID-19 and other critical issues.", + link: "https://www.nytimes.com/2020/03/26/us/politics/breitbart-coronavirus.html" + }, + "Daily Mail": { + category: "tabloid", + reason: "The Daily Mail is frequently criticized for sensationalism and misinformation. For example, it has published misleading health and science stories.", + link: "https://www.theguardian.com/media/2016/jul/21/daily-mail-fake-news-health-claims" + }, + "Natural News": { + category: "pseudoscience", + reason: "Natural News is known for promoting pseudoscience and conspiracy theories, such as false claims about vaccines. It often spreads unverified and harmful information.", + link: "https://www.factcheck.org/2021/01/natural-news-promotes-unfounded-claims-about-covid-19-vaccines/" + }, + "RT": { + category: "state-sponsored", + reason: "RT is a state-funded media outlet known for promoting Russian government perspectives and has been criticized for biased reporting on international issues.", + link: "https://www.bbc.com/news/world-europe-32123616" + }, + "Sputnik": { + category: "state-sponsored", + reason: "Sputnik, like RT, is known for spreading Russian state propaganda and publishing misleading information about Western countries.", + link: "https://www.reuters.com/article/us-usa-russia-propaganda-idUSKBN1K30NK" + }, + "Before It's News": { + category: "conspiracy", + reason: "Before It's News is known for spreading conspiracy theories and fake news, including fabricated stories about global events.", + link: "https://www.snopes.com/fact-check/before-its-news/" + }, + "Your News Wire": { + category: "conspiracy", + reason: "Your News Wire is known for publishing false information and conspiracy theories, including fabricated reports on various topics.", + link: "https://www.politifact.com/factchecks/2018/dec/14/your-news-wire/fake-news-purveyor-yournewswire-rebrands-itself-ne/" + }, + "WorldTruth.TV": { + category: "conspiracy", + reason: "WorldTruth.TV is known for spreading conspiracy theories and pseudoscience, including false health information and other dubious claims.", + link: "https://mediabiasfactcheck.com/worldtruth-tv/" + }, + "NewsPunch": { + category: "conspiracy", + reason: "NewsPunch is known for publishing false information and conspiracy theories, including unsubstantiated claims about political figures.", + link: "https://www.politifact.com/factchecks/2018/dec/14/newspunch/fake-news-purveyor-yournewswire-rebrands-itself-ne/" + }, + "Civic Tribune": { + category: "fake-news", + reason: "Civic Tribune is a fake news site known for hoaxes and misinformation, including fabricated stories about political events.", + link: "https://www.snopes.com/fact-check/civic-tribune-hoaxes/" + }, + "The Daily Stormer": { + category: "extremist", + reason: "The Daily Stormer is known for promoting hate speech and extremist views, including anti-Semitic and other hateful content.", + link: "https://www.adl.org/resources/backgrounders/daily-stormer" + }, + "Times of Israel": { + category: "state-sponsored", + reason: "Times of Israel has been criticized for biased reporting and spreading propaganda, particularly regarding the Israel-Palestine conflict.", + link: "https://www.theguardian.com/world/2018/jul/19/times-of-israel-criticism-jewish-nation-state-law" + }, + "Zero Hedge": { + category: "conspiracy", + reason: "Zero Hedge is known for promoting conspiracy theories and financial misinformation, including false claims about market events.", + link: "https://www.bbc.com/news/technology-57001905" + }, + "Pravda": { + 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.", + link: "https://www.bbc.com/news/world-europe-32123616" + }, + "Press TV": { + category: "state-sponsored", + reason: "Press TV is known for promoting Iranian government propaganda and often spreads biased information about Western countries.", + link: "https://www.reuters.com/investigates/special-report/usa-iran-press-tv/" + }, + "Fox News": { + category: "conservative", + reason: "Fox News is often criticized for extreme political bias and misinformation. For example, it has faced scrutiny for its reporting on the 2020 US election.", + link: "https://www.nytimes.com/2020/11/13/business/media/fox-news-election.html" + }, + "The Blaze": { + category: "conservative", + reason: "The Blaze is known for promoting right-wing viewpoints and sometimes misleading information, including false claims about political figures.", + link: "https://www.washingtonpost.com/lifestyle/style/the-blaze-the-conservative-news-site-glenn-beck-started-in-2010-is-no-more/2020/06/16/84506e54-b0a2-11ea-856d-5054296735e5_story.html" + }, + "OANN": { + category: "conservative", + reason: "OANN is known for spreading far-right viewpoints and conspiracy theories, including false claims about election fraud.", + link: "https://www.nytimes.com/2021/03/11/us/oann-dominion.html" + }, + "Newsmax": { + category: "conservative", + reason: "Newsmax has been criticized for promoting extreme right-wing perspectives and misinformation, including false claims about the COVID-19 pandemic.", + link: "https://www.reuters.com/article/us-usa-election-newsmax-idUSKBN28S2L6" + }, + "Al Jazeera": { + category: "state-sponsored", + reason: "Al Jazeera is a Qatar state-funded media outlet with a history of promoting government viewpoints. It has faced criticism for biased reporting on Middle Eastern conflicts.", + link: "https://www.theguardian.com/world/2017/jun/23/al-jazeera-journalists-qatari-state-funded-network" + }, + "The Sun": { + category: "tabloid", + reason: "The Sun is known for sensationalism and often publishes exaggerated or false stories, particularly about celebrities and other high-profile topics.", + link: "https://www.bbc.com/news/entertainment-arts-53292953" + } +}; + +// Normalize search query +const normalizedQuery = q.toLowerCase().replace(/\s+/g, ''); +const matchedSource = Object.keys(fakeNewsSources).find(source => normalizedQuery.includes(source.toLowerCase().replace(/\s+/g, ''))); + +if (q.includes('-showall')) { +%> + +
+ +<% } else if (matchedSource) { %> + +
+

+ 🚫
+ Be Cautious with This Source +

+

+ Hai there! It looks like you might be looking at info from <%= matchedSource %>, which is known for spreading fake news or propaganda. +

+

+ Here are some quick tips to check if what you're reading is legit: +

+
    +
  • Check the source's rep: Reliable sites usually have a good track record for being accurate and fair.
  • +
  • See if other reputable sites are reporting the same news: If it's just one place, be cautious.
  • +
  • Use fact-checking sites: Try Snopes or FactCheck.org.
  • +
  • Look at the publication date: Make sure it's current and not out of context.
  • +
  • Check for links and citations: Good articles usually back up their claims with evidence.
  • +
+

+ For more info on why <%= matchedSource %> might not be reliable, check out these sources: +

+ +
+ +<% } %> + <% if (q.includes("whats your eta")) { %> From 92b398809f689d208091daf98b1b6cc1f21fec09 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 2 Aug 2024 10:40:50 +0000 Subject: [PATCH 3/9] :3 --- html/search.ejs | 186 +++++++++++++++++++++++++++++++----------------- 1 file changed, 120 insertions(+), 66 deletions(-) diff --git a/html/search.ejs b/html/search.ejs index eab557ab..bcb63deb 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -546,117 +546,116 @@ font-weight: 1000;">You are not alone const fakeNewsSources = { "InfoWars": { category: "conspiracy", - reason: "InfoWars has been widely criticized for promoting conspiracy theories and false information. For example, it falsely claimed that the Sandy Hook Elementary School shooting was a hoax.", - link: "https://www.theguardian.com/us-news/2018/oct/15/alex-jones-infowars-sandy-hook" + 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" }, "Breitbart": { category: "conservative", - reason: "Breitbart is known for its extreme political bias and has spread misleading information. For instance, it has downplayed the severity of COVID-19 and other critical issues.", - link: "https://www.nytimes.com/2020/03/26/us/politics/breitbart-coronavirus.html" + reason: "Breitbart is known for its extreme political bias and spreading misleading information, including downplaying the severity of COVID-19.", + search: "Breitbart fact-check" }, "Daily Mail": { category: "tabloid", - reason: "The Daily Mail is frequently criticized for sensationalism and misinformation. For example, it has published misleading health and science stories.", - link: "https://www.theguardian.com/media/2016/jul/21/daily-mail-fake-news-health-claims" + reason: "The Daily Mail is frequently criticized for sensationalism and misinformation, such as publishing misleading health and science stories.", + search: "Daily Mail fact-check" }, "Natural News": { category: "pseudoscience", - reason: "Natural News is known for promoting pseudoscience and conspiracy theories, such as false claims about vaccines. It often spreads unverified and harmful information.", - link: "https://www.factcheck.org/2021/01/natural-news-promotes-unfounded-claims-about-covid-19-vaccines/" + reason: "Natural News promotes pseudoscience and conspiracy theories, including false vaccine claims and unverified health information.", + search: "Natural News fact-check" }, "RT": { category: "state-sponsored", - reason: "RT is a state-funded media outlet known for promoting Russian government perspectives and has been criticized for biased reporting on international issues.", - link: "https://www.bbc.com/news/world-europe-32123616" + reason: "RT is a state-funded media outlet known for promoting Russian government perspectives and biased reporting on international issues.", + search: "RT fact-check" }, "Sputnik": { category: "state-sponsored", - reason: "Sputnik, like RT, is known for spreading Russian state propaganda and publishing misleading information about Western countries.", - link: "https://www.reuters.com/article/us-usa-russia-propaganda-idUSKBN1K30NK" + reason: "Sputnik spreads Russian state propaganda and publishes misleading information about Western countries.", + search: "Sputnik fact-check" }, "Before It's News": { category: "conspiracy", reason: "Before It's News is known for spreading conspiracy theories and fake news, including fabricated stories about global events.", - link: "https://www.snopes.com/fact-check/before-its-news/" + search: "Before It's News fact-check" }, "Your News Wire": { category: "conspiracy", - reason: "Your News Wire is known for publishing false information and conspiracy theories, including fabricated reports on various topics.", - link: "https://www.politifact.com/factchecks/2018/dec/14/your-news-wire/fake-news-purveyor-yournewswire-rebrands-itself-ne/" + reason: "Your News Wire publishes false information and conspiracy theories, including fabricated reports on various topics.", + search: "Your News Wire fact-check" }, "WorldTruth.TV": { category: "conspiracy", - reason: "WorldTruth.TV is known for spreading conspiracy theories and pseudoscience, including false health information and other dubious claims.", - link: "https://mediabiasfactcheck.com/worldtruth-tv/" + reason: "WorldTruth.TV spreads conspiracy theories and pseudoscience, including false health information and other dubious claims.", + search: "WorldTruth.TV fact-check" }, "NewsPunch": { category: "conspiracy", - reason: "NewsPunch is known for publishing false information and conspiracy theories, including unsubstantiated claims about political figures.", - link: "https://www.politifact.com/factchecks/2018/dec/14/newspunch/fake-news-purveyor-yournewswire-rebrands-itself-ne/" + reason: "NewsPunch publishes false information and conspiracy theories, including unsubstantiated claims about political figures.", + search: "NewsPunch fact-check" }, "Civic Tribune": { category: "fake-news", - reason: "Civic Tribune is a fake news site known for hoaxes and misinformation, including fabricated stories about political events.", - link: "https://www.snopes.com/fact-check/civic-tribune-hoaxes/" + reason: "Civic Tribune is known for hoaxes and misinformation, including fabricated stories about political events.", + search: "Civic Tribune fact-check" }, "The Daily Stormer": { category: "extremist", - reason: "The Daily Stormer is known for promoting hate speech and extremist views, including anti-Semitic and other hateful content.", - link: "https://www.adl.org/resources/backgrounders/daily-stormer" + reason: "The Daily Stormer promotes hate speech and extremist views, including anti-Semitic and other hateful content.", + search: "The Daily Stormer fact-check" }, "Times of Israel": { category: "state-sponsored", - reason: "Times of Israel has been criticized for biased reporting and spreading propaganda, particularly regarding the Israel-Palestine conflict.", - link: "https://www.theguardian.com/world/2018/jul/19/times-of-israel-criticism-jewish-nation-state-law" + 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" }, "Zero Hedge": { category: "conspiracy", - reason: "Zero Hedge is known for promoting conspiracy theories and financial misinformation, including false claims about market events.", - link: "https://www.bbc.com/news/technology-57001905" + reason: "Zero Hedge promotes conspiracy theories and financial misinformation, including false claims about market events.", + search: "Zero Hedge fact-check" }, "Pravda": { 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.", - link: "https://www.bbc.com/news/world-europe-32123616" + 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" }, "Press TV": { category: "state-sponsored", - reason: "Press TV is known for promoting Iranian government propaganda and often spreads biased information about Western countries.", - link: "https://www.reuters.com/investigates/special-report/usa-iran-press-tv/" + reason: "Press TV promotes Iranian government propaganda and often spreads biased information about Western countries.", + search: "Press TV fact-check" }, "Fox News": { category: "conservative", - reason: "Fox News is often criticized for extreme political bias and misinformation. For example, it has faced scrutiny for its reporting on the 2020 US election.", - link: "https://www.nytimes.com/2020/11/13/business/media/fox-news-election.html" + 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" }, "The Blaze": { category: "conservative", - reason: "The Blaze is known for promoting right-wing viewpoints and sometimes misleading information, including false claims about political figures.", - link: "https://www.washingtonpost.com/lifestyle/style/the-blaze-the-conservative-news-site-glenn-beck-started-in-2010-is-no-more/2020/06/16/84506e54-b0a2-11ea-856d-5054296735e5_story.html" + reason: "The Blaze promotes right-wing viewpoints and sometimes misleading information, including false claims about political figures.", + search: "The Blaze fact-check" }, "OANN": { category: "conservative", - reason: "OANN is known for spreading far-right viewpoints and conspiracy theories, including false claims about election fraud.", - link: "https://www.nytimes.com/2021/03/11/us/oann-dominion.html" + reason: "OANN spreads far-right viewpoints and conspiracy theories, including false claims about election fraud.", + search: "OANN fact-check" }, "Newsmax": { category: "conservative", - reason: "Newsmax has been criticized for promoting extreme right-wing perspectives and misinformation, including false claims about the COVID-19 pandemic.", - link: "https://www.reuters.com/article/us-usa-election-newsmax-idUSKBN28S2L6" + reason: "Newsmax promotes extreme right-wing perspectives and misinformation, including false claims about the COVID-19 pandemic.", + search: "Newsmax fact-check" }, "Al Jazeera": { category: "state-sponsored", - reason: "Al Jazeera is a Qatar state-funded media outlet with a history of promoting government viewpoints. It has faced criticism for biased reporting on Middle Eastern conflicts.", - link: "https://www.theguardian.com/world/2017/jun/23/al-jazeera-journalists-qatari-state-funded-network" + 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" }, "The Sun": { category: "tabloid", - reason: "The Sun is known for sensationalism and often publishes exaggerated or false stories, particularly about celebrities and other high-profile topics.", - link: "https://www.bbc.com/news/entertainment-arts-53292953" + 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" } }; -// Normalize search query const normalizedQuery = q.toLowerCase().replace(/\s+/g, ''); const matchedSource = Object.keys(fakeNewsSources).find(source => normalizedQuery.includes(source.toLowerCase().replace(/\s+/g, ''))); @@ -664,17 +663,17 @@ if (q.includes('-showall')) { %>
-

- 🔍 Debug mode ! +

+ 🔍 Debug Info

-

+

Here are all the sources and their details:

-
    +
      <% Object.keys(fakeNewsSources).forEach(source => { %> -
    • +
    • <%= source %> - <%= fakeNewsSources[source].reason %>
      - Read more + Find more info
    • <% }); %>
    @@ -683,34 +682,89 @@ if (q.includes('-showall')) { <% } else if (matchedSource) { %>
    -

    - 🚫
    - Be Cautious with This Source +

    + 🚫 +
    Be Cautious with This Source

    -

    +

    Hai there! It looks like you might be looking at info from <%= matchedSource %>, which is known for spreading fake news or propaganda.

    -

    +

    Here are some quick tips to check if what you're reading is legit:

    -
      -
    • Check the source's rep: Reliable sites usually have a good track record for being accurate and fair.
    • -
    • See if other reputable sites are reporting the same news: If it's just one place, be cautious.
    • -
    • Use fact-checking sites: Try Snopes or FactCheck.org.
    • -
    • Look at the publication date: Make sure it's current and not out of context.
    • -
    • Check for links and citations: Good articles usually back up their claims with evidence.
    • +
        +
      • Check the source's rep: Reliable sites usually have a good track record for being accurate and fair.
      • +
      • See if other reputable sites are reporting the same news: If it's just one place, be cautious.
      • +
      • Use fact-checking sites: Try Snopes or FactCheck.org.
      • +
      • Look at the publication date: Make sure it's current and not out of context.
      • +
      • Check for links and citations: Good articles usually back up their claims with evidence.
      -

      - For more info on why <%= matchedSource %> might not be reliable, check out these sources: +

      + For more info on why <%= matchedSource %> might not be reliable, check out a search for:

      -
    <% } %> + + + <% if (q.includes("whats your eta")) { %> From fb8b797891ee567100c891dc7a84c3597f889ed4 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 2 Aug 2024 10:43:40 +0000 Subject: [PATCH 4/9] a --- html/search.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/search.ejs b/html/search.ejs index bcb63deb..e91e0b76 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -724,7 +724,7 @@ if (q.includes('-showall')) { font-size: 24px; text-align: left; font-weight: bold; - color: #333; + color: #fff; } .debug-icon, .warning-icon { @@ -733,7 +733,7 @@ if (q.includes('-showall')) { .debug-intro, .warning-intro, .warning-tips, .warning-info { font-size: 16px; - color: #555; + color: #fff; margin: 10px 0; } From a43fbf5dfc3141ee713465291837378faa977388 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 2 Aug 2024 10:48:18 +0000 Subject: [PATCH 5/9] fix css stuff --- html/search.ejs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/html/search.ejs b/html/search.ejs index e91e0b76..ffbf9234 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -659,7 +659,7 @@ const fakeNewsSources = { const normalizedQuery = q.toLowerCase().replace(/\s+/g, ''); const matchedSource = Object.keys(fakeNewsSources).find(source => normalizedQuery.includes(source.toLowerCase().replace(/\s+/g, ''))); -if (q.includes('-showall')) { +if (q.includes('-debug-news')) { %>
    @@ -720,11 +720,11 @@ if (q.includes('-showall')) { } .debug-title, .warning-title { - font-family: 'PokeTube Flex', sans-serif; - font-size: 24px; - text-align: left; - font-weight: bold; - color: #fff; + font-family: 'PokeTube Flex'; + font-size: large; + text-align: left; + font-stretch: ultra-expanded; + font-weight: 1000; } .debug-icon, .warning-icon { @@ -757,7 +757,7 @@ if (q.includes('-showall')) { } .tips-list { - background-color: #f9f9f9; + background-color: #111; border: 1px solid #ddd; border-radius: 5px; padding: 15px; From d383c1ec2fb1c57c1068f1005552252c81bb8e7c Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 2 Aug 2024 10:52:52 +0000 Subject: [PATCH 6/9] ehe :3 --- html/search.ejs | 51 ++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/html/search.ejs b/html/search.ejs index ffbf9234..3011504b 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -541,121 +541,120 @@ font-weight: 1000;">You are not alone

    <% } %> - -<% +<<% const fakeNewsSources = { "InfoWars": { 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.", - search: "InfoWars fact-check" + search: "Is it true that InfoWars promotes conspiracy theories and false information?" }, "Breitbart": { category: "conservative", 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": { category: "tabloid", 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": { category: "pseudoscience", 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": { category: "state-sponsored", 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": { category: "state-sponsored", 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": { category: "conspiracy", 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": { category: "conspiracy", 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": { category: "conspiracy", 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": { category: "conspiracy", 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": { category: "fake-news", 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": { category: "extremist", 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": { category: "state-sponsored", 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": { category: "conspiracy", 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": { 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.", - search: "Pravda fact-check" + search: "Is it true that Pravda spreads Russian government propaganda?" }, "Press TV": { category: "state-sponsored", 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": { category: "conservative", 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": { category: "conservative", 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": { category: "conservative", 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": { category: "conservative", 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": { 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.", - search: "Al Jazeera fact-check" + search: "Is it true that Al Jazeera promotes government viewpoints and biased reporting?" }, "The Sun": { category: "tabloid", 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 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 { - font-size: 30px; + font-size: 7em; } .debug-intro, .warning-intro, .warning-tips, .warning-info { From c264af305dca0b3607086e3580935e4b216c4d54 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 2 Aug 2024 10:53:59 +0000 Subject: [PATCH 7/9] lmao --- html/search.ejs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/search.ejs b/html/search.ejs index 3011504b..39aaaa33 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -541,7 +541,8 @@ font-weight: 1000;">You are not alone

<% } %> -<<% + +<% const fakeNewsSources = { "InfoWars": { category: "conspiracy", From 4ac19500e3e0d2ff7a5ddbbdf142be2fab971986 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 2 Aug 2024 10:54:38 +0000 Subject: [PATCH 8/9] Update html/search.ejs --- html/search.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/search.ejs b/html/search.ejs index 39aaaa33..e7b1003f 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -655,7 +655,7 @@ const fakeNewsSources = { search: "Is it true that The Sun publishes exaggerated or false stories?" } }; -> + const normalizedQuery = q.toLowerCase().replace(/\s+/g, ''); const matchedSource = Object.keys(fakeNewsSources).find(source => normalizedQuery.includes(source.toLowerCase().replace(/\s+/g, ''))); From 7ea1d894950c753964f9a2858b7c77c67fb4d4e6 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 2 Aug 2024 11:12:28 +0000 Subject: [PATCH 9/9] ehe --- html/search.ejs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/html/search.ejs b/html/search.ejs index e7b1003f..c6fa1533 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -541,7 +541,6 @@ font-weight: 1000;">You are not alone

<% } %> - <% const fakeNewsSources = { "InfoWars": { @@ -564,7 +563,7 @@ const fakeNewsSources = { reason: "Natural News promotes pseudoscience and conspiracy theories, including false vaccine claims and unverified health information.", search: "Is it true that Natural News promotes pseudoscience and false vaccine claims?" }, - "RT": { + "RT news": { category: "state-sponsored", reason: "RT is a state-funded media outlet known for promoting Russian government perspectives and biased reporting on international issues.", search: "Is it true that RT promotes Russian government perspectives and biased reporting?" @@ -705,6 +704,8 @@ if (q.includes('-debug-news')) { + +

wrong filter? Report :3

<% } %> @@ -720,11 +721,11 @@ if (q.includes('-debug-news')) { } .debug-title, .warning-title { - font-family: 'PokeTube Flex'; - font-size: large; - text-align: left; - font-stretch: ultra-expanded; - font-weight: 1000; + font-family: 'PokeTube Flex'; + font-size: large; + text-align: left; + font-stretch: ultra-expanded; + font-weight: 1000; } .debug-icon, .warning-icon {