├── .gitignore ├── LICENSE ├── README.md ├── biome.json ├── index.html ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── coffee │ └── uv.config.js ├── embed.png ├── games.json ├── globe.svg ├── icon.png ├── shortcuts.json └── sw.js ├── server.ts ├── src ├── components │ ├── game.tsx │ ├── navbar.tsx │ └── shortcut.tsx ├── config.ts ├── index.tsx ├── layout.tsx ├── lib │ ├── aboutblank.ts │ ├── analytics.ts │ ├── bookmarks.ts │ ├── browsingdata.tsx │ ├── cloak.ts │ ├── debug.ts │ ├── panic.ts │ ├── patch.ts │ ├── proxy.ts │ ├── theme.ts │ ├── transport.ts │ ├── types.d.ts │ └── utils.ts ├── routes │ ├── bookmarks.tsx │ ├── faq.tsx │ ├── games.tsx │ ├── home.tsx │ ├── route.tsx │ ├── settings.tsx │ └── shortcuts.tsx ├── style.css └── vite-env.d.ts ├── tailwind.config.ts ├── tsconfig.json └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published 637 | by the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 |

Mocha

4 |
5 | The simplicity and power you expect from a web proxy. 6 | 7 | ## Features 8 | 9 | - [x] Sleek and simple UI 10 | - [x] Browsing data import, export, and deletion 11 | - [x] Bookmarks 12 | - [x] Proxy control bar 13 | - [x] Tab cloaking 14 | - [x] about:blank 15 | - [x] Site shortcuts and games 16 | - [x] Panic key (works inside the proxy) 17 | - [x] Devtools 18 | - [x] End-to-end encryption with Epoxy and Libcurl 19 | - [x] Site compatability alerts and suggestions 20 | - [ ] Script injections (Extensions) 21 | - [ ] Rammerhead 22 | 23 | ## Run locally 24 | 25 | You need [NodeJS](https://nodejs.org) and [Git](https://git-scm.com/download) installed on your system. 26 | 27 | ```sh 28 | # Clone repository and install packages 29 | git clone https://github.com/cafe-labs/mocha.git 30 | npm install 31 | 32 | # Build static files and start the server 33 | npm run start 34 | ``` 35 | 36 | ## Support us 37 | If you like Mocha and would like to support the development, you can donate to me [here](https://buymeacoffee.com/proudparrot2). It helps with server costs, domains, and otherwise financially supports me. 38 | -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", 3 | "organizeImports": { 4 | "enabled": true, 5 | "ignore": [".next", "node_modules", "public/files/*"] 6 | }, 7 | "formatter": { 8 | "indentStyle": "space", 9 | "indentWidth": 2, 10 | "lineWidth": 310, 11 | "ignore": [".next", "node_modules", "public/files/*"] 12 | }, 13 | "javascript": { 14 | "formatter": { 15 | "semicolons": "asNeeded", 16 | "trailingCommas": "none", 17 | "quoteStyle": "single" 18 | } 19 | }, 20 | "linter": { 21 | "ignore": ["dist", ".vite", "node_modules", "public/files/*"], 22 | "enabled": true, 23 | "rules": { 24 | "recommended": true 25 | } 26 | }, 27 | "vcs": { 28 | "enabled": true, 29 | "clientKind": "git", 30 | "useIgnoreFile": true 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Mocha 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mocha", 3 | "private": true, 4 | "version": "2.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "preview": "vite preview", 10 | "start": "tsx server.ts" 11 | }, 12 | "dependencies": { 13 | "@mercuryworkshop/bare-mux": "^2.1.7", 14 | "@mercuryworkshop/epoxy-transport": "^2.1.27", 15 | "@mercuryworkshop/libcurl-transport": "^1.3.14", 16 | "@solidjs/router": "^0.13.6", 17 | "@titaniumnetwork-dev/ultraviolet": "^3.2.10", 18 | "autoprefixer": "^10.4.19", 19 | "clsx": "^2.1.1", 20 | "consola": "^3.2.3", 21 | "daisyui": "^4.12.2", 22 | "express": "^4.19.2", 23 | "fuse.js": "^7.0.0", 24 | "http-proxy": "^1.18.1", 25 | "idb": "^8.0.0", 26 | "lucide-solid": "^0.358.0", 27 | "picocolors": "^1.0.1", 28 | "plausible-tracker": "^0.3.9", 29 | "postcss": "^8.4.38", 30 | "solid-js": "^1.8.17", 31 | "solid-toast": "^0.5.0", 32 | "store2": "^2.14.3", 33 | "tailwindcss": "^3.4.4", 34 | "vite": "^5.3.1", 35 | "vite-plugin-solid": "^2.10.2", 36 | "vite-plugin-static-copy": "^1.0.5", 37 | "wisp-server-node": "^1.1.0" 38 | }, 39 | "devDependencies": { 40 | "@biomejs/biome": "^1.9.4", 41 | "@types/express": "^4.17.21", 42 | "@types/http-proxy": "^1.17.14", 43 | "@types/node": "^20.14.7", 44 | "cross-env": "^7.0.3", 45 | "tsx": "^4.15.7", 46 | "typescript": "^5.5.2" 47 | }, 48 | "packageManager": "pnpm@9.7.0" 49 | } 50 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /public/coffee/uv.config.js: -------------------------------------------------------------------------------- 1 | /*global Ultraviolet*/ 2 | self.__uv$config = { 3 | prefix: '/~/', 4 | encodeUrl: Ultraviolet.codec.xor.encode, 5 | decodeUrl: Ultraviolet.codec.xor.decode, 6 | handler: '/coffee/uv.handler.js', 7 | client: '/coffee/uv.client.js', 8 | bundle: '/coffee/uv.bundle.js', 9 | config: '/coffee/uv.config.js', 10 | sw: '/coffee/uv.sw.js' 11 | } 12 | -------------------------------------------------------------------------------- /public/embed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cafe-labs/mocha/95a92d5f2e694d550e9ea0fc60cbaad7d4c2d4f2/public/embed.png -------------------------------------------------------------------------------- /public/games.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "1", 4 | "id": "1", 5 | "file": "index.html", 6 | "image": "meta/apple-touch-icon.png" 7 | }, 8 | { 9 | "name": "10 Minutes till dawn", 10 | "id": "10-minutes-till-dawn", 11 | "file": "index.html", 12 | "image": "splash.png" 13 | }, 14 | { 15 | "name": "100 Player Pong", 16 | "id": "100ng", 17 | "file": "index.html", 18 | "image": "100ng.jpg" 19 | }, 20 | { 21 | "name": "1v1.lol", 22 | "id": "1v1lol", 23 | "file": "index.html", 24 | "image": "splash.png" 25 | }, 26 | { 27 | "name": "1v1.space", 28 | "id": "1v1space", 29 | "file": "index.html", 30 | "image": "splash.png" 31 | }, 32 | { 33 | "name": "2048", 34 | "id": "2048", 35 | "file": "index.html", 36 | "image": "thumb.png" 37 | }, 38 | { 39 | "name": "2048 Multitask", 40 | "id": "2048-multitask", 41 | "file": "index.html", 42 | "image": "splash.png" 43 | }, 44 | { 45 | "name": "9007199254740992", 46 | "id": "9007199254740992", 47 | "file": "index.html", 48 | "image": "logo-4.png" 49 | }, 50 | { 51 | "name": "A Dance of Fire and Ice", 52 | "id": "a-dance-of-fire-and-ice", 53 | "file": "index.html", 54 | "image": "splash.png" 55 | }, 56 | { 57 | "name": "A Dark Room", 58 | "id": "adarkroom", 59 | "file": "index.html", 60 | "image": "splash.png" 61 | }, 62 | { 63 | "name": "Achievement Unlocked", 64 | "id": "achievementunlocked", 65 | "file": "index.html", 66 | "image": "achievementunlocked.png" 67 | }, 68 | { 69 | "name": "Adrenaline Challenge", 70 | "id": "adrenalinechallenge", 71 | "file": "index.html", 72 | "image": "adrenalinechallenge.jpg" 73 | }, 74 | { 75 | "name": "Adventure Drivers", 76 | "id": "adventure-drivers", 77 | "file": "index.html", 78 | "image": "splash.png" 79 | }, 80 | { 81 | "name": "Age of Conflict", 82 | "id": "ages-of-conflict", 83 | "file": "index.html", 84 | "image": "splash.jpg" 85 | }, 86 | { 87 | "name": "Alien Hominid", 88 | "id": "alienhominid", 89 | "file": "index.html", 90 | "image": "alienhominid.jpg" 91 | }, 92 | { 93 | "name": "Amidst the Clouds", 94 | "id": "amidst-the-clouds", 95 | "file": "index.html", 96 | "image": "splash.png" 97 | }, 98 | { 99 | "name": "Among Us", 100 | "id": "among-us", 101 | "file": "index.html", 102 | "image": "red.png" 103 | }, 104 | { 105 | "name": "Angry Sharks", 106 | "id": "angry-sharks", 107 | "file": "index.html", 108 | "image": "assets/favicon/icon-512x512.png" 109 | }, 110 | { 111 | "name": "Aquapark slides", 112 | "id": "aquapark-slides", 113 | "file": "index.html", 114 | "image": "splash.png" 115 | }, 116 | { 117 | "name": "Astray", 118 | "id": "astray", 119 | "file": "index.html", 120 | "image": "splash.png" 121 | }, 122 | { 123 | "name": "Avalanche", 124 | "id": "avalanche", 125 | "file": "index.html", 126 | "image": "avalanche.png" 127 | }, 128 | { 129 | "name": "Awesome Tanks 2", 130 | "id": "awesometanks2", 131 | "file": "index.html", 132 | "image": "awesometanks2.jpg" 133 | }, 134 | { 135 | "name": "Backrooms", 136 | "id": "backrooms", 137 | "file": "index.html", 138 | "image": "img/splash.jpg" 139 | }, 140 | { 141 | "name": "Bad Ice Cream", 142 | "id": "bad-ice-cream", 143 | "file": "index.html", 144 | "image": "bad-ice-cream.png" 145 | }, 146 | { 147 | "name": "Bad Ice Cream 2", 148 | "id": "bad-ice-cream-2", 149 | "file": "index.html", 150 | "image": "bad-ice-cream-2.png" 151 | }, 152 | { 153 | "name": "Bad Ice Cream 3", 154 | "id": "bad-ice-cream-3", 155 | "file": "index.html", 156 | "image": "bad-ice-cream-3.png" 157 | }, 158 | { 159 | "name": "Baldi's Basics", 160 | "id": "baldis-basics", 161 | "file": "index.html", 162 | "image": "splash.png" 163 | }, 164 | { 165 | "name": "Ballistic Chickens", 166 | "id": "ballistic-chickens", 167 | "file": "index.html", 168 | "image": "logo.png" 169 | }, 170 | { 171 | "name": "Basket Random", 172 | "id": "basket-random", 173 | "file": "index.html", 174 | "image": "splash.jpeg" 175 | }, 176 | { 177 | "name": "Basketball Stars", 178 | "id": "basketball-stars", 179 | "file": "index.html", 180 | "image": "assets/images/basketball-stars.png" 181 | }, 182 | { 183 | "name": "Basketbros.io", 184 | "id": "basketbros-io", 185 | "file": "index.html", 186 | "image": "thumb.jpg" 187 | }, 188 | { 189 | "name": "Battle for Gondor", 190 | "id": "battleforgondor", 191 | "file": "index.html", 192 | "image": "battleforgondor.JPG" 193 | }, 194 | { 195 | "name": "Big NEON Tower Tiny Square", 196 | "id": "bntts", 197 | "file": "index.html", 198 | "image": "icons/icon-256.png" 199 | }, 200 | { 201 | "name": "Big Red Button", 202 | "id": "bigredbutton", 203 | "file": "index.html", 204 | "image": "bigredbutton.png" 205 | }, 206 | { 207 | "name": "Big Tower Tiny Square", 208 | "id": "btts", 209 | "file": "index.html", 210 | "image": "images.png" 211 | }, 212 | { 213 | "name": "Bitlife", 214 | "id": "bitlife", 215 | "file": "index.html", 216 | "image": "logo.png" 217 | }, 218 | { 219 | "name": "Black Hole Square", 220 | "id": "blacholesquare", 221 | "file": "index.html", 222 | "image": "icon.png" 223 | }, 224 | { 225 | "name": "Black Knight", 226 | "id": "blackknight", 227 | "file": "index.html", 228 | "image": "blackknight.png" 229 | }, 230 | { 231 | "name": "Bloons TD", 232 | "id": "bloonstd", 233 | "file": "index.html", 234 | "image": "bloonstd.jpg" 235 | }, 236 | { 237 | "name": "Bloons TD 2", 238 | "id": "bloonstd2", 239 | "file": "index.html", 240 | "image": "bloonstd2.png" 241 | }, 242 | { 243 | "name": "Bloxors", 244 | "id": "bloxors", 245 | "file": "index.html", 246 | "image": "block.png" 247 | }, 248 | { 249 | "name": "Bob the Robber 2", 250 | "id": "bobtherobber2", 251 | "file": "index.html", 252 | "image": "splash.jpeg" 253 | }, 254 | { 255 | "name": "Box Head", 256 | "id": "boxhead2play", 257 | "file": "index.html", 258 | "image": "boxhead2play.jpg" 259 | }, 260 | { 261 | "name": "Boxing Random", 262 | "id": "boxing-random", 263 | "file": "index.html", 264 | "image": "512x512.jpg" 265 | }, 266 | { 267 | "name": "Breaking the Bank", 268 | "id": "breakingthebank", 269 | "file": "index.html", 270 | "image": "breakingthebank.png" 271 | }, 272 | { 273 | "name": "Burger and Frights", 274 | "id": "burger-and-frights", 275 | "file": "index.html", 276 | "image": "splash.png" 277 | }, 278 | { 279 | "name": "CS:GO Clicker", 280 | "id": "csgo-clicker", 281 | "file": "index.html", 282 | "image": "images/vanguard.png" 283 | }, 284 | { 285 | "name": "Cannon Basketball 4", 286 | "id": "cannon-basketball-4", 287 | "file": "index.html", 288 | "image": "img/splash.png" 289 | }, 290 | { 291 | "name": "Canyon Defense", 292 | "id": "canyondefense", 293 | "file": "index.html", 294 | "image": "canyondefense.png" 295 | }, 296 | { 297 | "name": "Cars Simulator", 298 | "id": "cars-simulator", 299 | "file": "index.html", 300 | "image": "splash.png" 301 | }, 302 | { 303 | "name": "Cell Machine", 304 | "id": "cell-machine", 305 | "file": "index.html", 306 | "image": "img/te9nDu.png" 307 | }, 308 | { 309 | "name": "Champion Archer", 310 | "id": "championarcher", 311 | "file": "index.html", 312 | "image": "championarcher.png" 313 | }, 314 | { 315 | "name": "Champion Island", 316 | "id": "champion-island", 317 | "file": "index.html", 318 | "image": "splash.png" 319 | }, 320 | { 321 | "name": "Chill Radio", 322 | "id": "chill-radio", 323 | "file": "index.html", 324 | "image": "img/icon.png" 325 | }, 326 | { 327 | "name": "Chrome Dino", 328 | "id": "chrome-dino", 329 | "file": "index.html", 330 | "image": "icons/icon-256.png" 331 | }, 332 | { 333 | "name": "Cluster Rush", 334 | "id": "cluster-rush", 335 | "file": "index.html", 336 | "image": "splash.png" 337 | }, 338 | { 339 | "name": "Connect 3", 340 | "id": "connect3", 341 | "file": "index.html", 342 | "image": "connect3.png" 343 | }, 344 | { 345 | "name": "Cookie Clicker", 346 | "id": "cookie-clicker", 347 | "file": "index.html", 348 | "image": "cookie1.jpeg" 349 | }, 350 | { 351 | "name": "Core Ball", 352 | "id": "core-ball", 353 | "file": "index.html", 354 | "image": "pr_source.png" 355 | }, 356 | { 357 | "name": "CraftMine", 358 | "id": "craftmine", 359 | "file": "index.html", 360 | "image": "images/craftmine.png" 361 | }, 362 | { 363 | "name": "Creative Kill Chamber", 364 | "id": "creativekillchamber", 365 | "file": "index.html", 366 | "image": "creativekillchamber.jpg" 367 | }, 368 | { 369 | "name": "Crossy Road", 370 | "id": "crossyroad", 371 | "file": "index.html", 372 | "image": "crossyroad.png" 373 | }, 374 | { 375 | "name": "Cubefield", 376 | "id": "cubefield", 377 | "file": "index.html", 378 | "image": "assets/unnamed.png" 379 | }, 380 | { 381 | "name": "Cupcake 2048", 382 | "id": "cupcake2048", 383 | "file": "index.html", 384 | "image": "favicon.png" 385 | }, 386 | { 387 | "name": "Cut the Rope", 388 | "id": "ctr", 389 | "file": "index.html", 390 | "image": "logo.png" 391 | }, 392 | { 393 | "name": "Cut the Rope Holiday", 394 | "id": "ctr-holiday", 395 | "file": "index.html", 396 | "image": "Holiday_Gift.webp" 397 | }, 398 | { 399 | "name": "Cut the Rope Time Travel", 400 | "id": "ctr-tr", 401 | "file": "index.html", 402 | "image": "logo.png" 403 | }, 404 | { 405 | "name": "Dante", 406 | "id": "dante", 407 | "file": "index.html", 408 | "image": "splash.png" 409 | }, 410 | { 411 | "name": "Deal or No Deal", 412 | "id": "deal-or-no-deal", 413 | "file": "index.html", 414 | "image": "index.jpg" 415 | }, 416 | { 417 | "name": "Death Run 3D", 418 | "id": "death-run-3d", 419 | "file": "index.html", 420 | "image": "img/death.png" 421 | }, 422 | { 423 | "name": "Defend the Tank", 424 | "id": "defend-the-tank", 425 | "file": "index.html", 426 | "image": "images/splash.jpg" 427 | }, 428 | { 429 | "name": "Doctor Acorn 2", 430 | "id": "doctor-acorn2", 431 | "file": "index.html", 432 | "image": "splash.jpg" 433 | }, 434 | { 435 | "name": "Doge 2048", 436 | "id": "doge2048", 437 | "file": "index.html", 438 | "image": "meta/apple-touch-icon.png" 439 | }, 440 | { 441 | "name": "DogeMiner", 442 | "id": "DogeMiner", 443 | "file": "index.html", 444 | "image": "img/dogeminer_300x300.png" 445 | }, 446 | { 447 | "name": "Doodle Jump", 448 | "id": "doodle-jump", 449 | "file": "index.html", 450 | "image": "doodle.png" 451 | }, 452 | { 453 | "name": "Double Wires", 454 | "id": "doublewires", 455 | "file": "index.html", 456 | "image": "doublewires.png" 457 | }, 458 | { 459 | "name": "Dragons vs Bricks", 460 | "id": "dragon-vs-bricks", 461 | "file": "index.html", 462 | "image": "icon.jpg" 463 | }, 464 | { 465 | "name": "Draw the Hill", 466 | "id": "draw-the-hill", 467 | "file": "index.html", 468 | "image": "icons/icon-512.png" 469 | }, 470 | { 471 | "name": "Drift Hunters", 472 | "id": "drift-hunters", 473 | "file": "index.html", 474 | "image": "drift-hunters.png" 475 | }, 476 | { 477 | "name": "Drive Mad", 478 | "id": "drive-mad", 479 | "file": "index.html", 480 | "image": "logo.jpg" 481 | }, 482 | { 483 | "name": "Duck Life", 484 | "id": "ducklife1", 485 | "file": "index.html", 486 | "image": "ducklife.png" 487 | }, 488 | { 489 | "name": "Duck Life 2", 490 | "id": "ducklife2", 491 | "file": "index.html", 492 | "image": "ducklife2.png" 493 | }, 494 | { 495 | "name": "Duck Life 3", 496 | "id": "ducklife3", 497 | "file": "index.html", 498 | "image": "duck.png" 499 | }, 500 | { 501 | "name": "Duck Life 4", 502 | "id": "ducklife4", 503 | "file": "index.html", 504 | "image": "splash.jpg" 505 | }, 506 | { 507 | "name": "Eaglercraft 1.5", 508 | "id": "minecraft-15", 509 | "file": "index.html", 510 | "image": "splash.jpeg" 511 | }, 512 | { 513 | "name": "Eaglercraft 1.8", 514 | "id": "minecraft-18", 515 | "file": "index.html", 516 | "image": "splash.png" 517 | }, 518 | { 519 | "name": "Edge Let's surf", 520 | "id": "edge-surf", 521 | "file": "index.html", 522 | "image": "splash.png" 523 | }, 524 | { 525 | "name": "Edge Not Found", 526 | "id": "edgenotfound", 527 | "file": "index.html", 528 | "image": "edge.png" 529 | }, 530 | { 531 | "name": "Eel Slap", 532 | "id": "eel-slap", 533 | "file": "index.html", 534 | "image": "eel-slap.png" 535 | }, 536 | { 537 | "name": "Elastic Man", 538 | "id": "elasticman", 539 | "file": "index.html", 540 | "image": "elasticman.jpg" 541 | }, 542 | { 543 | "name": "Endless War 3", 544 | "id": "endlesswar3", 545 | "file": "index.html", 546 | "image": "endlesswar3.png" 547 | }, 548 | { 549 | "name": "Escaping The Prison", 550 | "id": "escapingtheprison", 551 | "file": "index.html", 552 | "image": "escapingtheprison.jpg" 553 | }, 554 | { 555 | "name": "Evil Glitch", 556 | "id": "evil-glitch", 557 | "file": "index.html", 558 | "image": "evil.png" 559 | }, 560 | { 561 | "name": "Evolution", 562 | "id": "evolution", 563 | "file": "index.html", 564 | "image": "splash.png" 565 | }, 566 | { 567 | "name": "Exo", 568 | "id": "exo", 569 | "file": "index.html", 570 | "image": "img/small.jpg" 571 | }, 572 | { 573 | "name": "Factory Balls Forever", 574 | "id": "factoryballs", 575 | "file": "index.html", 576 | "image": "images/splash.png" 577 | }, 578 | { 579 | "name": "Fair Squares", 580 | "id": "fairsquares", 581 | "file": "index.html", 582 | "image": "index.apple-touch-icon.png" 583 | }, 584 | { 585 | "name": "Fake Virus", 586 | "id": "fake-virus", 587 | "file": "index.html", 588 | "image": "icon.png" 589 | }, 590 | { 591 | "name": "Fancy Pants Adventures", 592 | "id": "fancypantsadventures", 593 | "file": "index.html", 594 | "image": "fancypantsadventure.png" 595 | }, 596 | { 597 | "name": "Fireboy and Watergirl", 598 | "id": "fireboywatergirlforesttemple", 599 | "file": "index.html", 600 | "image": "logo.jpeg" 601 | }, 602 | { 603 | "name": "Five Nights at Winston's", 604 | "id": "fnaw", 605 | "file": "index.html", 606 | "image": "splash.png" 607 | }, 608 | { 609 | "name": "Flappy 2048", 610 | "id": "flappy-2048", 611 | "file": "index.html", 612 | "image": "meta/apple-touch-icon.png" 613 | }, 614 | { 615 | "name": "Flappy Bird", 616 | "id": "flappy-bird", 617 | "file": "index.html", 618 | "image": "assets/thumb.png" 619 | }, 620 | { 621 | "name": "Flash Tetris", 622 | "id": "flashtetris", 623 | "file": "index.html", 624 | "image": "flashtetris.png" 625 | }, 626 | { 627 | "name": "Flippy Fish", 628 | "id": "flippy-fish", 629 | "file": "index.html", 630 | "image": "2022_10_28_0jt_Kleki.png" 631 | }, 632 | { 633 | "name": "Friday Night Funkin'", 634 | "id": "fridaynightfunkin", 635 | "file": "index.html", 636 | "image": "fnf-icon.jpg" 637 | }, 638 | { 639 | "name": "Froggy's Battle", 640 | "id": "froggys-battle", 641 | "file": "index.html", 642 | "image": "splash.png" 643 | }, 644 | { 645 | "name": "Fruit Ninja", 646 | "id": "fruitninja", 647 | "file": "index.html", 648 | "image": "FruitNinjaTeaser.jpg" 649 | }, 650 | { 651 | "name": "Frying Nemo", 652 | "id": "frying-nemo", 653 | "file": "index.html", 654 | "image": "splash.png" 655 | }, 656 | { 657 | "name": "GOODNIGHT", 658 | "id": "goodnight", 659 | "file": "index.html", 660 | "image": "goodnight.jpg" 661 | }, 662 | { 663 | "name": "Game Inside a Game Inside a Game...", 664 | "id": "game-inside", 665 | "file": "index.html", 666 | "image": "img/display.png" 667 | }, 668 | { 669 | "name": "Generic Fishing Game", 670 | "id": "generic-fishing-game", 671 | "file": "index.html", 672 | "image": "splash.png" 673 | }, 674 | { 675 | "name": "Geometry Dash (Scratch)", 676 | "id": "geodash", 677 | "file": "index.html", 678 | "image": "geoscratchicon.png" 679 | }, 680 | { 681 | "name": "George and the Printer", 682 | "id": "georgeandtheprinter", 683 | "file": "index.html", 684 | "image": "img/SnDTEn.png" 685 | }, 686 | { 687 | "name": "Getaway Shootout", 688 | "id": "getaway-shootout", 689 | "file": "index.html", 690 | "image": "img/images.jpg" 691 | }, 692 | { 693 | "name": "Gimme the Airpod", 694 | "id": "gimme-the-airpod", 695 | "file": "index.html", 696 | "image": "img/logo.png" 697 | }, 698 | { 699 | "name": "Glass City", 700 | "id": "glass-city", 701 | "file": "index.html", 702 | "image": "image.png" 703 | }, 704 | { 705 | "name": "Go Ball", 706 | "id": "go-ball", 707 | "file": "index.html", 708 | "image": "game.jpg" 709 | }, 710 | { 711 | "name": "Google Feud", 712 | "id": "google-feud", 713 | "file": "index.html", 714 | "image": "splash.png" 715 | }, 716 | { 717 | "name": "Google Snake", 718 | "id": "google-snake", 719 | "file": "index.html", 720 | "image": "img/snake.png" 721 | }, 722 | { 723 | "name": "Gravity Soccer", 724 | "id": "gravity-soccer", 725 | "file": "index.html", 726 | "image": "splash.png" 727 | }, 728 | { 729 | "name": "Grey Box Testing", 730 | "id": "greybox", 731 | "file": "index.html", 732 | "image": "ico.png" 733 | }, 734 | { 735 | "name": "Grind Craft", 736 | "id": "grindcraft", 737 | "file": "index.html", 738 | "image": "img/splash.png" 739 | }, 740 | { 741 | "name": "Hacker Typer", 742 | "id": "hackertype", 743 | "file": "index.html", 744 | "image": "logo192.png" 745 | }, 746 | { 747 | "name": "Handshakes", 748 | "id": "handshakes", 749 | "file": "index.html", 750 | "image": "splaher.png" 751 | }, 752 | { 753 | "name": "Happy Hop", 754 | "id": "happy-hop", 755 | "file": "index.html", 756 | "image": "splash.png" 757 | }, 758 | { 759 | "name": "Helicopter", 760 | "id": "helicopter", 761 | "file": "index.html", 762 | "image": "helicopter.png" 763 | }, 764 | { 765 | "name": "Hex Empire", 766 | "id": "hexempire", 767 | "file": "index.html", 768 | "image": "hexempire.jpg" 769 | }, 770 | { 771 | "name": "HexGL", 772 | "id": "HexGL", 773 | "file": "index.html", 774 | "image": "Hexgl-image-1.jpg" 775 | }, 776 | { 777 | "name": "Hextris", 778 | "id": "hextris", 779 | "file": "index.html", 780 | "image": "images/hextris-logo.png" 781 | }, 782 | { 783 | "name": "Hover Bot Arena", 784 | "id": "hba", 785 | "file": "index.html", 786 | "image": "hoverbotarena.JPG" 787 | }, 788 | { 789 | "name": "Hungry Lamu", 790 | "id": "hungry-lamu", 791 | "file": "index.html", 792 | "image": "splash.png" 793 | }, 794 | { 795 | "name": "Idle Breakout", 796 | "id": "idle-breakout", 797 | "file": "index.html", 798 | "image": "img/thumbnail.png" 799 | }, 800 | { 801 | "name": "Idle Shark", 802 | "id": "idle-shark", 803 | "file": "index.html", 804 | "image": "img/sharkgame.png" 805 | }, 806 | { 807 | "name": "Impossible Quiz", 808 | "id": "impossiblequiz", 809 | "file": "index.html", 810 | "image": "impossiblequiz.png" 811 | }, 812 | { 813 | "name": "Interactive Buddy", 814 | "id": "interactivebuddy", 815 | "file": "index.html", 816 | "image": "interactivebuddy.jpg" 817 | }, 818 | { 819 | "name": "Jetpack Joyride", 820 | "id": "jetpack-joyride", 821 | "file": "index.html", 822 | "image": "splash.jpg" 823 | }, 824 | { 825 | "name": "Just One Boss", 826 | "id": "just-one-boss", 827 | "file": "index.html", 828 | "image": "pv1Gr5.png" 829 | }, 830 | { 831 | "name": "JustFall.lol", 832 | "id": "just-fall", 833 | "file": "index.html", 834 | "image": "unnamed.png" 835 | }, 836 | { 837 | "name": "Kitchen gun game", 838 | "id": "kitchen-gun-game", 839 | "file": "index.html", 840 | "image": "splash.png" 841 | }, 842 | { 843 | "name": "Kitten Cannon", 844 | "id": "kittencannon", 845 | "file": "index.html", 846 | "image": "kittencannon.png" 847 | }, 848 | { 849 | "name": "Knife Master", 850 | "id": "knife-master", 851 | "file": "index.html", 852 | "image": "512x512.jpg" 853 | }, 854 | { 855 | "name": "Krunker", 856 | "id": "krunker", 857 | "file": "index.html", 858 | "image": "img/krunker-io.jpg" 859 | }, 860 | { 861 | "name": "Learn To Fly", 862 | "id": "learntofly", 863 | "file": "index.html", 864 | "image": "learntofly.png" 865 | }, 866 | { 867 | "name": "Learn to fly 2", 868 | "id": "learntofly2", 869 | "file": "index.html", 870 | "image": "learn-to-fly-2.jpg" 871 | }, 872 | { 873 | "name": "Madalin Stunt Cars 2", 874 | "id": "madalin-stunt-cars-2", 875 | "file": "index.html", 876 | "image": "img/logo.jpg" 877 | }, 878 | { 879 | "name": "Madalin Stunt Cars 3", 880 | "id": "madalin-stunt-cars-3", 881 | "file": "index.html", 882 | "image": "img/index.jpg" 883 | }, 884 | { 885 | "name": "Mario", 886 | "id": "mario", 887 | "file": "index.html", 888 | "image": "Theme/Mario.gif" 889 | }, 890 | { 891 | "name": "Marvin Spectrum", 892 | "id": "marvinspectrum", 893 | "file": "index.html", 894 | "image": "marvinspectrum.png" 895 | }, 896 | { 897 | "name": "Matrix Rampage", 898 | "id": "matrixrampage", 899 | "file": "index.html", 900 | "image": "matrixrampage.jpg" 901 | }, 902 | { 903 | "name": "Meme 2048", 904 | "id": "meme2048", 905 | "file": "index.html", 906 | "image": "img/rickroll.gif" 907 | }, 908 | { 909 | "name": "Merge Round Racers", 910 | "id": "merge-round-racers", 911 | "file": "index.html", 912 | "image": "splash.png" 913 | }, 914 | { 915 | "name": "Mine Blocks", 916 | "id": "mineblocks", 917 | "file": "index.html", 918 | "image": "splash.png" 919 | }, 920 | { 921 | "name": "Minecraft Classic", 922 | "id": "minecraft-classic", 923 | "file": "index.html", 924 | "image": "pack.png" 925 | }, 926 | { 927 | "name": "Minecraft Classic Hacks", 928 | "id": "minecraftbeta", 929 | "file": "index.html", 930 | "image": "bg_main.png" 931 | }, 932 | { 933 | "name": "Minesweeper", 934 | "id": "minesweeper", 935 | "file": "index.html", 936 | "image": "img/minesweeper.png" 937 | }, 938 | { 939 | "name": "Mini-putt", 940 | "id": "miniputt", 941 | "file": "index.html", 942 | "image": "miniputt.png" 943 | }, 944 | { 945 | "name": "Missiles", 946 | "id": "missiles", 947 | "file": "index.html", 948 | "image": "miss.png" 949 | }, 950 | { 951 | "name": "MotoX3M", 952 | "id": "motox3m", 953 | "file": "index.html", 954 | "image": "splash.jpg" 955 | }, 956 | { 957 | "name": "MotoX3M Pool", 958 | "id": "motox3m-pool", 959 | "file": "index.html", 960 | "image": "splash.jpg" 961 | }, 962 | { 963 | "name": "MotoX3M Spooky", 964 | "id": "motox3m-spooky", 965 | "file": "index.html", 966 | "image": "splash.jpeg" 967 | }, 968 | { 969 | "name": "MotoX3M Winter", 970 | "id": "motox3m-winter", 971 | "file": "index.html", 972 | "image": "download.jpeg" 973 | }, 974 | { 975 | "name": "My Rusty Submarine", 976 | "id": "my-rusty-submarine", 977 | "file": "index.html", 978 | "image": "splash.png" 979 | }, 980 | { 981 | "name": "NS-Shaft", 982 | "id": "ns-shaft", 983 | "file": "index.html", 984 | "image": "favicon.png" 985 | }, 986 | { 987 | "name": "Neon Square Resurgence", 988 | "id": "nsresurgence", 989 | "file": "index.html", 990 | "image": "neon.png" 991 | }, 992 | { 993 | "name": "Ninja", 994 | "id": "ninja", 995 | "file": "index.html", 996 | "image": "logo1.png" 997 | }, 998 | { 999 | "name": "Ninja vs Evil Corp", 1000 | "id": "ninjavsevilcorp", 1001 | "file": "index.html", 1002 | "image": "splash.png" 1003 | }, 1004 | { 1005 | "name": "Noob Steve Parkour", 1006 | "id": "noob-steve-parkour", 1007 | "file": "index.html", 1008 | "image": "512x512.jpg" 1009 | }, 1010 | { 1011 | "name": "Offline Paradise", 1012 | "id": "OfflineParadise", 1013 | "file": "index.html", 1014 | "image": "assets/icon.jpeg" 1015 | }, 1016 | { 1017 | "name": "Om Nom Bounce", 1018 | "id": "om-bounce", 1019 | "file": "index.html", 1020 | "image": "assets/icon.jpeg" 1021 | }, 1022 | { 1023 | "name": "OvO", 1024 | "id": "ovo", 1025 | "file": "index.html", 1026 | "image": "ovo.png" 1027 | }, 1028 | { 1029 | "name": "POPCAT CLASSIC", 1030 | "id": "popcat-classic", 1031 | "file": "index.html", 1032 | "image": "splash.png" 1033 | }, 1034 | { 1035 | "name": "Pandemic 2", 1036 | "id": "pandemic2", 1037 | "file": "index.html", 1038 | "image": "pandemic2.png" 1039 | }, 1040 | { 1041 | "name": "Papa's Burgeria", 1042 | "id": "papasburgeria", 1043 | "file": "index.html", 1044 | "image": "splash.jpg" 1045 | }, 1046 | { 1047 | "name": "Papa's Pizzaria", 1048 | "id": "papaspizzaria", 1049 | "file": "index.html", 1050 | "image": "papaspizzaria.jpg" 1051 | }, 1052 | { 1053 | "name": "Paper.io 2", 1054 | "id": "paperio2", 1055 | "file": "index.html", 1056 | "image": "images/icon512.png" 1057 | }, 1058 | { 1059 | "name": "Papery Planes", 1060 | "id": "papery-planes", 1061 | "file": "index.html", 1062 | "image": "splash.jpg" 1063 | }, 1064 | { 1065 | "name": "Particle Clicker", 1066 | "id": "particle-clicker", 1067 | "file": "index.html", 1068 | "image": "assets/mobile/original.png" 1069 | }, 1070 | { 1071 | "name": "Pixel Gun Survival", 1072 | "id": "pixel-gun-survival", 1073 | "file": "index.html", 1074 | "image": "512x512.png" 1075 | }, 1076 | { 1077 | "name": "PolyBranch", 1078 | "id": "polybranch", 1079 | "file": "index.html", 1080 | "image": "img/pic1.png" 1081 | }, 1082 | { 1083 | "name": "Portal (Flash)", 1084 | "id": "portalflash", 1085 | "file": "index.html", 1086 | "image": "portaltheflashversion.jpg" 1087 | }, 1088 | { 1089 | "name": "Precision Client (Eaglercraft)", 1090 | "id": "precision-client", 1091 | "file": "index.html", 1092 | "image": "logo.png" 1093 | }, 1094 | { 1095 | "name": "Protektor", 1096 | "id": "protektor", 1097 | "file": "index.html", 1098 | "image": "splash.jpg" 1099 | }, 1100 | { 1101 | "name": "Push The Square", 1102 | "id": "push-the-square", 1103 | "file": "index.html", 1104 | "image": "img/splash.png" 1105 | }, 1106 | { 1107 | "name": "Push Your Luck", 1108 | "id": "push-your-luck", 1109 | "file": "index.html", 1110 | "image": "assets/img/push.png" 1111 | }, 1112 | { 1113 | "name": "Rabbit Samurai", 1114 | "id": "rabbit-samurai", 1115 | "file": "index.html", 1116 | "image": "splash.png" 1117 | }, 1118 | { 1119 | "name": "Rabbit Samurai 2", 1120 | "id": "rabbit-samurai2", 1121 | "file": "index.html", 1122 | "image": "splash.png" 1123 | }, 1124 | { 1125 | "name": "Resent Client (Eaglercraft)", 1126 | "id": "resent-client", 1127 | "file": "index.html", 1128 | "image": "splash.jpg" 1129 | }, 1130 | { 1131 | "name": "Retro Bowl", 1132 | "id": "retro-bowl", 1133 | "file": "index.html", 1134 | "image": "img/icon.jpg" 1135 | }, 1136 | { 1137 | "name": "Riddle School 1", 1138 | "id": "riddleschool", 1139 | "file": "index.html", 1140 | "image": "riddleschool.png" 1141 | }, 1142 | { 1143 | "name": "Riddle School 2", 1144 | "id": "riddleschool2", 1145 | "file": "index.html", 1146 | "image": "riddleschool2.png" 1147 | }, 1148 | { 1149 | "name": "Riddle School 3", 1150 | "id": "riddleschool3", 1151 | "file": "index.html", 1152 | "image": "riddleschool3.png" 1153 | }, 1154 | { 1155 | "name": "Riddle School 4", 1156 | "id": "riddleschool4", 1157 | "file": "index.html", 1158 | "image": "riddleschool4.png" 1159 | }, 1160 | { 1161 | "name": "Riddle School 5", 1162 | "id": "riddleschool5", 1163 | "file": "index.html", 1164 | "image": "riddleschool5.png" 1165 | }, 1166 | { 1167 | "name": "Riddle School Transfer 1", 1168 | "id": "riddletransfer", 1169 | "file": "index.html", 1170 | "image": "riddletransfer.png" 1171 | }, 1172 | { 1173 | "name": "Riddle School Transfer 2", 1174 | "id": "riddletransfer2", 1175 | "file": "index.html", 1176 | "image": "riddletransfer2.png" 1177 | }, 1178 | { 1179 | "name": "Rolling Forests", 1180 | "id": "rolling-forests", 1181 | "file": "index.html", 1182 | "image": "icon.png" 1183 | }, 1184 | { 1185 | "name": "Rolly Vortex", 1186 | "id": "rolly-vortex", 1187 | "file": "index.html", 1188 | "image": "icon-256.png" 1189 | }, 1190 | { 1191 | "name": "Rooftop Snipers", 1192 | "id": "rooftop-snipers", 1193 | "file": "index.html", 1194 | "image": "img/preview.png" 1195 | }, 1196 | { 1197 | "name": "Ruffle Emulator", 1198 | "id": "ruffle", 1199 | "file": "index.html", 1200 | "image": "splash.png" 1201 | }, 1202 | { 1203 | "name": "SHUTTLEDECK", 1204 | "id": "shuttledeck", 1205 | "file": "index.html", 1206 | "image": "splash.png" 1207 | }, 1208 | { 1209 | "name": "Sand Game", 1210 | "id": "sand-game", 1211 | "file": "index.html", 1212 | "image": "sand.png" 1213 | }, 1214 | { 1215 | "name": "Sandboxels", 1216 | "id": "sandboxels", 1217 | "file": "index.html", 1218 | "image": "sandboxels.jpg" 1219 | }, 1220 | { 1221 | "name": "Santy is Home", 1222 | "id": "santy-is-home", 1223 | "file": "index.html", 1224 | "image": "splash.png" 1225 | }, 1226 | { 1227 | "name": "Scrap Metal 3", 1228 | "id": "scrapmetal", 1229 | "file": "index.html", 1230 | "image": "img/splash.png" 1231 | }, 1232 | { 1233 | "name": "Shellshockers", 1234 | "id": "shellshockers", 1235 | "file": "index.html", 1236 | "image": "img/favicon.jpg" 1237 | }, 1238 | { 1239 | "name": "Shot in the Dark", 1240 | "id": "shotinthedark", 1241 | "file": "index.html", 1242 | "image": "shot.png" 1243 | }, 1244 | { 1245 | "name": "Sky Car Stunt", 1246 | "id": "sky-car-stunt", 1247 | "file": "index.html", 1248 | "image": "512x512.jpg" 1249 | }, 1250 | { 1251 | "name": "Sleeping Beauty", 1252 | "id": "sleepingbeauty", 1253 | "file": "index.html", 1254 | "image": "splash.png" 1255 | }, 1256 | { 1257 | "name": "Slime Rush TD", 1258 | "id": "slime-rush-td", 1259 | "file": "index.html", 1260 | "image": "splash.png" 1261 | }, 1262 | { 1263 | "name": "Slope", 1264 | "id": "slope", 1265 | "file": "index.html", 1266 | "image": "slope4.jpeg" 1267 | }, 1268 | { 1269 | "name": "Slope 2", 1270 | "id": "slope-2", 1271 | "file": "index.html", 1272 | "image": "slope-2-logo.png" 1273 | }, 1274 | { 1275 | "name": "Slope Ball", 1276 | "id": "slope-ball", 1277 | "file": "index.html", 1278 | "image": "splash.png" 1279 | }, 1280 | { 1281 | "name": "Smash Carts", 1282 | "id": "smashkarts", 1283 | "file": "index.html", 1284 | "image": "images/icon-512.png" 1285 | }, 1286 | { 1287 | "name": "Smoking Barrels", 1288 | "id": "smokingbarrels", 1289 | "file": "index.html", 1290 | "image": "smokingbarrels.jpg" 1291 | }, 1292 | { 1293 | "name": "Snowbattle", 1294 | "id": "snowbattle", 1295 | "file": "index.html", 1296 | "image": "img/logo.png" 1297 | }, 1298 | { 1299 | "name": "Soccer Random", 1300 | "id": "soccer-random", 1301 | "file": "index.html", 1302 | "image": "unnamed.png" 1303 | }, 1304 | { 1305 | "name": "Soccer Skills Euro Cup", 1306 | "id": "soccer-skills", 1307 | "file": "index.html", 1308 | "image": "splash.png" 1309 | }, 1310 | { 1311 | "name": "Soilder Legend", 1312 | "id": "soldier-legend", 1313 | "file": "index.html", 1314 | "image": "images/splash.jpeg" 1315 | }, 1316 | { 1317 | "name": "Solitare", 1318 | "id": "solitaire", 1319 | "file": "index.html", 1320 | "image": "screen-shot.png" 1321 | }, 1322 | { 1323 | "name": "Sort The Court", 1324 | "id": "sort-the-court", 1325 | "file": "index.html", 1326 | "image": "img/splash.png" 1327 | }, 1328 | { 1329 | "name": "Soundboard", 1330 | "id": "soundboard", 1331 | "file": "index.html", 1332 | "image": "img/mlg-favicon.png" 1333 | }, 1334 | { 1335 | "name": "Space Company", 1336 | "id": "space-company", 1337 | "file": "index.html", 1338 | "image": "Icons/SpaceCompanyFavicon.png" 1339 | }, 1340 | { 1341 | "name": "Space Garden", 1342 | "id": "spacegarden", 1343 | "file": "index.html", 1344 | "image": "spl.png" 1345 | }, 1346 | { 1347 | "name": "Stack", 1348 | "id": "stack", 1349 | "file": "index.html", 1350 | "image": "stack.png" 1351 | }, 1352 | { 1353 | "name": "Stack Bump 3D", 1354 | "id": "stack-bump-3d", 1355 | "file": "index.html", 1356 | "image": "thumbnail.jpg" 1357 | }, 1358 | { 1359 | "name": "Starve.io", 1360 | "id": "starve", 1361 | "file": "index.html", 1362 | "image": "img/favicon.png" 1363 | }, 1364 | { 1365 | "name": "Station 141", 1366 | "id": "station-141", 1367 | "file": "index.html", 1368 | "image": "75wxYs.png" 1369 | }, 1370 | { 1371 | "name": "Stealing The Diamond", 1372 | "id": "stealingthediamond", 1373 | "file": "index.html", 1374 | "image": "stealingthediamond.jpg" 1375 | }, 1376 | { 1377 | "name": "Stick Archers", 1378 | "id": "stick-archers", 1379 | "file": "index.html", 1380 | "image": "splash.jpg" 1381 | }, 1382 | { 1383 | "name": "Stick Duel Battle", 1384 | "id": "stick-duel-battle", 1385 | "file": "index.html", 1386 | "image": "512x512.jpg" 1387 | }, 1388 | { 1389 | "name": "Stick Merge", 1390 | "id": "stick-merge", 1391 | "file": "index.html", 1392 | "image": "splash.png" 1393 | }, 1394 | { 1395 | "name": "Stick War", 1396 | "id": "stickwar", 1397 | "file": "index.html", 1398 | "image": "stickwar.jpg" 1399 | }, 1400 | { 1401 | "name": "Stickman Boost", 1402 | "id": "stickman-boost", 1403 | "file": "index.html", 1404 | "image": "base/img1.jpg" 1405 | }, 1406 | { 1407 | "name": "Stickman Golf", 1408 | "id": "stickman-golf", 1409 | "file": "index.html", 1410 | "image": "splash.png" 1411 | }, 1412 | { 1413 | "name": "Stickman Hook", 1414 | "id": "stickman-hook", 1415 | "file": "index.html", 1416 | "image": "unnamed.jpg" 1417 | }, 1418 | { 1419 | "name": "Stickman Survival", 1420 | "id": "Stickman-Survival", 1421 | "file": "index.html", 1422 | "image": "Icon.png" 1423 | }, 1424 | { 1425 | "name": "Storm The House 2", 1426 | "id": "stormthehouse2", 1427 | "file": "index.html", 1428 | "image": "stormthehouse2.jpg" 1429 | }, 1430 | { 1431 | "name": "Subway Surfers", 1432 | "id": "subway-surfers", 1433 | "file": "index.html", 1434 | "image": "img/splash.jpg" 1435 | }, 1436 | { 1437 | "name": "Subway Surfers New York", 1438 | "id": "subway-surfers-ny", 1439 | "file": "index.html", 1440 | "image": "NewYorkIcon.png" 1441 | }, 1442 | { 1443 | "name": "Super Mario 64", 1444 | "id": "sm64", 1445 | "file": "index.html", 1446 | "image": "logo.png" 1447 | }, 1448 | { 1449 | "name": "Super Mario Constuct", 1450 | "id": "supermarioconstruct", 1451 | "file": "index.html", 1452 | "image": "media/icons/icon-128.png" 1453 | }, 1454 | { 1455 | "name": "Superhot", 1456 | "id": "superhot", 1457 | "file": "index.html", 1458 | "image": "hot.jpg" 1459 | }, 1460 | { 1461 | "name": "Surviv.io", 1462 | "id": "surviv", 1463 | "file": "index.html", 1464 | "image": "img/favicon.png" 1465 | }, 1466 | { 1467 | "name": "Sushi unROLL", 1468 | "id": "sushi-unroll", 1469 | "file": "index.html", 1470 | "image": "favicon.png" 1471 | }, 1472 | { 1473 | "name": "Swerve", 1474 | "id": "swerve", 1475 | "file": "index.html", 1476 | "image": "img/favicon.jpg" 1477 | }, 1478 | { 1479 | "name": "Synesthesia", 1480 | "id": "synesthesia", 1481 | "file": "index.html", 1482 | "image": "index.splash.png" 1483 | }, 1484 | { 1485 | "name": "TV Static", 1486 | "id": "tv-static", 1487 | "file": "index.html", 1488 | "image": "static.png" 1489 | }, 1490 | { 1491 | "name": "Table Tennis Ultimate", 1492 | "id": "cnpingpong", 1493 | "file": "index.html", 1494 | "image": "tabletennisultimate.png" 1495 | }, 1496 | { 1497 | "name": "Tactical Assassin 2", 1498 | "id": "tacticalassasin2", 1499 | "file": "index.html", 1500 | "image": "tacticalassassin2.png" 1501 | }, 1502 | { 1503 | "name": "Tactical Weapon Pack 2", 1504 | "id": "tactical-weapon-pack-2", 1505 | "file": "index.html", 1506 | "image": "splash.jpg" 1507 | }, 1508 | { 1509 | "name": "Tank Trouble 2", 1510 | "id": "tank-trouble-2", 1511 | "file": "index.html", 1512 | "image": "tank.jpeg" 1513 | }, 1514 | { 1515 | "name": "Tanuki Sunset", 1516 | "id": "tanuki-sunset", 1517 | "file": "index.html", 1518 | "image": "img/cover.png" 1519 | }, 1520 | { 1521 | "name": "Temple Run 2", 1522 | "id": "temple-run-2", 1523 | "file": "index.html", 1524 | "image": "img/og-icon.png" 1525 | }, 1526 | { 1527 | "name": "The Battle", 1528 | "id": "thebattle", 1529 | "file": "index.html", 1530 | "image": "thebattle.png" 1531 | }, 1532 | { 1533 | "name": "The Final Earth", 1534 | "id": "the-final-earth", 1535 | "file": "index.html", 1536 | "image": "images.png" 1537 | }, 1538 | { 1539 | "name": "The Heist", 1540 | "id": "theheist", 1541 | "file": "index.html", 1542 | "image": "theheist.jpg" 1543 | }, 1544 | { 1545 | "name": "The Hotel", 1546 | "id": "the-hotel", 1547 | "file": "index.html", 1548 | "image": "splash.png" 1549 | }, 1550 | { 1551 | "name": "There Is No Game", 1552 | "id": "there-is-no-game", 1553 | "file": "index.html", 1554 | "image": "logo.png" 1555 | }, 1556 | { 1557 | "name": "This Is The Only Level", 1558 | "id": "thisistheonlylevel", 1559 | "file": "index.html", 1560 | "image": "thisistheonlylevel.png" 1561 | }, 1562 | { 1563 | "name": "Tiny Fishing", 1564 | "id": "tiny-fishing", 1565 | "file": "index.html", 1566 | "image": "thumb.png" 1567 | }, 1568 | { 1569 | "name": "Tiny Islands", 1570 | "id": "tiny-islands", 1571 | "file": "index.html", 1572 | "image": "splash.png" 1573 | }, 1574 | { 1575 | "name": "Toss The Turtle", 1576 | "id": "tosstheturtle", 1577 | "file": "index.html", 1578 | "image": "tosstheturtle.png" 1579 | }, 1580 | { 1581 | "name": "Townscaper", 1582 | "id": "townscaper", 1583 | "file": "index.html", 1584 | "image": "img/cover.jpg" 1585 | }, 1586 | { 1587 | "name": "Tube Jumpers", 1588 | "id": "tube-jumpers", 1589 | "file": "index.html", 1590 | "image": "img/shark.jpg" 1591 | }, 1592 | { 1593 | "name": "Tunnel Rush", 1594 | "id": "tunnel-rush", 1595 | "file": "index.html", 1596 | "image": "img/tunnel.jpg" 1597 | }, 1598 | { 1599 | "name": "Twitch Tetris", 1600 | "id": "twitch-tetris", 1601 | "file": "index.html", 1602 | "image": "logo.png" 1603 | }, 1604 | { 1605 | "name": "VELOCE", 1606 | "id": "veloce", 1607 | "file": "index.html", 1608 | "image": "qN6zkD.png" 1609 | }, 1610 | { 1611 | "name": "Vex 3", 1612 | "id": "vex3", 1613 | "file": "index.html", 1614 | "image": "vex3.png" 1615 | }, 1616 | { 1617 | "name": "Vex 4", 1618 | "id": "vex4", 1619 | "file": "index.html", 1620 | "image": "vex4.png" 1621 | }, 1622 | { 1623 | "name": "Vex 5", 1624 | "id": "vex5", 1625 | "file": "index.html", 1626 | "image": "vex.jpeg" 1627 | }, 1628 | { 1629 | "name": "Vex 6", 1630 | "id": "vex6", 1631 | "file": "index.html", 1632 | "image": "assets/icon.jpeg" 1633 | }, 1634 | { 1635 | "name": "Vex 7", 1636 | "id": "vex7", 1637 | "file": "index.html", 1638 | "image": "assets/icon.jpeg" 1639 | }, 1640 | { 1641 | "name": "Wall Smash", 1642 | "id": "wallsmash", 1643 | "file": "index.html", 1644 | "image": "thumb.png" 1645 | }, 1646 | { 1647 | "name": "Waterworks!", 1648 | "id": "waterworks", 1649 | "file": "index.html", 1650 | "image": "square.png" 1651 | }, 1652 | { 1653 | "name": "Weave Silk", 1654 | "id": "weavesilk", 1655 | "file": "index.html", 1656 | "image": "thumb.png" 1657 | }, 1658 | { 1659 | "name": "WebGL Fluid Sim", 1660 | "id": "webgl-fluid-simulation", 1661 | "file": "index.html", 1662 | "image": "logo.png" 1663 | }, 1664 | { 1665 | "name": "Win the Whitehouse", 1666 | "id": "win-the-whitehouse", 1667 | "file": "index.html", 1668 | "image": "splash.png" 1669 | }, 1670 | { 1671 | "name": "Wolfenstein 3D", 1672 | "id": "wolf3d", 1673 | "file": "index.html", 1674 | "image": "art/wolf3d.png" 1675 | }, 1676 | { 1677 | "name": "Wordle", 1678 | "id": "wordle", 1679 | "file": "index.html", 1680 | "image": "img/logo_512x512.png" 1681 | }, 1682 | { 1683 | "name": "World's Hardest Game", 1684 | "id": "worlds-hardest-game", 1685 | "file": "index.html", 1686 | "image": "images/splash.jpg" 1687 | }, 1688 | { 1689 | "name": "World's Hardest Game 2", 1690 | "id": "worlds-hardest-game-2", 1691 | "file": "index.html", 1692 | "image": "the-worlds-hardest-game-2.jpg" 1693 | }, 1694 | { 1695 | "name": "X Trial Racing", 1696 | "id": "x-trial-racing", 1697 | "file": "index.html", 1698 | "image": "splash.png" 1699 | }, 1700 | { 1701 | "name": "Yoshi's Fabrication Station", 1702 | "id": "yoshifabrication", 1703 | "file": "index.html", 1704 | "image": "icons/icon-512.png" 1705 | }, 1706 | { 1707 | "name": "You Are Jeff Bezos", 1708 | "id": "you-are-bezos", 1709 | "file": "index.html", 1710 | "image": "img/banner.png" 1711 | }, 1712 | { 1713 | "name": "Zombs Royale", 1714 | "id": "zombs-royale", 1715 | "file": "index.html", 1716 | "image": "zomb.png" 1717 | }, 1718 | { 1719 | "name": "circlO", 1720 | "id": "circlo", 1721 | "file": "index.html", 1722 | "image": "img/download.png" 1723 | }, 1724 | { 1725 | "name": "n-gon", 1726 | "id": "n-gon", 1727 | "file": "index.html", 1728 | "image": "bot.png" 1729 | }, 1730 | { 1731 | "name": "xx142-b2exe", 1732 | "id": "xx142-b2exe", 1733 | "file": "index.html", 1734 | "image": "splash.png" 1735 | } 1736 | ] 1737 | -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cafe-labs/mocha/95a92d5f2e694d550e9ea0fc60cbaad7d4c2d4f2/public/icon.png -------------------------------------------------------------------------------- /public/shortcuts.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Discord", 4 | "url": "https://discord.com/app", 5 | "image": "https://d12jofbmgge65s.cloudfront.net/wp-content/uploads/2021/12/wp-app-review-cards_discord.png" 6 | }, 7 | { 8 | "name": "TikTok", 9 | "url": "https://tiktok.com", 10 | "image": "https://d12jofbmgge65s.cloudfront.net/wp-content/uploads/2021/12/wp-app-review-cards-05.png" 11 | }, 12 | { 13 | "name": "YouTube", 14 | "url": "https://youtube.com", 15 | "image": "https://cdn.vox-cdn.com/thumbor/SDe7wQcz6Y7SvBoaBsZyfcb5hno=/0x0:2040x1360/1400x1400/filters:focal(1020x680:1021x681)/cdn.vox-cdn.com/uploads/chorus_asset/file/23986638/acastro_STK092_02.jpg" 16 | }, 17 | { 18 | "name": "Google", 19 | "url": "https://google.com", 20 | "image": "https://play-lh.googleusercontent.com/1-hPxafOxdYpYZEOKzNIkSP43HXCNftVJVttoo4ucl7rsMASXW3Xr6GlXURCubE1tA=w3840-h2160-rw" 21 | }, 22 | { 23 | "name": "Twitch", 24 | "url": "https://twitch.tv", 25 | "image": "https://variety.com/wp-content/uploads/2019/09/twitch_logo.jpg" 26 | }, 27 | { 28 | "name": "Cool Math Games", 29 | "url": "https://coolmathgames.com", 30 | "image": "https://upload.wikimedia.org/wikipedia/en/3/39/Cool_Math_Games_screenshot.png" 31 | }, 32 | { 33 | "name": "Chess.com", 34 | "url": "https://chess.com", 35 | "image": "https://upload.wikimedia.org/wikipedia/en/4/4c/Chess.com_Homepage_%28as_of_December_2017%29.PNG" 36 | }, 37 | { 38 | "name": "GeForce NOW", 39 | "url": "https://play.geforcenow.com", 40 | "image": "https://blogs.nvidia.com/wp-content/uploads/2021/02/GFN.png" 41 | }, 42 | { 43 | "name": "Twitter", 44 | "url": "https://twitter.com", 45 | "image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRC_wqW8HNICg2nSDYlkb-S010wjZrD9yZLeUzKDBF5Ew&s" 46 | }, 47 | { 48 | "name": "GitHub", 49 | "url": "https://github.com", 50 | "image": "https://github.blog/wp-content/uploads/2023/01/1200x640.png?fit=1200%2C640" 51 | }, 52 | { 53 | "name": "neal.fun", 54 | "url": "https://neal.fun", 55 | "image": "https://i.ytimg.com/vi/HHeBwZCJqhM/maxresdefault.jpg" 56 | } 57 | ] 58 | -------------------------------------------------------------------------------- /public/sw.js: -------------------------------------------------------------------------------- 1 | importScripts('/coffee/uv.bundle.js') 2 | importScripts('/coffee/uv.config.js') 3 | importScripts(__uv$config.sw || '/coffee/uv.sw.js') 4 | 5 | self.addEventListener('install', (event) => { 6 | event.waitUntil(self.skipWaiting()) 7 | }) 8 | 9 | const sw = new UVServiceWorker() 10 | 11 | self.addEventListener('fetch', (event) => { 12 | event.respondWith( 13 | (async () => { 14 | if (event.request.url.startsWith(location.origin + __uv$config.prefix)) { 15 | return await sw.fetch(event) 16 | } 17 | return await fetch(event.request) 18 | })() 19 | ) 20 | }) 21 | -------------------------------------------------------------------------------- /server.ts: -------------------------------------------------------------------------------- 1 | import { consola } from 'consola' 2 | import express from 'express' 3 | import httpProxy from 'http-proxy' 4 | import wisp from 'wisp-server-node' 5 | import http from 'node:http' 6 | import path from 'node:path' 7 | import { build } from 'vite' 8 | import type { Socket } from 'node:net' 9 | 10 | const httpServer = http.createServer() 11 | const proxy = httpProxy.createProxyServer() 12 | 13 | const app = express() 14 | const port = process.env.PORT || 3003 15 | 16 | consola.start('Building frontend') 17 | await build() 18 | 19 | app.use(express.static('dist')) 20 | 21 | app.use('/cdn', (req, res) => { 22 | proxy.web(req, res, { 23 | target: 'https://assets.3kh0.net', 24 | changeOrigin: true, 25 | // @ts-ignore 26 | rewritePath: { 27 | '^/cdn': '' 28 | } 29 | }) 30 | }) 31 | 32 | app.get('*', (_req, res) => { 33 | res.sendFile(path.resolve('dist', 'index.html')) 34 | }) 35 | 36 | httpServer.on('request', (req, res) => { 37 | app(req, res) 38 | }) 39 | 40 | httpServer.on('upgrade', (req, socket, head) => { 41 | if (req.url?.startsWith('/wisp/')) { 42 | wisp.routeRequest(req, socket as Socket, head) 43 | } else { 44 | socket.end() 45 | } 46 | }) 47 | 48 | httpServer.on('listening', () => { 49 | consola.info(`Listening on http://localhost:${port}`) 50 | }) 51 | 52 | httpServer.listen({ 53 | port 54 | }) 55 | -------------------------------------------------------------------------------- /src/components/game.tsx: -------------------------------------------------------------------------------- 1 | import { useNavigate } from '@solidjs/router' 2 | import type { GameData } from '../lib/types' 3 | 4 | export default function Game({ game }: { game: GameData }) { 5 | const navigate = useNavigate() 6 | function play() { 7 | const url = `/cdn/${game.id}/${game.file}` 8 | 9 | navigate(`/route/${btoa(url)}?hidecontrolbar=true`) 10 | } 11 | 12 | return ( 13 |
14 |
15 | {game.name} 16 |
17 |
18 |

