firefox addon - how to get the coordinates of Browser? -


i have created firefox extension using xpcom . want coordinates of client area of browser? how coordinates of client area of browser using xpcom? please me. thanks, nandkuamar

  1. if have window variable content area in question, use screenx/screeny properties.
  2. if have window variable browser in question, use content property access current tab's window, , follow step 1.
  3. if don't have variable yet, can ask window mediator one.

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -