Created
August 31, 2020 18:13
-
-
Save jonathanablanida/d7742b3ddd4c7642d11258253f97f71d to your computer and use it in GitHub Desktop.
Revisions
-
jonathanablanida created this gist
Aug 31, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ var img = document.querySelector("div.product-briefing.flex.card._2cRTS4 > div._30iQ1- > div.flex.flex-column > div._1eNVDM > div > div._3ZDC1p > div"); found = img.style["background-image"].match(/"(.*)\"/g); window.open(found[0].replace(/["']/g, ""),"_blank");