├── .gitignore ├── .npmignore ├── LICENSE.txt ├── README.adoc ├── demo.webpack.config.js ├── demo ├── index.html ├── index.tsx ├── style.css └── vanilla.html ├── lib.ts ├── package.json ├── pnpm-lock.yaml ├── react.tsx └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | _demo/ 3 | *.log 4 | lib.js 5 | react.js 6 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | demo/ 2 | _demo/ 3 | *.log 4 | demo.webpack.config.js 5 | pnpm-lock.yaml 6 | tsconfig.json 7 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2022, Blair Noctis 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, this 9 | list of conditions and the following disclaimer. 10 | 11 | 2. Redistributions in binary form must reproduce the above copyright notice, 12 | this list of conditions and the following disclaimer in the documentation 13 | and/or other materials provided with the distribution. 14 | 15 | 3. Neither the name of the copyright holder nor the names of its 16 | contributors may be used to endorse or promote products derived from 17 | this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 22 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 23 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 25 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 26 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 27 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | 30 | -------------------------------------------------------------------------------- /README.adoc: -------------------------------------------------------------------------------- 1 | = Activate-Web 2 | 3 | image:https://img.shields.io/npm/v/activate-web?style=flat-square[npm] 4 | 5 | The "Activate Windows" watermark ported to *Open Web ™*. 6 | Inspired by https://github.com/MrGlockenspiel/activate-linux[activate-linux]. 7 | 8 | As of 0.1, it's a Web Component written in TypeScript, with a simply packed React component. 9 | The old class based version stayed at 0.0.x. 10 | 11 | It's intended as a parody, although still customizeable in both style and content. 12 | 13 | React demo at https://activate-web-demo.netlify.app, 14 | vanilla https://activate-web-demo.netlify.app/vanilla.html. 15 | 16 | == Usage 17 | 18 | === Vanilla 19 | 20 | [source,html] 21 | ---- 22 |
23 | 24 | 9 | 10 | 11 |Activate-Web vanilla demo
13 |Go to React demo
14 |Source code of this demo page can be found at demo/vanilla.html
Background photo: https://unsplash.com/photos/cqbLg3lZEpk
16 | 17 |It's at the bottom right ↘︎
18 | 19 |