Closed Bug 1563135 Opened 6 years ago Closed 6 years ago

Pages loaded in iframe's in a sidebar should have background scripts run

Categories

(WebExtensions :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jwatt, Unassigned)

Details

I'm creating an extension that loads a foreign language dictionary in a sidebar to allow quick word lookup while reading foreign language websites. Unfortunately the dictionary site that I'm using has X-Frame-Options: sameorigin. A background script can apparently be used to remove (well, neuter) this response header for the site, but only when it's embedded in a webpage loaded in a tab. The same background script does not appear to apply to the site when embedded in a WebExtensions sidebar document. It seems like it should do though.

Oops, I had a bug in my script. This does in fact work.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.