Dynamically Insert External CSS and External JavaScript to Web Pages

Sometimes we may want to insert an external style sheet or an external script dynamically after page has loaded. This can be accomplished with only a few lines of plain JavaScript code. To insert external CSS file to your web pages dynamically, paste the following code to the JavaScript console…