Position field in Firefox extension

Trying to use some simple Firefox extensions ...

I am trying to create a second “window” width of the browser window directly above the default status bar at the bottom of the browser.

Placing a simple hbox element in my overlay places the second "bar" below the default status bar, but I cannot find a way to move it. I tried "insertbefore = 'status-bar", etc.

I searched for a while, but did not seem to find an answer to this seemingly simple problem ...

UPDATE ... heres my overlay in psuedocode (im not on my machine right now) ...

<overlay>

  //this is where i want to do a second "bar" above the status bar
  <hbox>
    //random text in here is displayed in bar properly but its below the default bar
    // tried "insertbefore='status-bar'" in the hbox tag...but this had no effect..
  </hbox> 

  //default status bar...i placed a button here...
  <statusbar id="status-bar">
    //button element goes here and is placed on right side of default status bar
    // this works as expected
  </statusbar>

</overlay>
+3
source share
1 answer

, , DOM Inspector ( , " " ), .

+1

Source: https://habr.com/ru/post/1777817/


All Articles