girlfriend-technology / xtoy-extension

πŸͺ„πŸ“ Replace words and links

Home Page:https://girlfriend.technology/x-to-y

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

X to Y extension

Replace words and links

icon

Ever think it would be funny to replace a word with another? Sick and tired of a website deadnaming you? You are going to enjoy X to Y!

X to Y supports plain text, regex, and urls.

  • To do regex just type regex (/pattern/flags) in the X field
  • To replace links, just check the Link Mode checkbox

Download

Folder Structure

  • 'X to Y' - the Xcode project for iOS and Mac
  • content-script - javascript bundle for the extension's content script that replaces the text and links on webpages
  • popup-ui - javascript bundle for the extension's user interface that loads when the toolbar icon is tapped
  • firefox - The Firefox build
  • chrome - The Edge and Chrome build

Build Locally

  • cd content-script - cd into the content script folder
  • npm install - install the content script dependencies
  • npm run build - build the content script
  • cd .. - cd back to the root folder
  • cd popup-ui - cd into the popup ui folder
  • npm install - install the popup ui dependencies
  • npm run build - build the popup ui

Now you are ready to play around with the code or even build it with Xcode. πŸ’–

About

πŸͺ„πŸ“ Replace words and links

https://girlfriend.technology/x-to-y

License:Other


Languages

Language:JavaScript 76.8%Language:Swift 16.1%Language:HTML 3.7%Language:CSS 3.4%