Fixing the Home Link in the Telem System (OpenU)

This post can be helpful for students of the Open University of Israel. As a student there, I found it very annoying that the link to the courses’ homepage in the Telem system is a JavaScript link. This prevents it from opening in a new tab, and thus require various workarounds to get back to the homepage in a different tab. So, a little while ago I wrote a little Greasemonkey script to fix it.

// telem.user.js
// version 0.1 
// 2008-01-01
// Copyright (c) 2008, Guy Rutenberg
// Released under the GPL license
// ==UserScript==
// @name          OpenU's Telem - Fix Home Button
// @namespace
// @description   Fixes the home button link in the telem system of the OpenU.
// @include*
// ==/UserScript==

home = document.getElementById('home');
if (home) {
	re = /javascript:find_home_page\('(.*?)','(.*?)',/
	match = re.exec(home.href)
	home.href = ''+match[2]+'/'+match[1]

This script changes the link to a regular non-JavaScript link. I’ve tested it for more than a month now, without finding any bugs. However if you find something, or have any suggestion, please comment.

Update: See A Greasemonkey Fix to the Top Menu in Sheilta (Open University), it has a fix for the top menu bar in the Sheilta system

6 thoughts on “Fixing the Home Link in the Telem System (OpenU)”

  1. ืœื ื”ื‘ื ืชื™ ืžื” ื‘ื“ื™ื•ืง ื”ืชืกืจื™ื˜ ืžืชืงืŸ ? ื”ืœื™ื ืง ืœืงื•ืจืก ื‘ืฉืื™ืœืชื” ืขื“ื™ื™ืŸ ืžืงื•ืœืงืœ…

  2. ื™ื•ืื‘,
    ื”ืœื™ื ืง ืื™ื ื• ืฉื‘ื•ืจ, ืืชื” ืคืฉื•ื˜ ืžืกืชื›ืœ ืขืœ ื”ืœื™ื ืง ื”ืœื ื ื›ื•ืŸ. ื”ืชืกืจื™ื˜ ืžืชืงืŸ ืืช ื”ืœื™ื ืง ืœื“ืฃ ื”ื‘ื™ืช ื‘ืžืขืจืช ื”ืชืœื (ื•ืœื ื‘ืฉืื™ืœืชื). ื”ืœื™ื ืง ื”ืžื“ื•ื‘ืจ ืžื•ืคื™ืข ื‘ื“ืคื™ื ืฉืœ ื”ืคื•ืจื•ื, ื•ื‘ืฉืืจ ื”ื“ืคื™ื ื”ืคื ื™ืžื™ื™ื, ืฉืœ ืืชืจ ื”ืงื•ืจืก ื‘ืชืœื.


  3. ืื•ืงื™ื™, ื”ื‘ื ืชื™. ืื•ืœื™ ืชืชืงืŸ ืืช ื›ืœ ื”ืœื™ื ืงื™ื ื‘ืืชืจ ืฉืœ ืื•”ืค ? ื”ืœื™ื ืงื™ื ื‘ืฉืื™ืœืชื” ืžืฆื™ืงื™ื ืœื™ ืžืื•ื“.

  4. ืื ื™ ื™ื›ื•ืœ ืœื ืกื•ืช ืœื”ืกืชื›ืœ ืขืœ ื–ื”. ืื™ืœื• ืœื™ื ืงื™ื ืžืคืจื™ืขื™ื ืœืš?

  5. ื›ืฉื ื›ื ืกื™ื ื‘ืฉืื™ืœืชื” ืœืงื•ืจืกื™ื ื•ืื– ืœืงื•ืจืก ืžืกื•ื™ื™ื ืื– ื›ืœ ื”ืœื™ื ืงื™ื ืฉื ื”ื ื›ืชื•ื‘ื™ื ื‘ื’’ืื•ื•ื” ืกืงืจื™ืคื˜.
    ื”ืœื™ื ืง ื”ื™ื—ื™ื“ ืฉื‘ืืžืช ืžืฆื™ืง ืœื™ ื–ื” “ืœืืชืจ ื”ืงื•ืจืก ื‘ืชืœื”.

    ื–ื” ืœื™ื ืง ื”ื™ื—ื™ื“ ืฉืคื•ืชื— ื—ืœื•ืŸ ื‘ื’ื•ื“ืœ ืžืœื, ืืช ืฉืืจ ื”ืœื™ื ืงื™ื ืืคืฉืจ ืœื”ืฉืื™ืจ ื›ืžื• ืฉื”ื.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.