fix js file, remove old surf mode crap

This commit is contained in:
Kyle Drake 2015-03-28 22:57:31 -07:00
parent 2e76bc9a0b
commit eb316031a2
4 changed files with 8 additions and 85 deletions

View file

@ -1,10 +1,8 @@
<script>
function _nc_surf_page_overload() {
var ele = document.getElementsByTagName('a')
for(var i=0; i<ele.length; i++) {
if(ele[i].href.match(/^\w+:\/\//i) && !ele[i].href.match(/^.+\.neocities\.org/i))
ele[i].setAttribute('target', '_blank')
}
function _nc_surf_page_overload() {
var ele = document.getElementsByTagName('a')
for(var i=0; i<ele.length; i++) {
if(ele[i].href.match(/^\w+:\/\//i) && !ele[i].href.match(/^.+\.neocities\.org/i))
ele[i].setAttribute('target', '_blank')
}
_nc_surf_page_overload()
</script>
}
_nc_surf_page_overload()