Skip to content
Discussion options

You must be logged in to vote

@5e-Cleric

It is custom code. There are 2 parts for suggesting the CSS selectors:

  1. Getting existing selectors: Defined in function getExistingCSSSelectors at:
    var getExistingCSSSelectors = function (tagsToExclude) {
  2. Generating selectors: Defined in function generateSelector in file https://github.com/webextensions/live-css-editor/blob/ad07e6fe50d1c7684eab8313fe760cf70ccdafd1/extension/scripts/magicss/generate-selector.js which is used at:
    window.generateSelector(targetElement, {skipClass: 'magicss-mouse-over-dom-e…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@5e-Cleric
Comment options

@webextensions
Comment options

@5e-Cleric
Comment options

Answer selected by 5e-Cleric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants