User Profile

Collapse

Profile Sidebar

Collapse
abarrett79
abarrett79
Last Activity: Jan 2 '08, 05:16 AM
Joined: May 1 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I found the error that was bringing down the house. Opera has what appears to be an extension to DOM. getElementsByTa gName("table"). cells is valid in opera, but not firefox. I replaced it with:
    getElementsByTa gName("table"). getElementsByTa gName("td")

    With a couple adjustments to positioning in the results array, all is well.

    Thank you anyway
    See more | Go to post

    Leave a comment:


  • abarrett79
    started a topic Opera and Mozilla javascript differences

    Opera and Mozilla javascript differences

    I'm having problems with a javascript bookmarklet to scrape data off a webpage. The code runs as planned in Opera, but fails in FireFox.

    In all it's one lined glory
    Code:
    javascript:temp=prompt("Please enter Building Coordinates\nExample: 0,0");output=temp+",";size=document.getElementsByName("main")[0].contentDocument.getElementsByTagName("table")[6].cells.length;numcommods=(size-10)/7;cel=6;for
    ...
    See more | Go to post
No activity results to display
Show More
Working...