Navigation/blobs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Navigation/blobs?

I was wondering if anyone has ever done or seen this. Essentially what i would like a little more insight im is if anyone has ever stored javascript inside of a blob object and used it to repaint the DOM without reloading the page. Or maybe even wrote a shadow dom to a blob to do the same? Would the blob objects be best loaded async to DOM load or deferred.

22nd Aug 2020, 11:39 PM
Chad Williams
Chad Williams - avatar
1 Answer
+ 2
Martin Taylor not trying to reinvent the wheel just looking for better understanding of the blobs capabilities and limits in dynamic programming. Im not sure if using eval would be great in this situation as ive been told its unsafe. Perhaps better to write plain text to the document object via document.write? or even body.innerHTML... i dunno im asking...?
23rd Aug 2020, 12:11 AM
Chad Williams
Chad Williams - avatar