{game.name}

19 |
20 | 23 |
24 |
25 |
26 | ) 27 | } 28 | -------------------------------------------------------------------------------- /src/components/navbar.tsx: -------------------------------------------------------------------------------- 1 | import { A, useLocation } from '@solidjs/router' 2 | import { Bookmark, Joystick, Layers, Settings } from 'lucide-solid' 3 | import { Show } from 'solid-js' 4 | export default function Navbar() { 5 | const location = useLocation() 6 | 7 | return ( 8 | 9 | 47 | 48 | ) 49 | } 50 | -------------------------------------------------------------------------------- /src/components/shortcut.tsx: -------------------------------------------------------------------------------- 1 | import { useNavigate } from '@solidjs/router' 2 | import type { ShortcutData } from '../lib/types' 3 | 4 | export default function Shortcut({ shortcut }: { shortcut: ShortcutData }) { 5 | const navigate = useNavigate() 6 | function play() { 7 | navigate(`/route/${btoa(shortcut.url)}`) 8 | } 9 | 10 | return ( 11 |
12 |
13 | Game 14 |
15 |
16 |

{shortcut.name}

17 |
18 | 21 |
22 |
23 |
24 | ) 25 | } 26 | -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | themes: ['forest', 'aqua', 'gray', 'dim', 'night', 'bumblebee', 'lemonade', 'luxury', 'sunset', 'amoled'] 3 | } 4 | -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- 1 | import { Route, Router } from '@solidjs/router' 2 | import { render } from 'solid-js/web' 3 | import store from 'store2' 4 | import { handleDebug } from './lib/debug' 5 | import { analytics } from './lib/analytics' 6 | 7 | import Layout from './layout' 8 | import FAQ from './routes/faq' 9 | import Games from './routes/games' 10 | import Home from './routes/home' 11 | import ProxyViewer from './routes/route' 12 | import Settings from './routes/settings' 13 | import Shortcuts from './routes/shortcuts' 14 | import Bookmarks from './routes/bookmarks' 15 | import './style.css' 16 | 17 | analytics.trackPageview() 18 | 19 | store.set( 20 | 'tab', 21 | { 22 | name: null, 23 | icon: null 24 | }, 25 | false 26 | ) 27 | 28 | store.set( 29 | 'panic', 30 | { 31 | key: null, 32 | url: null 33 | }, 34 | false 35 | ) 36 | 37 | store.set( 38 | 'aboutblank', 39 | { 40 | enabled: false 41 | }, 42 | false 43 | ) 44 | 45 | store.set( 46 | 'theme', 47 | { 48 | theme: null 49 | }, 50 | false 51 | ) 52 | 53 | store.set( 54 | 'debug', 55 | { 56 | enabled: false 57 | }, 58 | false 59 | ) 60 | 61 | store.set( 62 | 'devtools', 63 | { 64 | enabled: false 65 | }, 66 | false 67 | ) 68 | 69 | store.set( 70 | 'transport', 71 | { 72 | transport: 'epoxy' 73 | }, 74 | false 75 | ) 76 | 77 | store.set('bookmarks', [], false) 78 | 79 | store.set( 80 | 'searchEngine', 81 | { 82 | engine: 'duckduckgo' 83 | }, 84 | false 85 | ) 86 | 87 | // Debug is here to capture all logs 88 | handleDebug() 89 | 90 | const root = document.getElementById('root') 91 | 92 | if (!root) { 93 | throw new Error('Root not initialized') 94 | } 95 | 96 | render( 97 | () => ( 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | ), 108 | root 109 | ) 110 | -------------------------------------------------------------------------------- /src/layout.tsx: -------------------------------------------------------------------------------- 1 | import { type ParentProps, onCleanup, onMount } from 'solid-js' 2 | import { Toaster } from 'solid-toast' 3 | import Navbar from './components/navbar' 4 | 5 | import { handleAboutBlank } from './lib/aboutblank' 6 | import { handleTabCloak } from './lib/cloak' 7 | import { handlePanicKey } from './lib/panic' 8 | import { handleTheme } from './lib/theme' 9 | import { setupProxy } from './lib/proxy' 10 | import { setBookmarks } from './lib/bookmarks' 11 | import type { Bookmark } from './lib/types' 12 | import store from 'store2' 13 | 14 | export default function Layout(props: ParentProps) { 15 | onMount(async () => { 16 | handleTabCloak() 17 | handleTheme() 18 | handleAboutBlank() 19 | setBookmarks(store('bookmarks') as Bookmark[]) 20 | await setupProxy() 21 | document.addEventListener('keydown', handlePanicKey) 22 | }) 23 | 24 | onCleanup(() => { 25 | document.removeEventListener('keydown', handlePanicKey) 26 | }) 27 | return ( 28 |
29 | 30 | 31 | {props.children} 32 |
33 | ) 34 | } 35 | -------------------------------------------------------------------------------- /src/lib/aboutblank.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { AboutBlankData } from './types' 3 | 4 | export function handleAboutBlank() { 5 | const aboutblankData = store('aboutblank') as AboutBlankData 6 | 7 | if (aboutblankData.enabled && window.self === window.top) { 8 | openAbWindow(window.location.origin) 9 | } 10 | } 11 | 12 | export function openAbWindow(src: string, redirect = true) { 13 | const tab = window.open('about:blank', '_blank') 14 | if (!tab) return 15 | const iframe = tab.document.createElement('iframe') 16 | const stl = iframe.style 17 | stl.border = stl.outline = 'none' 18 | stl.width = '100vw' 19 | stl.height = '100vh' 20 | stl.position = 'fixed' 21 | stl.left = stl.right = stl.top = stl.bottom = '0' 22 | iframe.src = src 23 | tab.document.body.appendChild(iframe) 24 | 25 | if (redirect) window.location.replace('https://classroom.google.com/h') 26 | } 27 | -------------------------------------------------------------------------------- /src/lib/analytics.ts: -------------------------------------------------------------------------------- 1 | import plausible from 'plausible-tracker' 2 | 3 | export const analytics = plausible({ 4 | apiHost: __PRODUCTION__ ? window.location.origin : 'https://analytics.proudparrot2.com', 5 | domain: 'mochaproxy.com', 6 | trackLocalhost: true 7 | }) 8 | -------------------------------------------------------------------------------- /src/lib/bookmarks.ts: -------------------------------------------------------------------------------- 1 | import { createSignal } from 'solid-js' 2 | import type { Bookmark } from './types' 3 | import store from 'store2' 4 | 5 | type Return = { 6 | status: 'added' | 'removed' 7 | } 8 | 9 | export const [bookmarks, setBookmarks] = createSignal([]) 10 | 11 | export function handleBookmark(bookmark: Bookmark): Return { 12 | if (bookmarks().some((value) => value.url === bookmark.url)) { 13 | store( 14 | 'bookmarks', 15 | bookmarks().filter((value) => value.url !== bookmark.url) 16 | ) 17 | 18 | setBookmarks(store('bookmarks')) 19 | 20 | return { 21 | status: 'removed' 22 | } 23 | } 24 | 25 | store('bookmarks', [ 26 | ...bookmarks(), 27 | { 28 | ...bookmark 29 | } 30 | ]) 31 | 32 | setBookmarks(store('bookmarks')) 33 | 34 | return { 35 | status: 'added' 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/lib/browsingdata.tsx: -------------------------------------------------------------------------------- 1 | import { openDB } from 'idb' 2 | import { CircleCheck } from 'lucide-solid' 3 | import toast from 'solid-toast' 4 | import type { BrowsingData } from './types' 5 | import { setImportStatus, setExportStatus } from '../routes/settings' 6 | 7 | export async function exportData() { 8 | setExportStatus(false) 9 | const db = await openDB('__op', 1, { 10 | upgrade(db) { 11 | const store = db.createObjectStore('cookies', { 12 | keyPath: 'id' 13 | }) 14 | store.createIndex('path', 'path') 15 | } 16 | }) 17 | const data: BrowsingData = { 18 | cookies: [], 19 | localStorage: [] 20 | } 21 | 22 | // Local storage 23 | for (const key in localStorage) { 24 | if (key.startsWith('__uv$')) { 25 | const value = localStorage.getItem(key) 26 | if (!value) continue 27 | 28 | data.localStorage?.push({ 29 | key, 30 | value 31 | }) 32 | } 33 | } 34 | 35 | // Cookies 36 | const cookies = await db.getAll('cookies') 37 | data.cookies = cookies 38 | 39 | const link = document.createElement('a') 40 | const file = new Blob([JSON.stringify(data)], { type: 'text/plain' }) 41 | link.href = URL.createObjectURL(file) 42 | link.download = `mocha-export-${Date.now()}.json` 43 | link.click() 44 | URL.revokeObjectURL(link.href) 45 | link.remove() 46 | 47 | toast.custom(() => { 48 | return ( 49 |
50 |
51 | 52 | Browsing data exported. 53 |
54 |
55 | ) 56 | }) 57 | 58 | setExportStatus(true) 59 | } 60 | 61 | export async function importData(fileImport: HTMLInputElement) { 62 | setImportStatus(false) 63 | const db = await openDB('__op', 1, { 64 | upgrade(db) { 65 | const store = db.createObjectStore('cookies', { 66 | keyPath: 'id' 67 | }) 68 | store.createIndex('path', 'path') 69 | } 70 | }) 71 | fileImport.click() 72 | 73 | fileImport.addEventListener('change', (event) => { 74 | if (!(event.target as HTMLInputElement).files) return 75 | 76 | const file = (event.target as HTMLInputElement).files 77 | if (!file) return 78 | 79 | const reader = new FileReader() 80 | reader.onload = async (e) => { 81 | const content = e.target?.result 82 | 83 | const data: BrowsingData = JSON.parse(content as string) 84 | 85 | await resetData(false) 86 | 87 | if (data.localStorage) { 88 | for (const item of data.localStorage) { 89 | localStorage.setItem(item.key, item.value) 90 | } 91 | } 92 | 93 | if (data.cookies) { 94 | for (const item of data.cookies) { 95 | if (item.set) item.set = new Date(item.set as string) 96 | if (item.expires) item.expires = new Date(item.expires as string) 97 | 98 | await db.add('cookies', item) 99 | } 100 | } 101 | 102 | toast.custom(() => { 103 | return ( 104 |
105 |
106 | 107 | Browsing data imported from {file.item(0)?.name} 108 |
109 |
110 | ) 111 | }) 112 | 113 | setImportStatus(true) 114 | } 115 | 116 | const item = file.item(0) 117 | if (!item) return 118 | 119 | reader.readAsText(item) 120 | }) 121 | } 122 | 123 | export async function resetData(showNotification = true) { 124 | const db = await openDB('__op', 1, { 125 | upgrade(db) { 126 | const store = db.createObjectStore('cookies', { 127 | keyPath: 'id' 128 | }) 129 | store.createIndex('path', 'path') 130 | } 131 | }) 132 | 133 | for (const key in localStorage) { 134 | if (key.startsWith('__uv$')) localStorage.removeItem(key) 135 | } 136 | 137 | await db.clear('cookies') 138 | 139 | if (showNotification) 140 | toast.custom(() => { 141 | return ( 142 |
143 |
144 | 145 | Browsing data deleted. 146 |
147 |
148 | ) 149 | }) 150 | } 151 | -------------------------------------------------------------------------------- /src/lib/cloak.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { TabData } from './types' 3 | 4 | export function handleTabCloak() { 5 | const tabData = store('tab') as TabData 6 | 7 | if (tabData.name) { 8 | document.title = tabData.name 9 | } else { 10 | document.title = 'Mocha' 11 | } 12 | 13 | if (tabData.icon) { 14 | ;(document.querySelector('link[rel~=icon]') as HTMLLinkElement).href = tabData.icon 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/lib/debug.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { DebugData } from './types' 3 | export function handleDebug() { 4 | const debugData = store('debug') as DebugData 5 | if (!debugData.enabled) { 6 | window.eruda?.destroy() 7 | return 8 | } 9 | 10 | if (window.eruda?._isInit) return 11 | 12 | const erudaScript = document.createElement('script') 13 | erudaScript.src = 'https://cdn.jsdelivr.net/npm/eruda' 14 | erudaScript.onload = () => { 15 | window.eruda.init() 16 | } 17 | 18 | document.body.appendChild(erudaScript) 19 | } 20 | -------------------------------------------------------------------------------- /src/lib/panic.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { PanicData } from './types' 3 | 4 | export function handlePanicKey(e: KeyboardEvent) { 5 | const panicData = store('panic') as PanicData 6 | 7 | if (!panicData.key) return 8 | if (e.key !== panicData.key) return 9 | 10 | window.location.replace(panicData.url || 'https://classroom.google.com/h') 11 | } 12 | -------------------------------------------------------------------------------- /src/lib/patch.ts: -------------------------------------------------------------------------------- 1 | import type { Patch } from './types' 2 | 3 | export const patches: Patch[] = [ 4 | { 5 | hostname: 'neal.fun', 6 | suggestedTransport: 'libcurl' 7 | }, 8 | { 9 | hostname: 'instagram.com', 10 | works: false 11 | }, 12 | { 13 | hostname: 'google.com', 14 | execute(contentWindow) { 15 | const currentUrl = new URL(contentWindow.__uv$location.href) 16 | const currentLanguage = currentUrl.searchParams.get('hl') 17 | const currentGeoLocation = currentUrl.searchParams.get('gl') 18 | let changed = false 19 | 20 | if (currentLanguage !== 'en') { 21 | currentUrl.searchParams.set('hl', 'en') 22 | changed = true 23 | } 24 | 25 | if (currentGeoLocation !== 'us') { 26 | currentUrl.searchParams.set('gl', 'us') 27 | changed = true 28 | } 29 | 30 | if (changed) contentWindow.__uv$location.href = currentUrl.toString() 31 | } 32 | } 33 | ] 34 | -------------------------------------------------------------------------------- /src/lib/proxy.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { TransportData } from './types' 3 | import { transports } from './transport' 4 | import { BareMuxConnection } from '@mercuryworkshop/bare-mux' 5 | import { setProxyStatus } from '../routes/route' 6 | 7 | export const wispUrl = `${window.location.protocol === 'https:' ? 'wss' : 'ws'}://${window.location.host}/wisp/` 8 | 9 | export async function setupProxy() { 10 | if ('serviceWorker' in navigator) { 11 | navigator.serviceWorker.getRegistrations().then(async (registrations) => { 12 | for await (const registration of registrations) { 13 | await registration.unregister() 14 | } 15 | 16 | navigator.serviceWorker.register('/sw.js').then((registration) => { 17 | registration.update().then(() => { 18 | console.log('Service worker registered') 19 | }) 20 | }) 21 | 22 | navigator.serviceWorker.ready.then(async () => { 23 | console.log('Service worker ready') 24 | }) 25 | }) 26 | 27 | const transportData = store('transport') as TransportData 28 | console.log('Using', transports[transportData.transport]) 29 | const connection = new BareMuxConnection('/bare-mux/worker.js') 30 | await connection.setTransport(transports[transportData.transport], [{ wisp: wispUrl }]) 31 | setProxyStatus(true) 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/lib/theme.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { ThemeData } from './types' 3 | 4 | // https://daisyui.com/docs/themes 5 | export const themes = ['forest', 'aqua', 'dim', 'night', 'bumblebee', 'lemonade', 'luxury', 'sunset', 'amoled'] 6 | 7 | export function handleTheme() { 8 | const themeData = store('theme') as ThemeData 9 | 10 | if (themeData.theme) document.documentElement.dataset.theme = themeData.theme 11 | } 12 | -------------------------------------------------------------------------------- /src/lib/transport.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { TransportData } from './types' 3 | 4 | import { setupProxy } from './proxy' 5 | 6 | export const transports = { 7 | epoxy: '/epoxy/index.mjs', 8 | libcurl: '/libcurl/index.mjs' 9 | } 10 | 11 | export async function handleTransport(transport?: keyof typeof transports) { 12 | if (transport) { 13 | store('transport', { 14 | transport 15 | } satisfies TransportData) 16 | } 17 | 18 | await setupProxy() 19 | } 20 | -------------------------------------------------------------------------------- /src/lib/types.d.ts: -------------------------------------------------------------------------------- 1 | import type { transports } from './transport' 2 | 3 | export interface TabData { 4 | name: string | null 5 | icon: string | null 6 | } 7 | 8 | export interface PanicData { 9 | key: string | null 10 | url: string | null 11 | } 12 | 13 | export interface AboutBlankData { 14 | enabled: boolean 15 | } 16 | 17 | export interface TransportData { 18 | transport: keyof typeof transports 19 | } 20 | 21 | export interface ThemeData { 22 | theme: string | null 23 | } 24 | 25 | export interface SearchEngineData { 26 | engine: 'google' | 'duckduckgo' | 'ecosia' 27 | } 28 | 29 | export interface GameData { 30 | name: string 31 | id: string 32 | file: string 33 | image: string 34 | } 35 | 36 | export interface BrowsingData { 37 | localStorage?: { 38 | key: string 39 | value: string 40 | }[] 41 | cookies?: { 42 | [key: string]: unknown 43 | }[] 44 | } 45 | 46 | export interface ShortcutData { 47 | name: string 48 | url: string 49 | image: string 50 | } 51 | 52 | export interface Bookmark { 53 | image: string 54 | title: string 55 | url: string 56 | } 57 | 58 | export interface DebugData { 59 | enabled: boolean 60 | } 61 | 62 | export interface DevtoolsData { 63 | enabled: boolean 64 | } 65 | 66 | export interface ContentWindow extends Window { 67 | __uv$location: Location 68 | // biome-ignore lint: we don't know dude 69 | eruda: any 70 | } 71 | 72 | export interface Patch { 73 | hostname: string 74 | works?: boolean 75 | execute?: (contentWindow: ContentWindow) => void // for injecting scripts into websites (not sure what it could be used for yet) 76 | suggestedTransport?: keyof typeof transports 77 | } 78 | 79 | declare global { 80 | interface Window { 81 | // biome-ignore lint: we don't know dude 82 | eruda?: any 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- 1 | import store from 'store2' 2 | import type { ContentWindow, SearchEngineData } from './types' 3 | 4 | export function encodeXor(str: string) { 5 | if (!str) return str 6 | return encodeURIComponent( 7 | str 8 | .toString() 9 | .split('') 10 | .map((char, ind) => (ind % 2 ? String.fromCharCode(char.charCodeAt(Number.NaN) ^ 2) : char)) 11 | .join('') 12 | ) 13 | } 14 | 15 | export function formatSearch(input: string): string { 16 | if (input.startsWith('/cdn')) { 17 | return new URL(input, window.location.href).href 18 | } 19 | 20 | try { 21 | return new URL(input).toString() 22 | } catch (e) {} 23 | 24 | try { 25 | const url = new URL(`http://${input}`) 26 | if (url.hostname.includes('.')) return url.toString() 27 | } catch (e) {} 28 | 29 | const searchEngineData = store('searchEngine') as SearchEngineData 30 | 31 | switch (searchEngineData.engine) { 32 | case 'google': 33 | return new URL(`https://google.com/search?q=${input}`).toString() 34 | case 'ecosia': 35 | return new URL(`https://www.ecosia.org/search?q=${input}`).toString() 36 | default: 37 | return new URL(`https://duckduckgo.com/?q=${input}`).toString() 38 | } 39 | } 40 | 41 | export function getFavicon(contentWindow: ContentWindow): Promise { 42 | return new Promise((resolve) => { 43 | const image = new Image() 44 | image.src = `${contentWindow.__uv$location.origin}/favicon.ico` 45 | 46 | image.onload = () => { 47 | resolve(`${contentWindow.__uv$location.origin}/favicon.ico`) 48 | } 49 | 50 | image.onerror = () => { 51 | resolve((contentWindow.document.querySelector("link[rel*='icon']") as HTMLLinkElement)?.href || '/globe.svg') 52 | } 53 | }) 54 | } 55 | -------------------------------------------------------------------------------- /src/routes/bookmarks.tsx: -------------------------------------------------------------------------------- 1 | import { Trash } from 'lucide-solid' 2 | import { Show } from 'solid-js' 3 | import { bookmarks, handleBookmark } from '../lib/bookmarks' 4 | import { useNavigate } from '@solidjs/router' 5 | 6 | export default function Bookmarks() { 7 | const navigate = useNavigate() 8 | return ( 9 |
10 | {bookmarks().map((bookmark) => { 11 | return ( 12 | // biome-ignore lint: Doesn't accept keys for some reason 13 |
14 |
15 | {bookmark.title} 16 |

{ 18 | navigate(`/route/${btoa(bookmark.url)}`) 19 | }} 20 | class="link link-hover font-medium underline-offset-4" 21 | > 22 | {bookmark.title} 23 |

24 |
25 | 26 | 35 |
36 | ) 37 | })} 38 | 39 | 40 |

41 | You don't have any bookmarks saved!
Click the bookmark icon while browsing to save it here. 42 |

43 |
44 |
45 | ) 46 | } 47 | -------------------------------------------------------------------------------- /src/routes/faq.tsx: -------------------------------------------------------------------------------- 1 | import { A } from '@solidjs/router' 2 | 3 | export default function FAQ() { 4 | return ( 5 |
6 |

FAQ

7 |
8 | 9 |
What is Mocha?
10 |
11 |

Mocha is a web proxy used to unblock websites at work or school. Your traffic is encrypted so no one can read it, not even us.

12 |
13 |
14 | 15 |
16 | 17 |
How do I use it?
18 |
19 |

20 | Navigate to the home page and type in a URL or search query. You can also launch a preset{' '} 21 | 22 | shortcut 23 | {' '} 24 | or{' '} 25 | 26 | game 27 | 28 | . 29 |

30 |
31 |
32 | 33 |
34 | 35 |
Why is the proxy slow?
36 |
37 |

The proxy is hosted on a shared server that serves all users. If there is a significant amount of users at one time, it can cause network congestion and slow down requests.

38 |
39 |
40 |
41 | ) 42 | } 43 | -------------------------------------------------------------------------------- /src/routes/games.tsx: -------------------------------------------------------------------------------- 1 | import Fuse, { type FuseResult } from 'fuse.js' 2 | import { Show, createSignal, onMount } from 'solid-js' 3 | import Game from '../components/game' 4 | import type { GameData } from '../lib/types' 5 | 6 | export default function Games() { 7 | const [data, setData] = createSignal([]) 8 | const [results, setResults] = createSignal[]>([]) 9 | 10 | function handleSearch(text: string) { 11 | const search = data() 12 | const fuse = new Fuse(search, { 13 | keys: ['name'] 14 | }) 15 | setResults(fuse.search(text)) 16 | } 17 | 18 | onMount(() => { 19 | fetch('/games.json') 20 | .then((res) => res.json()) 21 | .then((res: GameData[]) => { 22 | setData(res) 23 | }) 24 | }) 25 | 26 | return ( 27 |
28 | 29 | handleSearch(e.target.value)} placeholder={`Search ${data().length} games`} /> 30 | 31 | 32 |
33 | 34 | 35 | 36 | {results().length > 0 37 | ? results().map((result) => { 38 | // biome-ignore lint: shut up 39 | return 40 | }) 41 | : data().map((game) => { 42 | // biome-ignore lint: shut up 43 | return 44 | })} 45 |
46 |
47 | ) 48 | } 49 | -------------------------------------------------------------------------------- /src/routes/home.tsx: -------------------------------------------------------------------------------- 1 | import { A, useNavigate } from '@solidjs/router' 2 | import { Dot, GitCommitHorizontal, Search } from 'lucide-solid' 3 | import { createSignal } from 'solid-js' 4 | 5 | export default function Home() { 6 | const [query, setQuery] = createSignal('') 7 | const navigate = useNavigate() 8 | function processInput() { 9 | if (!query()) return 10 | navigate(`/route/${btoa(query())}`) 11 | } 12 | return ( 13 |
14 |
15 |
16 | 17 | Mocha icon 18 | 22 | 23 |

Mocha

24 |
25 |
26 | { 28 | if (e.key !== 'Enter') return 29 | processInput() 30 | }} 31 | value={query()} 32 | onInput={(e) => setQuery(e.target.value)} 33 | placeholder="Enter a search query or URL" 34 | type="text" 35 | class="input join-item w-full bg-base-300" 36 | /> 37 | 40 |
41 |
42 | 43 |
44 | © 2025 proudparrot2 45 |
46 | 52 | 53 | 54 | GitHub 55 | 56 | 66 | 67 | FAQ 68 | 69 |
70 |
71 | 72 | 73 | 100 | 101 | 105 |
106 | ) 107 | } 108 | -------------------------------------------------------------------------------- /src/routes/route.tsx: -------------------------------------------------------------------------------- 1 | import { A, useParams, useSearchParams } from '@solidjs/router' 2 | import clsx from 'clsx' 3 | import { Bookmark, ChevronLeft, ChevronRight, CircleAlert, FileCode, Home, PanelBottomClose, PanelBottomOpen, RotateCw, SquareArrowOutUpRight, TriangleAlert } from 'lucide-solid' 4 | import { createEffect, createSignal, onMount } from 'solid-js' 5 | import toast from 'solid-toast' 6 | import store from 'store2' 7 | import { openAbWindow } from '../lib/aboutblank' 8 | import { handlePanicKey } from '../lib/panic' 9 | import { patches } from '../lib/patch' 10 | import { handleTransport } from '../lib/transport' 11 | import type { ContentWindow, DevtoolsData, TransportData } from '../lib/types' 12 | import { encodeXor, formatSearch, getFavicon } from '../lib/utils' 13 | import { bookmarks, handleBookmark } from '../lib/bookmarks' 14 | 15 | export const [proxyReady, setProxyStatus] = createSignal(false) 16 | 17 | export default function Route() { 18 | let ref: HTMLIFrameElement 19 | const [url, setUrl] = createSignal('') 20 | const [showControls, setShowControls] = createSignal(true) 21 | const [bookmarked, setBookmarked] = createSignal(false) 22 | 23 | const params = useParams() 24 | const [searchParams] = useSearchParams() 25 | 26 | onMount(() => { 27 | if (searchParams.hidecontrolbar === 'true') { 28 | setShowControls(false) 29 | } 30 | }) 31 | 32 | createEffect(() => { 33 | if (!ref || !ref.contentWindow) return 34 | const query = atob(params.route) 35 | 36 | if (proxyReady()) { 37 | ref.src = `/~/${encodeXor(formatSearch(query))}` 38 | } 39 | }) 40 | 41 | function handleLoad() { 42 | if (!ref || !ref.contentWindow) return 43 | const contentWindow = ref.contentWindow as ContentWindow 44 | 45 | if (!('__uv$location' in contentWindow)) return 46 | 47 | setUrl(contentWindow.__uv$location.href) 48 | 49 | contentWindow.addEventListener('keydown', handlePanicKey) 50 | 51 | if (bookmarks().some((val) => val.url === contentWindow.__uv$location.href)) { 52 | setBookmarked(true) 53 | } else { 54 | setBookmarked(false) 55 | } 56 | 57 | const hostname = contentWindow.__uv$location.hostname 58 | 59 | const patch = patches.find((x) => hostname.includes(x.hostname)) 60 | if (!patch) return 61 | 62 | if (patch.suggestedTransport && patch.suggestedTransport !== (store('transport') as TransportData).transport) { 63 | toast.custom((x) => { 64 | return ( 65 |
66 |
67 | 68 | 69 | This website might run better with the {patch.suggestedTransport} transport enabled.
{' '} 70 | { 73 | handleTransport(patch.suggestedTransport) 74 | toast.dismiss(x.id) 75 | contentWindow.location.reload() 76 | }} 77 | > 78 | Set Transport 79 | 80 |
81 |
82 |
83 | ) 84 | }) 85 | } 86 | 87 | if (patch.works === false) { 88 | toast.custom(() => { 89 | return ( 90 |
91 |
92 | 93 | This website is known not to work correctly. 94 |
95 |
96 | ) 97 | }) 98 | } 99 | 100 | if (patch.execute) { 101 | patch.execute(contentWindow) 102 | } 103 | } 104 | return ( 105 |
106 |