[英]Assigning a chrome developer tools profiles heap string to a javascript variable
I am not able to select the string "They were often....." directly on the webpage or in HTML because it is used under canvas. 我无法直接在网页或HTML中选择字符串“他们经常.....”,因为它是在画布下使用的。
I created a memory heap of page and found the string. 我创建了一个页面的内存堆并找到了该字符串。
Is there any way by which i can assign this string to a variable? 有什么方法可以将此字符串分配给变量吗? like:
喜欢:
var foo = document.fa.fn.init[1].content;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.