envato element 1 2 3 diye giden sayfalamaları ajax la getiriyor anladığım kadarıyla, Site yenilenmediği için backgound.js ile url nin değiştiğini content.js ye iletip fonksiyonumu çalıştırmayı başarıyorum ancak "document" ile çektiğim veriler yeni veriler olmuyor.

var elmnt = document.evaluate('//*[@id="app"]/div[1]/main/div/div[2]/section/div[2]/div[2]/div/div[1]/ul', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);// <li> leri getiriyor
if(elmnt)
elmnt = elmnt.singleNodeValue.childNodes;
//
console.log(elmnt[0]);// Dikkat Burda consola yazdırdığım verilerin Farkını Aşağıda vericem
for(var i=0; i<elmnt.length; i++)
{
if(result.urls.includes(elmnt[i].childNodes[0].childNodes[0].href))
{
elmnt[i].childNodes[0].childNodes[2].style.backgroundColor = "#ff3030";
}
}
Gelen İçeriğin Aşağıdaki gibi olması gerekiyor ancak
<li class="ieaoufrV _2Er9bUts"><div class="_34jtMg0v" data-test-selector="item-card"><a title="Grandfather with Grandson Repairing Toy Plane" class="_3rdSwH6G _2AqlnteD" href="/grandfather-with-grandson-repairing-toy-plane-BL5ESUM"></a><div class="jIQ5zJN_ _3s3b3xSM"><img class="_1VZClR0a" srcset="https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?fit=min&amp;fm=jpeg&amp;h=56&amp;q=80&amp;w=100&amp; 100w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?fit=min&amp;fm=jpeg&amp;h=113&amp;q=80&amp;w=200&amp; 200w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?fit=min&amp;fm=jpeg&amp;h=169&amp;q=80&amp;w=300&amp; 300w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=225&amp;w=400&amp; 400w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=281&amp;w=500&amp; 500w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=338&amp;w=600&amp; 600w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=394&amp;w=700&amp; 700w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=450&amp;w=800&amp; 800w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=506&amp;w=900&amp; 900w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=563&amp;w=1000&amp; 1000w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=675&amp;w=1200&amp; 1200w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=788&amp;w=1400&amp; 1400w, https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=900&amp;w=1600&amp; 1600w" src="https://elements-video-cover-images-0.imgix.net/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/inline_image_preview.jpg?auto=compress%2Cformat&amp;fit=min&amp;h=394&amp;w=700&amp;" sizes="(min-width: 1440px) 320px, (min-width: 1000px) calc(88.4vw / 4), (min-width: 750px) calc((92.8vw - 10px) / 2), calc(95.0vw - 20px)" alt="Thumbnail for Grandfather with Grandson Repairing Toy Plane"><div class="video-player"><video src="https://video-previews.elements.envatousercontent.com/files/553d5edd-260b-4d05-9d6a-d2f44be557c8/video_preview_h264.mp4" seek="0" class="_14ZxpMZo" loop="" preload="none" __idm_id__="182237185">This video is currently unavailable</video></div><div tabindex="0" interval="100" sensitivity="5" delay="0" class="_3Ndw5wjB _1EJgl71_"><a class="_1wL0Kx7A" href="/grandfather-with-grandson-repairing-toy-plane-BL5ESUM"></a><div class="_2mAUrrHs zfkSOz8z"><div class="_3iKecPca"><div class="OutU1Fxk"><span class="_3FiQavwf"><button type="button" class="_2TFl9_KP _3vwv6agn"><svg class="_2YAsIJAi" tabindex="" xmlns="http://www.w3.org/2000/svg" viewBox="0 -0.483 24 18.987" role="img" aria-label="Unmute"><path d="M6.664 15.289L14 8.161v9.354a.5.5 0 0 1-.5.5c-2.569 0-5.07-1.048-6.836-2.726zM3 13.015h.262L14 2.584V.515a.5.5 0 0 0-.5-.5c-3.59 0-7.056 2.041-8.554 5H3c-1.654 0-3 1.346-3 3v2c0 1.653 1.346 3 3 3zm14.557-8.309l-.772.75C18.169 6.153 19 7.164 19 9.015c0 1.67-.869 3.088-2.161 3.526a.502.502 0 0 0-.314.635.503.503 0 0 0 .635.312c1.699-.576 2.84-2.375 2.84-4.473 0-1.931-.967-3.603-2.443-4.309zm2.16-4.887a1.005 1.005 0 0 0-1.414-.021l-17.499 17-.008.011c-.424.419-.366 1.089.015 1.427.376.358 1.013.361 1.387-.002l17.5-17a1.001 1.001 0 0 0 .019-1.415z"></path></svg></button><span class="_3c0O_4nN _2KD9ec-P"><span class="_3QIFc_Cv"><span class="_3pHux_UR">0</span></span>:<span class="_3k3ssO6v"><span class="_3pHux_UR">01</span></span></span></span><button type="button" class="_2TFl9_KP _2s4kl-aU"><svg class="_2YAsIJAi" tabindex="" xmlns="http://www.w3.org/2000/svg" viewBox="2 3 19 19" role="img" aria-label="Open full screen"><path d="M8.979 4a1 1 0 0 1-1 1H4v4a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1h4.979a1 1 0 0 1 1 1zM20 3h-4.979a1 1 0 1 0 0 2H19v4a1 1 0 1 0 2 0V4a1 1 0 0 0-1-1zM7.979 20H4v-4a1 1 0 1 0-2 0v5a1 1 0 0 0 1 1h4.979a1 1 0 1 0 0-2zM20 15a1 1 0 0 0-1 1v4h-3.979a1 1 0 1 0 0 2H20a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1z"></path></svg></button></div><div class="_3FxbEbKn"><div class="_39_qsavf" style="width: 3.52579%;"></div></div></div></div></div></div><div class="_25TiP-9f"><div class="_231Quk9X"><div class="_3ZEMyRw_"><span>Grandfather with Grandson Repairing Toy Plane</span></div><div class="_3T41yAx3">By <a href="/user/FrameStock">FrameStock </a></div></div><div class="_3YJuRQbp _2EDFTh_g"><div class="_12ge_mdz _2sLIqftx" role="tooltip" tabindex="0"><button class="qA_3Sd80" data-test-selector="collection-popup-button" type="button"><div class="LgSVeOOf"><svg class="_2YAsIJAi _3RUKX4ND" tabindex="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.5 23" role="img" aria-label="Add"><path d="M15.9 0H.6C.3 0 0 .3 0 .6v21.8c0 .2.1.4.3.5.2.1.4.1.6 0l7.3-4.5 7.3 4.5c.1.1.2.1.3.1.1 0 .2 0 .3-.1.2-.1.3-.3.3-.5V.6c.1-.3-.2-.6-.5-.6zm-.7 21.3l-6.7-4.1c-.2-.1-.4-.1-.6 0l-6.7 4.1V1.2h14v20.1zm-6.3-8.4c0 .3-.3.6-.6.6-.2 0-.3-.1-.4-.2s-.2-.3-.2-.4v-3h-3c-.5 0-.7-.3-.7-.7 0-.3.3-.6.6-.6h3v-3c0-.4.3-.6.6-.6s.6.3.6.6v3h3c.3 0 .6.3.6.6s-.3.6-.6.6h-3l.1 3.1z"></path></svg></div></button><span class="_1uG1TR2p Q1ijW1Ji">Add to collection</span></div></div><div class="_12ge_mdz _1HHRjrlC k8ZCzSsw _2sLIqftx" role="tooltip" tabindex="0"><button type="button" data-test-selector="item-card-download-button" class="_2hik-HFg"><svg class="_2YAsIJAi _2TqDbteG" tabindex="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 36" role="img" aria-label="Download"><path d="M29.5 30.43h-27a2.5 2.5 0 0 0 0 5h27a2.5 2.5 0 0 0 0-5zM5.24 13.6a2 2 0 0 0-.08.26v.12a2 2 0 0 0 0 .39v.09a2 2 0 0 0 0 .29v.16a2 2 0 0 0 .07.21c0 .06.06.11.09.17a1.93 1.93 0 0 0 .09.17 2 2 0 0 0 .16.2l.08.1 9.42 9.56.17.14.13.1.22.12.12.06.27.08h.11a2 2 0 0 0 .76 0h.1l.27-.08.12-.06.22-.12.13-.1.18-.14 9.42-9.56.08-.1a2 2 0 0 0 .16-.2 1.93 1.93 0 0 0 .09-.17c0-.06.06-.11.09-.17a2 2 0 0 0 .07-.21v-.16a2 2 0 0 0 0-.29v-.09a2 2 0 0 0 0-.39v-.12a2 2 0 0 0-.08-.26c0-.06-.06-.12-.09-.17s-.06-.12-.09-.17a2 2 0 0 0-.25-.3l-.1-.08a2 2 0 0 0-.2-.16l-.17-.09-.17-.09-.21-.06H20V3.5a3.5 3.5 0 0 0-7 0v8.87H6.55l-.21.06-.17.09-.17.19a2 2 0 0 0-.2.16l-.1.08a2 2 0 0 0-.25.3c0 .05-.06.11-.09.17s-.1.12-.12.18z"></path></svg></button><span class="_1uG1TR2p">Download</span></div></div></div></li>
Böyle Çıktı veriyor
<li class="ieaoufrV _2Er9bUts"></li>