What is the effect of this page?

http://htmlpreview.github.io/.://github.com/215566435/React-awesome-resume/blob/master/build/index.html

Link

Mar.18,2021

When the

website opens, the file htmlpreview.min.js will be loaded first.

inside the js file is a HTMLPreview large object.

var HTMLPreview = {
  loadHTML: function(data) {},
  send: function(file, callback) {},
  ...
};

loadHtml () calls send (), while send () calls yahoo's api, https://query.yahooapis.com/v1/public/yql?.. this yahoo's api request is to get the page content of the relevant website . After the content is returned asynchronously, such a paragraph is executed inside loadHtml, and the entire website is rewritten

.
document.open();
document.write(HTMLPreview.content);
document.close();
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaf4d8-2244.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaf4d8-2244.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?