2017-11-05 04:18:36 +01:00
|
|
|
let idInjection = document.createElement('script');
|
|
|
|
idInjection.innerHTML = 'let extensionId = "' + chrome.runtime.id + '";';
|
2017-11-05 06:08:02 +01:00
|
|
|
document.head.appendChild(idInjection);
|
2017-11-05 04:18:36 +01:00
|
|
|
|
|
|
|
let scriptInjection = document.createElement('script');
|
|
|
|
scriptInjection.src = chrome.runtime.getURL('injection.js');
|
2017-11-05 06:08:02 +01:00
|
|
|
document.head.appendChild(scriptInjection);
|
|
|
|
|