-
Notifications
You must be signed in to change notification settings - Fork 9
Manually Adding Domains to the Whitelist
The current version of the Chrome extension currently provides support for whitelisting domains in the user interface, but you have to manually add domains in the Firefox Extension.
Open the options window of the extension, and add CSV entries according to the directions.
If you want to play with your own content server before we finish Masked, this is the guide for you. Each of the extensions comes with a content script called privly.js. This Javascript file contains a regular expression:
privlyReferencesRegex: new RegExp(
"\^(https?:\\/\\/){0,1}(" + //protocol
"priv\\.ly\\/|" + //priv.ly
"dev\\.privly\\.org\\/|" + //dev.privly.org
"localhost\\/|" + //localhost
"privlyalpha.org\\/|" + //privlyalpha.org
"privlybeta.org\\/|" + //privlybeta.org
"localhost:3000\\/" + //localhost:3000
")(\\S){3,}$","gi"),
If your domain is yourdomain.com, you only need to add:
"yourdomain.com\\/|" +
like so:
privlyReferencesRegex: new RegExp(
"\^(https?:\\/\\/){0,1}(" + //protocol
"yourdomain.com\\/|" +
"priv\\.ly\\/|" + //priv.ly
"dev\\.privly\\.org\\/|" + //dev.privly.org
"localhost\\/|" + //localhost
"privlyalpha.org\\/|" + //privlyalpha.org
"privlybeta.org\\/|" + //privlybeta.org
"localhost:3000\\/" + //localhost:3000
")(\\S){3,}$","gi"),
Foundation Home
Repository List
Development Mailing List
Testing Mailing List
Announcement Mailing List
Central Wiki
Submit a Bug
IRC
Download Extension
These documents are under active development and discussion.
Credit: This Google Summer of Code content is licensed under the CC Attribution-Noncommercial-Share Alike 3.0 Unported license furnished by the Sahana Software Foundation.