I am developing a chrome extension.
I need show popover on the double click on the word. Therefore I inject bootstrap popover:
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["3rdparty/jquery-3.2.1.min.js",
"3rdparty/bootstrap-3.3.7.min.js", ...],
"css": ["3rdparty/bootstrap-3.3.7.min.css"],
"run_at": "document_end"
}
]
But this injection of css affects some pages. Some artifacts can appear.
How can I properly inject popovers?