diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2012-05-29 13:04:24 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2012-05-29 13:06:42 +0200 |
commit | c69cc36559800a52b61700016c29758de83ec06f (patch) | |
tree | 7f5919e8953370c0841763fdb5a761eac58a871e /car2go-ptv | |
parent | 9fc40c33f26fec7247f23907ac5b7019bda0996c (diff) | |
download | scripts-c69cc36559800a52b61700016c29758de83ec06f.tar.gz scripts-c69cc36559800a52b61700016c29758de83ec06f.zip |
sonderzeichen
Diffstat (limited to 'car2go-ptv')
-rw-r--r-- | car2go-ptv/bookmarklet.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/car2go-ptv/bookmarklet.html b/car2go-ptv/bookmarklet.html index 708e9dd..b3b0d28 100644 --- a/car2go-ptv/bookmarklet.html +++ b/car2go-ptv/bookmarklet.html @@ -1,2 +1,7 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> +<body> Add this Link to your bookmarks: -<a href="javascript:(function(){var%20btnFilter=document.createElement(%22button%22);btnFilter.innerHTML=%22Nur%20%3C%2025%25%20anzeigen%22;btnFilter.onclick=function(){ptvMap.clearVectorLayer();var%20d=[];for(var%20c%20in%20ptvMap.data.vehicles){var%20a=ptvMap.data.vehicles[c];if(typeof(a.tooltip)===%22undefined%22){continue}var%20b=a.tooltip.data[3].value.match(/\d+/)[0];if(parseInt(b)%3C25){d.push(a)}}ptvMap.addVehicles(d)};document.getElementById(%22content%22).appendChild(btnFilter);var%20btnUnfilter=document.createElement(%22button%22);btnUnfilter.innerHTML=%22Alle%20Anzeigen%22;btnUnfilter.onclick=function(){ptvMap.clearVectorLayer();ptvMap.addVehicles(ptvMap.data.vehicles)};document.getElementById(%22content%22).appendChild(btnUnfilter);})();">Car2Go Tankfüllungsfilter</a> +<a href="javascript:(function(){var%20btnFilter=document.createElement(%22button%22);btnFilter.innerHTML=%22Nur%20%3C%2025%25%20anzeigen%22;btnFilter.onclick=function(){ptvMap.clearVectorLayer();var%20d=[];for(var%20c%20in%20ptvMap.data.vehicles){var%20a=ptvMap.data.vehicles[c];if(typeof(a.tooltip)===%22undefined%22){continue}var%20b=a.tooltip.data[3].value.match(/\d+/)[0];if(parseInt(b)%3C25){d.push(a)}}ptvMap.addVehicles(d)};document.getElementById(%22content%22).appendChild(btnFilter);var%20btnUnfilter=document.createElement(%22button%22);btnUnfilter.innerHTML=%22Alle%20Anzeigen%22;btnUnfilter.onclick=function(){ptvMap.clearVectorLayer();ptvMap.addVehicles(ptvMap.data.vehicles)};document.getElementById(%22content%22).appendChild(btnUnfilter);})();">Car2Go Tankinhaltfilter</a> +</body> +</html> |