mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-09 05:57:40 +02:00
16c5fe65ca
* [PM-5876] Adjust LP Fileless Importer to Suppress Download with DOM Append in Manifest v3 * [PM-5876] Incorporating jest tests for affected logic * [PM-5876] Fixing jest test that leverages rxjs * [PM-5876] Updating documentation within BrowserApi.executeScriptInTab * [PM-5876] Implementing jest tests for the new LP suppress download content scripts * [PM-5876] Adding a change to webpack to ensure we do not package the mv2 side script for `lp-suppress-import-download.mv2.ts` if building the extension for mv3 * [PM-5876] Implementing changes based on feedback during code review * [PM-5876] Implementing changes based on feedback during code review * [PM-5876] Implementing changes based on feedback during code review * [PM-5876] Implementing changes based on feedback during code review * [PM-5876] Implementing a configuration to feed the script injection of the Fileless Importer CSV download supression script
10 lines
444 B
TypeScript
10 lines
444 B
TypeScript
/**
|
|
* This script handles injection of the LP suppress import download script into the document.
|
|
* This is required for manifest v2, but will be removed when we migrate fully to manifest v3.
|
|
*/
|
|
(function (globalContext) {
|
|
const script = globalContext.document.createElement("script");
|
|
script.src = chrome.runtime.getURL("content/lp-suppress-import-download.js");
|
|
globalContext.document.documentElement.appendChild(script);
|
|
})(window);
|