![](/img/trans.png)
[英]Is there any way to turn a webpage that is styled partially with Javascript into pure HTML and CSS?
[英]Is there any way to get the content of already fetched JavaScript/ CSS/ image of a webpage?
當網頁被加載時,它會獲取所有必需的依賴項,所以有什么方法可以獲取已經獲取的內容並將其顯示在控制台中(無需再次調用服務器)。
我通過傳遞"force-cache"
選項嘗試了 fetch() 方法,但它並不總是有效(例如,如果服務器發送標頭而不緩存特定文件會怎樣)。
對此有什么想法嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.