Comments (9)
It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.
from webextensions-examples.
@dhowe This isn't unexpected. "Can't read and change data on this site", means that the extension doesn't have "host" (or site) permission, which would be needed to inject scripts into the site or manipulate requests to the server.
If you locate the page action, you can see the extension works:
from webextensions-examples.
The problem is not that specific message, but the fact that the addon is grayed-out, and has no pin option, so one cannot access the page-action, and thus cannot run the example. It is also the case for the 'borderify' example, even on mozilla.org for which it has permissions.
The examples site reads "Warning: Some examples work only on specific domains or pages. Details of any restrictions are provided in each example's readme file.", yet there is NO restriction mentioned in the applyCss or borderify READMEs, even though borderify appears as if it would only work on mozilla.org
from webextensions-examples.
If you look at the screenshot I added earlier the "page action" is the red circle icon in the address bar.
from webextensions-examples.
Again, there is no page action as it is disabled/grayed-out. I've updated the title to better reflect the issue
from webextensions-examples.
@dhowe the two extensions are grayed in the add-ons list because they don't have a browser action and therefore no toolbar button to "pin".
In the example screenshot in your last message you can see that borderify is working because there is a red border around the mozilla.org page.
What you will find is that you cannot used borderify and apply-css together - remove borderify, reload the page and the click the red circle icon in the address bar. It will apply a wider red margin to the page. (And if you open the extension setting you can also find options to allow it to work in private pages and the restricted pages.)
from webextensions-examples.
You're correct -- borderify seems to be working, though applyCss I still don't see any button in the address bar:
from webextensions-examples.
@dhowe in dark mode it appears to be a white circle
from webextensions-examples.
Got it, thanks
from webextensions-examples.
Related Issues (20)
- Favourite Color bug manifest HOT 11
- Native messaging example doesn't pong after a while HOT 3
- browser is not defined in firefox HOT 3
- Can't get response in Ubuntu HOT 10
- Python Native Messaging host does not process 1MB input HOT 11
- Image is not loading by innerHTML in the content-script-register HOT 3
- Create an example of getting select text to a variable HOT 2
- Please add example for "Paste text from clipboard" HOT 5
- examples.json should include a way to list significant manifest keys
- Update eslint, fix linting errors and integrate in CI
- MV3 example for getting data from page/content script/activeTab context into action / popup HOT 3
- Broken root-cert-stats due to var -> let change HOT 6
- Firefox Load temporary addon not working HOT 12
- native-messaging app example: provide non-contrived example for each platform HOT 1
- Update root-cert-stats to use runtime.sendMessage HOT 3
- zip does not contain a valid manifest HOT 2
- minor bug with native messaging example HOT 2
- native messaging example: port disconnects without an error HOT 1
- devtools-panels example broken with manifest v3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webextensions-examples.