powercord-community / suggestions

Repo where you can find and share plugin suggestions for Powercord
27 stars 4 forks source link

Element Selector #197

Closed unknown81311 closed 3 years ago

unknown81311 commented 3 years ago

Description

Highlights and copies the element's selector

More info

while the pops out quick CSS, there would be a button that you press and now, while you hover over an element it will outline the element. After clicking on an element it will copy the element's selector to the clipboard. if you re click the button it will turn off the css selector. There is a chrome extension that does the same thing here.


AAGaming00 commented 3 years ago
  1. devtools exists and lets you do exactly this
  2. That extension does not do this, its an extension for downloading Chrome extensions.
  3. QuickCSS pop out is broken
adntaha commented 3 years ago

Adding to what aa said,

  1. An element can have multiple selectors, and parents or children with the same width / height making it almost impossible to select those.
MulverineX commented 3 years ago

Yeah its better if you learn how to select elements yourself, rather than relying on an auto-generated selector that will probably break.