![]() |
|
|
||||||||
|
|||||||
|
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2003
Posts: 275
|
I duplicated the "Dial using Sprint Relay" link but dials Hamilton IP Relay (Canada)
Since Hamilton IP Relay is the only online relay service that
allows Canadians to make calls within Canada, I wanted to duplicate the same functionality that is available at Sprint Relay Online - "Dial using Sprint Relay". Code:
javascript:q=(document.frames.length?'':document.selection.createRange().text);for(i=0;i<document.frames.length;i++){q=document.frames[i].document.selection.createRange().text;if(q!=='')break;}if(q=='')void(q=prompt('Enter a phone number to dial using Online Relay.',''));r="";for(i=0;i<q.length;i++){if(q.charAt(i)>='0'&&q.charAt(i)<='9'){r=r+q.charAt(i)}};if(r.charAt(0)=='1')r=r.substring(1,r.length);if(r)location.href='https://www.hiprelay.com/cgi-bin/quickcall.exe?m=Mark&p='+escape(r)+'&q=B'
the web (as if copying and pasting) then clicking a linkbar icon or Favourites bookmark entry to automatically dial the selected number, just like Sprint Relay Online's feature. 1. Create New Shortcut 2. When prompted to do so, copy and paste the very long "javascript:" line above as a single web URL (in one line). It's like a "http:" URL but begins with "javascript:" 3. Add this Shortcut to your Favourites menu or the Links bar of Internet Explorer. (Note, your computer may warn you that javascript URL's are unsafe. However, this one is pretty safe as it is just a modified version of Sprint Relay Online's version. And if you're a programmer, you can figure out what it does.) Now you can just highlight a phone number on any web page and click this link to dial Hamilton IP Relay which works in Canada! (Hamilton's IP Relay is at http://www.hiprelay.com) Last edited by Mark Rejhon; 12-19-2003 at 02:56 PM. |
|
|
|
|
|
|
|
__________________
This advertising will not be shown in this way to registered members. Register your free account today and become a member on AllDeaf.com |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|