This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Array.from(document.querySelectorAll('.item-title > a[href]')).forEach(elem => console.log(elem.getAttribute('href'))); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var getItems = () => Array.from(document.querySelectorAll('.srp-river-results .s-item__price')); | |
| var getPrices = () => getItems().map((item) => parseFloat((item.textContent.match(/\d+.\d+/)[0]))); | |
| var sum = () => getPrices().reduce((a, b) => b + a, 0 ); | |
| var getAvg = () => sum() / getPrices().length; | |
| console.log(getAvg().toFixed(2)); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | javascript:function sumInputValues(){var inputs=document.querySelectorAll('.textbox.textbox--fluid.draft-price.text-right input[type="text"]'),total=0;inputs.forEach(function(input){var value=parseFloat(input.value);if(!isNaN(value))total+=value});alert(`Listing Value: ${parseFloat(total.toFixed(2))}`);}sumInputValues(); |