duckduckgo / duckduckgo/content-scope-scripts

Firefox Extention Stopping my code

Open
#965 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
70
Forks
35
Avg merge
2d 19h
Merged PRs (30d)
40

Description

The extension file duckduckgo-privacy-protection.js?scope=injectfirefox
has an error and my browser is not displaying my code on the web page I am working on.
I have the latest DuckDuckGo extension and Firefox so I can't find the reason why this is and issue.
I looked into the files and found this code that is declared as an error:
... nodecrypto = require('crypto'); ...
Please fix this as soon as possible as it is VERY irritating.
Yours Truly,
Salad_Spinner

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report in Firefox with the latest DuckDuckGo extension and inspect duckduckgo-privacy-protection.js?scope=injectfirefox around the reported require('crypto') error. Confirm whether the extension prevents the user's code from displaying on the page, then use that reproduction to define the fix and verify the page renders normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.