Activate The Open Web ™ ("Activate Windows" watermark ported to the web)

Overview

Activate-Web

npm

The "Activate Windows" watermark ported to Open Web ™. Inspired by activate-linux.

As of 0.1, it’s a Web Component written in TypeScript, with a simply packed React component. The old class based version stayed at 0.0.x.

It’s intended as a parody, although still customizeable in both style and content.

Usage

Vanilla

<head>
	<!-- other head tags -->
	<script type="module" src="https://esm.run/activate-web"</script>
</head>
<body>
	<!-- other important things -->

	<activate-web name="The Open Web" gotoText="Donate" gotoLink="https://opencollective.com/theopenweb"></activate-web>
	<!-- the link above is an example -->
</body>

React

$ npm install --save activate-web
import Activate from 'activate-web/react'

export default App() {
	return (
		{...otherImportantThings}

		<Activate
		name='The Open Web'
		gotoText='Donate'
		gotoLink='https://opencollective.com/theopenweb'
		/>
	)
}

Attributes

These attributes are shared between vanilla and React versions.

  • name?: string as in title line: Activate ${name}

  • gotoText?: string, gotoLink?: string as in detail line: Go to <a href="${gotoLink}">${gotoText}</a> to activate ${name}

  • titleHtml?: string, detailHtml?: string custom HTML of respective parts, usually set together; updated using innerHTML, so only trusted input can be passed in, and no React component or other fancy stuff (do tell me how though)

The Html attributes can be used for more personalized text, or i18n, for example.

All attributes filter out "falsy" strings: 'false', 'null', 'undefined', except Html ones, which silently sets themselves to empty string (''), thus reverting to default format.

Styling

Use the following selectors:

  • activate-web to style the host element

  • activate-web::part(title) to style the title part

  • activate-web::part(detail) to style the detail part

Be sure to override the opacity and filter properties if you want the text to have visible color.

The default style is written in plain CSS, at import { DEFAULT_STYLES } from 'activate-web/lib.ts'.

License

BSD 3-clause © 2022 Blair Noctis.

You might also like...

API dot Open Sauced is NestJS and SupaBase powered OAS3 backend designed to remove client complexity and provide a structured graph of all @open-sauced integrations

API dot Open Sauced is NestJS and SupaBase powered OAS3 backend designed to remove client complexity and provide a structured graph of all @open-sauced integrations

🍕 Open Sauced Nest Supabase API 🍕 The path to your next Open Source contribution 📖 Prerequisites In order to run the project we need the following

Dec 18, 2022

Open! Inclusive! Collaborative! A community for enthusiasts exploring new technologies, working on innovative ideas and helping each other grow together. Open Issues, Raise ideas, Make Pull Requests!

Open! Inclusive! Collaborative! A community for enthusiasts exploring new technologies, working on innovative ideas and helping each other grow together. Open Issues, Raise ideas, Make Pull Requests!

About Us OplnCo previously known as Devstucom represents Open Inclusive Collaborative. We as a community help our fellow students build skills through

Oct 13, 2022

This project is for hacktoberfest to encourage new developer and open source developers to contribute to open source and improve skills which require debugging, write testable code, industry standards, problem solving and many more,

This project is for hacktoberfest to encourage new developer and open source developers to contribute to open source and improve skills which require debugging, write testable code, industry standards, problem solving and many more,

🚀 Blog project for hacktoberfest In this repository, you can find issues related to a blog project that is built on top of Next.js. The project is a

Oct 9, 2022

This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. 💻 🎯🚀

This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022.  💻 🎯🚀

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

Oct 29, 2022

Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's Contribute To Open-source First Contributions This project aims to simplify and guide the way, beginners can make their first contribution towar

Dec 3, 2022

Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript

Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript

Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript

Dec 29, 2022

Open Source ResearchHub - Web

Setup This project was bootstrapped with Create Next App. Find the most recent version of this guide at here. And check out Next.js repo for the most

Dec 16, 2022

Atsumaru - an open source manga reader application for Android, IOS & Web

Atsumaru is currently in alpha pre-release We're still working on vital components for the reader, follow this repo for updates or join our Discord se

Dec 21, 2022

Landscape Generator is An open Source web application that generates landscape drawings randomly, then gives you the ability to edit it and export it as SVG or PNG.

Landscape Generator is An open Source web application that generates landscape drawings randomly, then gives you the ability to edit it and export it as SVG or PNG.

Landscape Generator ## About Landscape Generator is An open Source web application that generates landscape drawings randomly, then gives you the abil

Apr 15, 2022
Owner
Blair Noctis
Senior Data Destruction Engineer
Blair Noctis
Telegram BOT For TikTok/Douyin downloader (TikTok video downloader without watermark)

TikDo Telegram BOT This is BOT Telegram downloader TikTok/Douyin. Download videos without watermark by pasting share link in send message. How to depl

0xC0FFEE 7 Dec 1, 2022
Create folder of snippets to activate them in one click !

-> FR Obsidian Group Snippet This plugin allow you to set group of CSS snippets to class them and enable them in one click (or command). Also, this pl

Lisandra Simonetti 8 Dec 31, 2022
A full NodeJS sms-activate.org api wrapper up to date in Typescript

Sms-Activate.org This package fully supports all the https://sms-activate.org/ API with Typescript types. Installation Install the package using npm

SegFault 52 Dec 26, 2022
solid material ui port (ported from blazor port)

solid-material-ui solid material ui port (porting from blazor port) In preparation for solid hack Turbo Mono-repository is used for component package

skclusive 18 Apr 30, 2022
Variant types in Roblox TypeScript - Ported from Vanilla TypeScript

Variant (for Roblox) This is a roblox typescript variant (heh, pun) of Variant. See the Variant documentation on how to use Variant. A variant type is

Australis 2 Jun 3, 2022
SUID is all a set of utils and components ported from MUI Core and much more.

Solid.js User Interface Design (SUID) A port of Material-UI (MUI) built with Solid.js SUID is all a set of utils and components ported from MUI Core a

null 311 Jan 1, 2023
Super Mario 64 ported to JavaScript and WebAssembly via Emscripten.

SM64-JS Super Mario 64 ported to JavaScript and WebAssembly via Emscripten. REPL Takedown I was forced to take down the REPL for this project due to c

Sevenworks 12 Dec 23, 2022
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. ?? After seeing so many open-source projects being monetized ?? without giving any recognition

Open Certs 15 Oct 23, 2022
An open, collaborative and evolving character creator project for the open metaverse.

Avatar Creator An open, collaborative and evolving 3D avatar creator for the open metaverse. Want to contribute? Please check out the issues, or submi

Atlas Foundation 23 Dec 17, 2022