[removed] Let user select an HTML element like Firebug?

后端 未结 10 954
醉话见心
醉话见心 2020-11-30 17:55

I want to write a browser (Chrome/FF) extension that needs to select an element on a web page. I would like it to behave like Firebug\'s element inspector does. You click

10条回答
  •  醉话见心
    2020-11-30 18:38

    Here is a library that written in pure javascript as an alternative.

    TheRoom JS: https://github.com/hsynlms/theroomjs

    // theroom information template for target element
    var template="";
    template += "
    "; template += " <\/span>"; template += " <\/span>"; template += " <\/span>"; template += "<\/div>"; template += ""; template += "