New issue
Advanced search Search tips

Issue 737007 link

Starred by 5 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Feature



Sign in to add a comment

Enable synchronous communcation to the content script for user-configurable data that needs to run reliably at document_start

Reported by giway...@gmail.com, Jun 27 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Steps to reproduce the problem:
1. Try and fail many methods of communicating synchronously to the page in a web extension...

What is the expected behavior?

What went wrong?
Web Extensions have no way to reliably inject user-configured content (such as userscripts) on to the page a document_start. This severely hampers extensions that require their scripts run absolutely first before anything else on the page.

For reference, Firefox is creating a new method called "registerContentScript":
https://bugzilla.mozilla.org/show_bug.cgi?id=1332273

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 59.0.3071  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 11.2 r202
 
Labels: Needs-Triage-M59
Components: Platform>Extensions>API
Labels: -Type-Bug -Hotlist-Interop OS-Android OS-Chrome OS-Fuchsia OS-Mac OS-Windows Type-Feature
Status: Untriaged (was: Unconfirmed)
Summary: Enable synchronous communcation to the content script for user-configurable data that needs to run reliably at document_start (was: WebExtensions - Enable synchronous communcations to the content script for user-configurable data that needs to run reliably at document_start)

Comment 3 by w...@chromium.org, Jul 15 2017

Labels: -OS-Fuchsia

Sign in to add a comment