Skip to content
Chrome extension that converts URLs and emails in text to clickable links
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
browser_action
content_scripts
img
lib
options
.gitignore
Gruntfile.js
LICENSE
README.md
manifest.json
package.json

README.md

LinkBot

LinkBot is a Chrome extension that converts URLs and emails in text to links. LinkBot is MIT-licensed and free to use.

A few examples that LinkBot will find:

Usage

Install LinkBot on the Chrome Web Store.. To exclude a page from being linked, just click the LinkBot icon and select "Don't run on this page."

Implementation

The core of LinkBot is a pair of custom regular expressions, one to find URLs and another for emails. A regular expression to capture the entire set of possible URLs is extremely tricky to compose and may produce false positive, so LinkBot favors accurate matching of common URLs. The regexes, along with informative comments, can be found in content_scripts/regex.js.

Development

Installing this extension to test it locally is easy. Chrome extensions don't need to be built or compiled and you can just install the code directly. Just follow Google's instructions (ignore the stuff about the manifest, just follow the three steps).

Contributing

If you'd like to contribute to LinkBot, just send a PR. Before making a large change, please file an issue first so we can discuss.

You can’t perform that action at this time.