This repository was archived by the owner on Apr 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +23
-35
lines changed Expand file tree Collapse file tree 4 files changed +23
-35
lines changed Original file line number Diff line number Diff line change 4949
5050<style >
5151 .radio-indent {
52- margin-left : 40 px ;
52+ margin-left : 24 px ;
5353 }
5454
5555 .option {
7474 .current-tab-text {
7575 /* Font size scales between 14px and 18px based on the viewport width */
7676 font-size : clamp (14px , 2vw , 18px );
77- overflow : hidden ;
77+ overflow : visible ;
7878 display : -webkit-box ;
79- line-clamp : 2 ;
79+ line-clamp : 4 ;
8080 display : flex ;
8181 flex-direction : column ;
8282 }
Original file line number Diff line number Diff line change 1313 " Flying the coop" ,
1414 ];
1515 let currentTab = $state <chrome .tabs .Tab >();
16- var nextPage: string ;
16+ var nextPage: string = $state ( " fake " ) ;
1717
1818 onMount (async () => {
1919 [currentTab ] = await browser .tabs .query ({
2020 active: true ,
2121 currentWindow: true ,
2222 });
23+
24+ if (
25+ currentTab ?.url ==
26+ " https://newsroom.cisco.com/c/r/newsroom/en/us/a/y2025/m02/cisco-expands-partnership-with-nvidia-to-accelerate-ai-adoption-in-the-enterprise.html"
27+ ) {
28+ console .log (" this should run" );
29+ nextPage = " real" ;
30+ } else if (
31+ currentTab ?.url ==
32+ " https://theonion.com/lockheed-martin-develops-giant-tactical-rubber-spider/"
33+ ) {
34+ console .log (" this should not run :(" );
35+ nextPage = " fake" ;
36+ }
2337 });
24- if (
25- currentTab ?.url ==
26- " https://newsroom.cisco.com/c/r/newsroom/en/us/a/y2025/m02/cisco-expands-partnership-with-nvidia-to-accelerate-ai-adoption-in-the-enterprise.html"
27- ) {
28- // Handle specific URL case
29- nextPage = " real" ;
30- } else if (
31- currentTab ?.url ==
32- " https://theonion.com/lockheed-martin-develops-giant-tactical-rubber-spider/"
33- ) {
34- nextPage = " fake" ;
35- }
3638 </script >
3739
3840<Wrapper pageTitle =" Fact Checker" >
Original file line number Diff line number Diff line change 2121
2222 <span class =" factuality" >
2323 <!-- 8-ball? -->
24- {factual ? " Likely true " : " Possibly a falsehood " }
24+ {factual ? " Likely True " : " Likely fake " }
2525 </span >
2626
2727 <details class =" details" >
2828 <summary >Sources</summary >
2929 <ul >
3030 <li >
3131 <BlankAnchor
32- href =" https://www.wwt.com/press-release/wwt-has-entered-into-a-definitive-agreement-to-acquire-softchoice"
33- >
34- Official Press Release
35- </BlankAnchor >
36- </li >
37- <li >
38- <BlankAnchor
39- href =" https://www.wwt.com/news/wwt-to-buy-softchoice-in-dollar125b-blockbuster-heres-what-to-know"
32+ href =" https://www.wwt.com/news/cisco-expands-partnership-with-nvidia-to-accelerate-ai-adoption-in-the-enterprise"
4033 >
4134 Official Blogpost
4235 </BlankAnchor >
Original file line number Diff line number Diff line change 2121
2222 <span class =" factuality" >
2323 <!-- 8-ball? -->
24- {factual ? " Likely true " : " Possibly a falsehood " }
24+ {factual ? " Likely True " : " Likely Fake " }
2525 </span >
2626
2727 <details class =" details" >
2828 <summary >Sources</summary >
2929 <ul >
3030 <li >
3131 <BlankAnchor
32- href =" https://www.wwt.com/press-release/wwt-has-entered-into-a-definitive-agreement-to-acquire-softchoice "
32+ href =" https://reutersinstitute.politics.ox.ac.uk/news/onions-head-writer-takes-satire-very-seriously-our-mandate-just-be-funny "
3333 >
34- Official Press Release
35- </BlankAnchor >
36- </li >
37- <li >
38- <BlankAnchor
39- href =" https://www.wwt.com/news/wwt-to-buy-softchoice-in-dollar125b-blockbuster-heres-what-to-know"
40- >
41- Official Blogpost
34+ Article on Source
4235 </BlankAnchor >
4336 </li >
4437 </ul >
You can’t perform that action at this time.
0 commit comments