|
10 | 10 |
|
11 | 11 | const { data: about } = useSWR<BackendAbout>(`${RV_API_URL}/v4/about`);
|
12 | 12 | let referrer: string | null = $state(null);
|
| 13 | + let websiteUrl: string | null = $state(null); |
| 14 | +
|
| 15 | + $effect(() => { |
| 16 | + if ($about) websiteUrl = $about.socials[0].url; |
| 17 | + }); |
13 | 18 |
|
14 | 19 | onMount(() => {
|
15 | 20 | referrer = document.referrer || window.location.href;
|
|
32 | 37 | <section class="hero">
|
33 | 38 | <h1>
|
34 | 39 | You may be a victim of<br />
|
35 |
| - <span class="good"><a href={$about?.socials[0].url}>ReVanced</a></span> |
| 40 | + <span class="good"><a href={websiteUrl}>ReVanced</a></span> |
36 | 41 | <span class="bad">counterfeit</span>
|
37 | 42 | </h1>
|
38 | 43 | <p>
|
|
45 | 50 | <h2>What is going on?</h2>
|
46 | 51 | <p>
|
47 | 52 | Some counterfeiters have been trying to impersonate
|
48 |
| - <span class="good"><a href={$about?.socials[0].url}>ReVanced</a></span> |
| 53 | + <span class="good"><a href={websiteUrl}>ReVanced</a></span> |
49 | 54 | by creating fake websites and took advantage of this by creating
|
50 | 55 | <span class="bad">counterfeit</span>
|
51 | 56 | versions, which are designed to look official but are not.
|
52 | 57 | </p>
|
53 | 58 | <p>
|
54 |
| - <span class="good"><a href={$about?.socials[0].url}>ReVanced</a></span> has aquired a couple |
55 |
| - of domains that were previously used by counterfeiters via a |
| 59 | + <span class="good"><a href={websiteUrl}>ReVanced</a></span> has aquired a couple of domains |
| 60 | + that were previously used by counterfeiters via a |
56 | 61 | <a href="https://www.wipo.int/amc/en/domains/guide/#What_is_the">
|
57 | 62 | Uniform Domain Name Dispute Resolution
|
58 | 63 | </a>.
|
59 | 64 | <br />
|
60 | 65 | The counterfeit domains are now redirecting to this page. If you were redirected here, it means
|
61 | 66 | you may have been a victim of counterfeit.
|
62 | 67 | </p>
|
63 |
| - <a href={$about?.socials[0].url}> |
64 |
| - Visit the official website at <span class="good">{$about?.socials[0].url}</span> |
| 68 | + <a href={websiteUrl}> |
| 69 | + Visit the official website at <span class="good">{websiteUrl}</span> |
65 | 70 | </a>
|
66 | 71 | </section>
|
67 | 72 |
|
|
74 | 79 | <ul>
|
75 | 80 | <li>
|
76 | 81 | You visited counterfeit website that is not
|
77 |
| - <span class="good"><a href={$about?.socials[0].url}>revanced.app</a></span> |
| 82 | + <span class="good"><a href={websiteUrl}>revanced.app</a></span> |
78 | 83 | (PS: You just came from <span class="probably-bad">{referrer}</span>).
|
79 | 84 | </li>
|
80 | 85 | <li>
|
81 | 86 | You downloaded ReVanced from any website
|
82 | 87 | <strong>other than</strong>
|
83 |
| - <span class="good"><a href={$about?.socials[0].url}>revanced.app</a></span>. |
| 88 | + <span class="good"><a href={websiteUrl}>revanced.app</a></span>. |
84 | 89 | </li>
|
85 | 90 | <li>You used a pre-patched APK not obtained officially.</li>
|
86 | 91 | </ul>
|
|
94 | 99 | <h2>Known counterfeits</h2>
|
95 | 100 | <p>
|
96 | 101 | These are the known counterfeit domains that have been used to impersonate
|
97 |
| - <span class="good"><a href={$about?.socials[0].url}>ReVanced</a></span>. |
| 102 | + <span class="good"><a href={websiteUrl}>ReVanced</a></span>. |
98 | 103 | </p>
|
99 | 104 | <ul>
|
100 | 105 | <li>
|
101 | 106 | <span class="bad">revanced.net</span>(Now redirects to
|
102 |
| - <span class="good"><a href={$about?.socials[0].url}>revanced.app</a></span>) |
| 107 | + <span class="good"><a href={websiteUrl}>revanced.app</a></span>) |
103 | 108 | </li>
|
104 | 109 | <li>
|
105 | 110 | <span class="bad">revanced.dev</span> (Now redirects to
|
106 |
| - <span class="good"><a href={$about?.socials[0].url}>revanced.app</a></span>) |
| 111 | + <span class="good"><a href={websiteUrl}>revanced.app</a></span>) |
107 | 112 | </li>
|
108 | 113 | <li><span class="bad">revanced.to</span></li>
|
109 | 114 | <li><span class="bad">revancedextended.com</span></li>
|
|
118 | 123 | <section>
|
119 | 124 | <h2>I downloaded counterfeit, what should I do?</h2>
|
120 | 125 | <p>
|
121 |
| - If you downloaded a <span class="good"><a href={$about?.socials[0].url}>ReVanced</a></span> version |
122 |
| - from one of the websites listed above or any unofficial source, you are strongly recommend to: |
| 126 | + If you downloaded a <span class="good"><a href={websiteUrl}>ReVanced</a></span> version from |
| 127 | + one of the websites listed above or any unofficial source, you are strongly recommend to: |
123 | 128 | </p>
|
124 | 129 | <ul>
|
125 | 130 | <li>Uninstall the counterfeit version.</li>
|
126 | 131 |
|
127 | 132 | <li>Change passwords for any accounts accessed while using the counterfeit app.</li>
|
128 | 133 | <li>Run a full security check on your device and accounts.</li>
|
129 | 134 | <li>
|
130 |
| - <a href={$about?.socials[0].url}> |
131 |
| - Visit the official website at <span class="good">{$about?.socials[0].url}</span> |
| 135 | + <a href={websiteUrl}> |
| 136 | + Visit the official website at <span class="good">{websiteUrl}</span> |
132 | 137 | </a> and get the official version.
|
133 | 138 | </li>
|
134 | 139 | </ul>
|
|
0 commit comments