Bargain-notify.me, URL shortener

Security and Transparency

secure URL shortener

Bargain-notify.me Tools

Bargain-notify.me for your browser

Bargain-notify.me for your website

Bargain-notify.me for your favorite site

Bargain-notify.me for your browser

Bookmark

Drag this button to your bookmarks to shorten URLs from any page:
Shorten with Bargain-notify.me

This will create a new bookmark called "Shorten with Bargain-notify.me". When you want to make a short URL of the page you are visiting, simply click on the bookmark "Shorten with Bargain-notify.me". A new tab or new window will be opened in your browser, with the Bargain-notify.me short URL.

Top

Bargain-notify.me for your website

Automatic short link for each page

Add this code on each page to display a short URL for that page:

<script src="http://www.bargain-notify.me/tools/javascript?format=link&target=_blank" 
    type="text/javascript"></script>

You can modify the output of the script

  • format=link displays a clickable link. To display simple text, use format=text or omit the format variable.
  • target=_blank creates a link with the attribute target="_blank". You can use _top, _self, _parent and _blank.
  • url=http%3A%2F%2Fwww.google.com%2F creates a link for the URL http://www.google.com/ instead of current page

Automatic QR code for each page

Add this code on each page to display a QR code for that page:

<script src="http://www.bargain-notify.me/tools/javascript?format=qr" 
    type="text/javascript"></script>

You can modify the output of the script

  • url=http%3A%2F%2Fwww.google.com%2F creates a link for the URL http://www.google.com/ instead of current page

JavaScript

Coming soon...

jQuery

Here is a simple example to add Bargain-notify.me to your website.

Bargain-notify.me, URL shortener - Security and Transparency

HTML:

<p style="margin:0 0 2px; padding:0;"><input type="text" id="url" 
    title="e.g.: http://www.google.com/" style="width: 400px" /> 
<input type="button" id="shorten" value="Shorten" /></p>
<p style="margin:0 0 2px; padding:0;" id="result"></p>
<p style="margin: 0 0 0 150px; padding: 0; line-height:1.25em; font-size: 60%;">
<a href="http://www.bargain-notify.me/" target="_blank">Bargain-notify.me, URL shortener - Security and Transparency</a>
</p>

JavaScript (simplified):

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {  
    
  $('#shorten').click(function(e) {
    e.preventDefault();

    var url = $('#url').val();
	
    $.getJSON("http://www.bargain-notify.me/api/?format=jsonp&url=" + escape(url) + "&callback=?",
      function(data){
        if (data.url) {
          $('#result').html('<input type="text" id="code" value="' + data.url + '">');
        }
        else if(data.error) {
          $('#result').html('<span style="color: Red;" id="warning">' + 
              data.error + '</span>');
        }
      });
    });
});  
</script>

Download a full example. Feel free to modify it.

Widget

You can Bargain-notify.me to your website without knowledge of HTML or Javascript

iframe:

<iframe src="http://www.bargain-notify.me/tools/widget/" width="550" height="150" style="border: 0" ></iframe>

<iframe src="http://www.bargain-notify.me/tools/widget2/" height="150" style="border: 0" ></iframe>

Download the iframe example.

Google gadget:

Add the Bargain-notify.me URL shortener as a Google gadget:

<script src="http://www.gmodules.com/ig/ifr?
url=http://hosting.gmodules.com/ig/gadgets/file/100564391894550368434/google.xml
&synd=open&w=550&h=150&title=Bargain-notify.me+URL+shortener
&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js">
</script>

Customize your version at Google.

Javascript:

Coming soon...

Top

Bargain-notify.me for your favorite site

Google gadget

You can add the Bargain-notify.me gadget to your Google home page: Bargain-notify.me URL shortener

Facebook application

You can add the Safe.mn application to your Facebook profile: http://apps.facebook.com/safe-mn/

Top

Bargain-notify.me API

See our new API documentation.

Top

Bargain-notify.me Libraries

See the new Libraries section.

Ruby

Coming soon...

.Net

Coming soon...

Java

Coming soon...

Other languages

Let us know if you need a Bargain-notify.me library for a different language. Send us an e-mail at contact@safe.mn.

Top