Skip to content

barnabywalters/IndieWeb-Reply-Browser-Extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IndieWeb Reply

Please Note: I no longer actively maintain this extension — I am building upon it from a clean slate and with a wider scope in the Web Action Hero Toolbelt.

This cross-browser extension rewrites Twitter.com "reply" buttons to open a browser window to your own site, allowing you to post a reply from your site.

Installation

IndieWeb Reply is built with kango and as such is cross-browser (apart from IE). The different versions are built in the repo, but until we offer signed, packaged downloads you’ll have to install them manually.

Chrome

  1. Clone the repo to your computer
  2. In chrome, navigate to chrome://chrome/extensions
  3. Enable developer mode (top right corner)
  4. Click "Load Packaged Extension"
  5. Navigate to the /output/chrome/ folder within the cloned repo
  6. Continue to Setup

Safari

  1. Go Develop -> Show Extension Builder
  2. Click the little plus sign in the bottom left, select "Add Extension"
  3. Navigate to /output/safari and select the folder. Okay.
  4. Click "Install" (top right)
  5. There should be a new IndieWeb Reply button in your toolbar. Click this to set enter the options dialog, then continue

Setup

Before it can be used, you need to set the URL to redirect to in the IndieWeb Reply extension preferences. This URL is a web action URL which should provide a UI for posting a new note.

For more, see advanced setup

Usage

IndieWeb Reply has two main functions: Twitter Reply hijacking and Tweet button hijacking. These let you do hijack the "reply" links on twitter.com to redirect to your own site, and also hijack embedded Tweet buttons on other websites, replacing them with a "Post to your indieweb site" button with all the same metadata attached.

Twitter.com

On twitter.com, click "Reply" on a tweet:

A Tweet

A window opens on your own domain so you can reply from your site

Reply from your site

Other websites

Various social buttons on other websites across the web get converted into “Post to your Indieweb Site” or “Follow on your Indieweb Site”:

You should start seeing blue Indieweb buttons where Twitter, Faceboon and Google+ Buttons should be

Advanced Setup

The real magic to IndieWeb reply is not the ability to redirect twitter buttons to your own site, but the ability to register dynamic placeholders within your web activity URL which get replaced with things like the URL, hashtags, twitter @names and so on.

You can use {url} in your URL (perhaps in a query parameter) and it will be replaced by the URL of the tweet you’re replying to.

For a more up-to-date listing of the placeholders which can be used, install the plugin and have a look in the options dialog.

About

A browser extension to intercept existing silos' "reply" buttons to post from your own site instead

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%