From ff65edef69e1c3bee3e64e0bb63015dc008dc7e5 Mon Sep 17 00:00:00 2001 From: Mason Larobina Date: Sat, 13 Mar 2010 23:00:59 +0800 Subject: Removed broken and deprecated scripts and removed them from the config. examples/scripts/cookies.sh: Deprecated by uzbl-cookie-daemon months ago. examples/scripts/extedit.js: Broken in its current form without the Uzbl.run method. examples/scripts/scroll-percentage.js: Broken without the Uzbl.run method. examples/scripts/{linkfollow,hint,follower}.js: Development should take place in the single follow.js from now on. There is no logic in co-developing 4 separate following scripts (some of which have been broken for months) in our selection of example scripts. --- examples/data/scripts/hint.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 examples/data/scripts/hint.js (limited to 'examples/data/scripts/hint.js') diff --git a/examples/data/scripts/hint.js b/examples/data/scripts/hint.js deleted file mode 100644 index ec7f1e2..0000000 --- a/examples/data/scripts/hint.js +++ /dev/null @@ -1,26 +0,0 @@ -for (var i=0; i < document.links.length; i++) { - var uzblid = 'uzbl_link_hint_'; - var li = document.links[i]; - var pre = document.getElementById(uzblid+i); - - if (pre) { - li.removeChild(pre); - } else { - var hint = document.createElement('div'); - hint.setAttribute('id',uzblid+i); - hint.innerHTML = i; - hint.style.display='inline'; - hint.style.lineHeight='90%'; - hint.style.backgroundColor='red'; - hint.style.color='white'; - hint.style.fontSize='small-xx'; - hint.style.fontWeight='light'; - hint.style.margin='0px'; - hint.style.padding='2px'; - hint.style.position='absolute'; - hint.style.textDecoration='none'; - hint.style.left=li.style.left; - hint.style.top=li.style.top; - li.insertAdjacentElement('afterBegin',hint); - } -} -- cgit v1.2.3