isNSFW Bookmarklet
The NSFW bookmarklet allows you to shorten your NSFW urls even quicker. Now make short safe URLs and start tweeting and blogging to your hearts content. And never worry about getting some poor sap fired again. Get started today.
Install the isNSFW Bookmarklet on Firefox/Opera/Safari
Simply drag this link: isNSFW up to your toolbar, and you can start flagging works as NSFW and spreading them.
Install the isNSFW Bookmarklet on Internet Explorer
If you are using Internet Explorer, consider upgrading to firefox, Get Firefox.
Alternatively you can right click the following link and use 'add to favorites', then move the favorite to your toolbar.
Link: isNSFW
API
isNSFW uses a simple RESTful API
URL: http://isnsfw.com/api/create.php
Parameters
- url
- URL to shorten. Required
- rating
- Link rating. Values: O, G, N, or X. For Offensive, Gore, Nudity, and X/Pornographic, respectively. Required.
- alias
- Custom alias to use. Optional. Wildcards accepted (e.g. NSFW*** to create a custom alias of length 7 with the first four characters being NSFW and the last 3 being random).
- mode
- Output mode. Only acceptable value is CSV1, to return in a simple CSV format. All other values result in an output mode of JSON. Optional.
- callback
- JSONP callback method. Optional.
Output - JSON
- error
- Boolean: true | false
- errorID
- In case of an error, a unique identifier for the error. If you need a list of all error codes, please contact us.
- message
- In case of an error, a message (in english) describing the error.
- alias
- In case of success, the alias part for the shortened URL.
- url
- In case of success, the full URL that can be used to for the shortened URL.
Output - CSV1
Return value is always a CSV of two values: return-code,return-string
In case of success, the return value will be 0,URL
In case of an error, the return value will be errorID,message