Skip to content

Quick Solutions

Best Experience

Recent Posts

  • Script in BASH Install Ubuntu 16.04 PHP 5.6
  • Script in BASH Install Ubuntu 16.04 PHP 7.0
  • Include javascript file in chrome console
  • Moodle Script to refresh all courses with default sections
  • Cron Backups for Moodle Db and Moodledata

Categories

  • Apache
  • Errors
  • Git
  • Home
  • Html
  • Javascript
  • Linux
  • Moodle Development
  • My Sql
  • PHP
  • Ubuntu

Pages

  • Contact Us

Tags

  • Apache
  • Browser Cosole
  • Composer
  • Html
  • Javascript Source
  • Moodle
  • Moodle 3.1
  • Moodle 3.3
  • Mysql 5.7
  • mysql 5.7.19
  • PHP
  • PHP 5.6
  • PHP 7.0
  • Ubuntu 16.04

Category: Javascript

Include javascript file in chrome console

Run it in console:

var script = document.createElement('script');
 script.type = 'text/javascript';
 script.src = 'html://path_to_script.js';
 document.head.appendChild(script);
Posted on 19-01-2018Categories Home, Html, JavascriptTags Browser Cosole, Html, Javascript SourceLeave a comment on Include javascript file in chrome console
Proudly powered by WordPress