TheFabulousPika / steam-chatlog-to-text

A chrome extension that converts Steam webchat log to text format
2 stars 0 forks source link

Use original link in datacopy text for images instead of akamai steam link #30

Closed TheFabulousPika closed 4 years ago

TheFabulousPika commented 4 years ago
<div class="msgText " data-copytext="">
  <div class="chatImageContainer" data-copystyle="block" data-copytext="https://images.brickset.com/sets/large/6811-1.jpg">
    <div class="BBCodeImageWrapper" style="max-width: 455.413px;">
      <div class="PreserveAspect" style="height: 0px; overflow: hidden; padding-top: calc(69.168%); position: relative;"><img class="chatImageFull BBCodeResizableElement" src="https://steamcommunity-a.akamaihd.net/chat/image/ANoIC7wBd4IwNuEL3ReWMMPrClh-wWDDW5eXu5WK3Ul797uNpLPw3bTTrZB8HBMszogmPQ/share_image.jpg?s=652x652">
        <div class="BBCodeCollapseControl" title="https://images.brickset.com/sets/large/6811-1.jpg"><svg fill="#FFFFFF" xmlns="http://www.w3.org/2000/svg" class="SVGIcon_Button SVGIcon_X" version="1.1" x="0px" y="0px" viewBox="-165 95 100 100">
            <g>
              <polygon points="-74.9,117.2 -102.2,145 -74.9,172.8 -89.1,186.8 -116.2,159.3 -143.2,186.8 -157.5,172.8 -130.2,145 -157.5,117.2 -143.2,103.2 -116.2,130.7 -89.1,103.2"></polygon>
            </g>
          </svg></div>
      </div>
    </div>
  </div>
</div>