Memming's Inconsistency
Nothing Personal, Yet Subjective
Blog | Guestbook
Keyword | Local | Tag
T 27 / Y 78 / Total 54293
Catergories
Calendar
«   2010/07   »
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tag
tip, MATLAB, vim, LaTeX, mathematics, Google, Tips, 촛불집회, derivative, conference wsom, theorem, CNEL, correlogram, ocw, equation search engine, algorithm, synchrony, spike train, coupled oscillator, javascript,
Archive
Link
Search
  submit
Recent Articles
Recent Comments
Recent Trackbacks
해당되는 게시물 1건
2007/11/22 09:54
Bookmarklet for domain name proxies
2007/11/22 09:54 2007/11/22 09:54
To access university library resources from off-campus network, I need to go through a proxy server provided by the library. This is done by attaching a string at the end of domain names, which is non-trivial to memorize. So I made a bookmarklet in javascript to do this in one click.

Attach '.lp.hscl.ufl.edu' to the current url
javascript:
var u=document.URL;
var n=document.URL.indexOf('/',9);
var nu = String.concat(u.substring(0,n), '.lp.hscl.ufl.edu', u.substring(n));
alert(nu);
window.location.replace(nu);
If you are using noscript on firefox, you need to allow javascript for the website.
Feel free to copy/modify/redistribute this.

 Prev   1   Next 
memming’s Blog is powered by Tattertools.com / Designed by faido