View Single Post
Old 09-20-2024, 08:12 PM   #59
wrCisco
Connoisseur
wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.
 
Posts: 50
Karma: 605108
Join Date: Apr 2016
Device: none
I uploaded a new version of the plugin that should handle the 'quiet' part.
In order to activate the new functionality, you need to manually update the preferences file in $SIGIL_PREFS/plugin_prefs/cssRemoveUnusedSelectors/cssRemoveUnusedSelectors.json, adding the line
Code:
"quiet": true
E.g.
Code:
{
  "parseAllXMLFiles": true,
  "indent": "    ",
  "indentClosingBrace": true,
  "keepEmptyRules": true,
  "omitLastSemicolon": true,
  "omitLeadingZero": true,
  "formatUnknownAtRules": false,
  "linesAfterRules": "\n",
  "quiet": true
}
After that, it should only interact with the user when there are errors that stop the execution. Let me know if it works okay.
Attached Files
File Type: zip cssRemoveUnusedSelectors_0.3.4beta.zip (24.0 KB, 97 views)
wrCisco is offline   Reply With Quote