New issue
Advanced search Search tips

Issue 845096 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Feature



Sign in to add a comment

Let content-script work on chrome-extension:// urls

Reported by a1032453...@gmail.com, May 21 2018

Issue description

  
  I'm poor in English, so I need a translate extension help me comprehend the English sites. The extension will translate some difficult word and highlight or tag the difficult words on the page. And I had developed it.

  This translate extension is work good in the online sites. However, when I try to read an EPUB format English textbook in the local file system by using a called EPUBReader extension but my translate extension didn't work in the EPUBReader extension page anymore.

  I had read the "Can extensions modify chrome:// URLs?" at the help page which say it is not stable to let extension word on chrome:// pages. But I had seen Experiments flag called "Extensions on chrome:// URLs" in the "chrome://flags/" page, why could you add the similar Experiments flag like "Extensions on chrome-extension:// URLs" in the "chrome://flags/" page? 

  I readily need this function then my extension can work everywhere and it could help me improve my English.
 
1526889218(1).jpg
191 KB View Download

Comment 2 Deleted

1526889491(1).jpg
212 KB View Download

Comment 4 by woxxom@gmail.com, May 21 2018

This feature was suggested and rejected multiple times:  bug 77440 ,  bug 17981 ,  bug 124004 ,  bug 390034 ,  bug 176032 . Judging by the rejections, implementing it securely is either impossible or requires too much effort in order to isolate the injected content script and prevent them from gaining access to the API available in the host extension page.
Labels: Needs-Milestone
Cc: rbasuvula@chromium.org
Components: Platform>Extensions UI
Labels: -Type-Bug M-68 Type-Feature
Status: Untriaged (was: Unconfirmed)
Thanks for filing the issue! Considering this as a feature request and making the status to Untriaged so that the issue would get addressed.

Could some one from Extensions dev team please look in to this issue.

Thank you!
Status: WontFix (was: Untriaged)
[Extensions Triage] Closing this since we don't allow extensions to inject scripts into other extension pages by design.
Cc: karandeepb@chromium.org rdevlin....@chromium.org
As woxxom@ and karandeepb@ mentioned, this isn't something we want by default for various reasons.

That said, I'm pretty sure the "Extensions on chrome:// urls" flag actually allows extensions on both chrome:// urls and chrome-extension:// urls.  Have you tried enabling that flag and seeing what happens?

(Note: features in chrome://flags are not fully supported, and are subject to change or removal at pretty much any time.  This particular one has some pretty good use cases, just like this, though, so it may be sticking around)

Sign in to add a comment