Can you make hovered state in Firebug “sticky?”

前端 未结 5 1057
长发绾君心
长发绾君心 2020-12-08 18:03

When I\'m debugging a site, sometimes the hovered selectors are a little long winded and similar to other ones, is there a way to apply a kind of \"sticky\" state to hover r

5条回答
  •  一个人的身影
    2020-12-08 18:37

    Sometimes items are not affected by the ":hover" state but by a mouseover in jQuery or similar, in that case you can manualy trigger the event (or force the event) in the console tab by writing:

    $('#a-random-selector').mouseover()
    

    Hope it helps, I came here looking for this answer but had to figure it out myself

提交回复
热议问题