Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] detection of JS injected by an extension #1778

Closed
atomGit opened this issue Dec 3, 2023 · 3 comments
Closed

[Q] detection of JS injected by an extension #1778

atomGit opened this issue Dec 3, 2023 · 3 comments

Comments

@atomGit
Copy link

atomGit commented Dec 3, 2023

is it possible via browser dev tools to detect if an add-on has injected JS into a document?

@Thorin-Oakenpants
Copy link
Contributor

I don't see why the console should be special - if you can do it via a document script, then the answer is yes

@atomGit
Copy link
Author

atomGit commented Dec 3, 2023

not sure i was clear enough - what i'm trying to do figure out whether JS injected by an add-on can be seen somewhere, such as the browser dev tools

how, and where, can such injections be recognized? would one look for a file reference, or something else?

@Thorin-Oakenpants
Copy link
Contributor

Thorin-Oakenpants commented Dec 3, 2023

out of scope for this repo - perhaps ask at slackoverflow - but one way is to enumerate properties (skip opener)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants