Count text lines of a specific color Announcing the arrival of Valued Associate #679: Cesar...

The logistics of corpse disposal

What do you call a plan that's an alternative plan in case your initial plan fails?

What are the pros and cons of Aerospike nosecones?

Bonus calculation: Am I making a mountain out of a molehill?

Diagram with tikz

Why was the term "discrete" used in discrete logarithm?

I am not a queen, who am I?

Antler Helmet: Can it work?

Do I really need recursive chmod to restrict access to a folder?

Problem drawing boxes with arrows in tikZ

Sorting numerically

Should I discuss the type of campaign with my players?

What is the correct way to use the pinch test for dehydration?

How to motivate offshore teams and trust them to deliver?

What LEGO pieces have "real-world" functionality?

How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?

Why constant symbols in a language?

Single word antonym of "flightless"

Proof involving the spectral radius and the Jordan canonical form

Dating a Former Employee

Is the argument below valid?

Determinant is linear as a function of each of the rows of the matrix.

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

What's the purpose of writing one's academic bio in 3rd person?



Count text lines of a specific color



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Change Chrome Scrollbar ColorSeeing bit count of RSA in ChromeHow to change the transparent image background color in chrome?How do you change Chrome's background color?change windows 7 frame color for a specific instance of chrome?How many number of lines can chrome print at onceHow to edit a zabbix trigger for a specific host?How can I enable event watchers on a specific JavaScript file on Chrome Developer Tools?Google Chrome Color ProblemGoogle Chrome - Toggle Color Picker Don't Work





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I need to count lines of text inside a specific div element which are on a specific color using the dev tools from Google Chrome or IE/Edge.



in example:



<div class="w" id="widget_$somenumber">


contains several orange and red text lines in a table and I need to count every line which is orange inside that one div (or table) and ideally it has to match a specific text-prefix.



basically a color based find function "every line that starts with SOMETHING_LX* or SOMETHING_KY* which is of the color orange"



It's an ages old version of the zabbix monitoring system on which I don't have SQL or administrative access to - so I'm bound to using the browser dev-tools for that.
Basically it seems to be counting tags on a REGEX-filter based on what color for it is defined in the CSS.



My research:



<a class="on" href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


is a red line shown as PREFIX_KM-MODEL_SERIAL (the <strong> is optional, just based on a search I did)
and on the orange lines the a class is missing



<a href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


so it's like "count appearances of <a href="whatever">*PREFIX_KM* (OR) *PREFIX_LX* inside <div class="w" id="widget_$somenumber">"



but I tend to do everything the most difficult way or at leas think of things exclusively on the most difficult way possible - so does anyone know how to do that easily using the browser developer tools?










share|improve this question







New contributor




paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I need to count lines of text inside a specific div element which are on a specific color using the dev tools from Google Chrome or IE/Edge.



    in example:



    <div class="w" id="widget_$somenumber">


    contains several orange and red text lines in a table and I need to count every line which is orange inside that one div (or table) and ideally it has to match a specific text-prefix.



    basically a color based find function "every line that starts with SOMETHING_LX* or SOMETHING_KY* which is of the color orange"



    It's an ages old version of the zabbix monitoring system on which I don't have SQL or administrative access to - so I'm bound to using the browser dev-tools for that.
    Basically it seems to be counting tags on a REGEX-filter based on what color for it is defined in the CSS.



    My research:



    <a class="on" href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


    is a red line shown as PREFIX_KM-MODEL_SERIAL (the <strong> is optional, just based on a search I did)
    and on the orange lines the a class is missing



    <a href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


    so it's like "count appearances of <a href="whatever">*PREFIX_KM* (OR) *PREFIX_LX* inside <div class="w" id="widget_$somenumber">"



    but I tend to do everything the most difficult way or at leas think of things exclusively on the most difficult way possible - so does anyone know how to do that easily using the browser developer tools?










    share|improve this question







    New contributor




    paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I need to count lines of text inside a specific div element which are on a specific color using the dev tools from Google Chrome or IE/Edge.



      in example:



      <div class="w" id="widget_$somenumber">


      contains several orange and red text lines in a table and I need to count every line which is orange inside that one div (or table) and ideally it has to match a specific text-prefix.



      basically a color based find function "every line that starts with SOMETHING_LX* or SOMETHING_KY* which is of the color orange"



      It's an ages old version of the zabbix monitoring system on which I don't have SQL or administrative access to - so I'm bound to using the browser dev-tools for that.
      Basically it seems to be counting tags on a REGEX-filter based on what color for it is defined in the CSS.



      My research:



      <a class="on" href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


      is a red line shown as PREFIX_KM-MODEL_SERIAL (the <strong> is optional, just based on a search I did)
      and on the orange lines the a class is missing



      <a href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


      so it's like "count appearances of <a href="whatever">*PREFIX_KM* (OR) *PREFIX_LX* inside <div class="w" id="widget_$somenumber">"



      but I tend to do everything the most difficult way or at leas think of things exclusively on the most difficult way possible - so does anyone know how to do that easily using the browser developer tools?










      share|improve this question







      New contributor




      paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I need to count lines of text inside a specific div element which are on a specific color using the dev tools from Google Chrome or IE/Edge.



      in example:



      <div class="w" id="widget_$somenumber">


      contains several orange and red text lines in a table and I need to count every line which is orange inside that one div (or table) and ideally it has to match a specific text-prefix.



      basically a color based find function "every line that starts with SOMETHING_LX* or SOMETHING_KY* which is of the color orange"



      It's an ages old version of the zabbix monitoring system on which I don't have SQL or administrative access to - so I'm bound to using the browser dev-tools for that.
      Basically it seems to be counting tags on a REGEX-filter based on what color for it is defined in the CSS.



      My research:



      <a class="on" href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


      is a red line shown as PREFIX_KM-MODEL_SERIAL (the <strong> is optional, just based on a search I did)
      and on the orange lines the a class is missing



      <a href="hosts.php?form=update&amp;hostid=*****&amp;sid=*****"><strong>PREFIX</strong>_KM-MODEL_SERIAL</a>


      so it's like "count appearances of <a href="whatever">*PREFIX_KM* (OR) *PREFIX_LX* inside <div class="w" id="widget_$somenumber">"



      but I tend to do everything the most difficult way or at leas think of things exclusively on the most difficult way possible - so does anyone know how to do that easily using the browser developer tools?







      google-chrome developer-tools zabbix






      share|improve this question







      New contributor




      paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 23 hours ago









      paradonymparadonym

      12




      12




      New contributor




      paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      paradonym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          paradonym is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1425541%2fcount-text-lines-of-a-specific-color%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          paradonym is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          paradonym is a new contributor. Be nice, and check out our Code of Conduct.













          paradonym is a new contributor. Be nice, and check out our Code of Conduct.












          paradonym is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1425541%2fcount-text-lines-of-a-specific-color%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...