Comments (6)
One alternative to using a sidebar would be to inject an iframe into the page using a content script, and host the add-on's interface there.
In general this isn't a very good idea, because uncooperative/hostile pages could subvert the add-on (by drawing stuff over the iframe, for example) but in this case that's not an issue because we can expect pages from developer.mozilla.org to be cooperative :).
from doc-linter-webextension.
Another solution would be to add it to the developer panels when the browser doesn't support SidebarAction API.
from doc-linter-webextension.
Yes. See also Elchi3/mdn-doc-tests#230 for some more discussion of that :).
from doc-linter-webextension.
Following a conversation with mixedpuppy from the addons team.
It will not be possible to open the sidebar without user interaction due to a design choice.
It will be possible to open the sidebar programmatically but always with an user interaction.
Making this bug unfixable.
from doc-linter-webextension.
It will not be possible to open the sidebar without user interaction due to a design choice.
Yes, very sadly I was not able to convince people that this should work without user interaction.
It will be possible to open the sidebar programmatically but always with an user interaction.
That would be a good compromise. Though please note bug 1343817, where opening it programmatically was rejected, and new bugs for APIs requiring user interaction didn't get filed yet, as far as I can see (or they are just not referred to from that bug).
Sebastian
from doc-linter-webextension.
This bug https://bugzilla.mozilla.org/show_bug.cgi?id=1341126 is about opening the sidebar with user interaction.
from doc-linter-webextension.
Related Issues (20)
- Add count link to avoid duplicates URL HOT 3
- Add a pageAction button to trigger the sidebar HOT 1
- Run test suite also in source view HOT 1
- Highlight matches within the page HOT 3
- Optionally display lint results in reading mode
- Auto-run of rule checking fails after being in source mode HOT 1
- Localization label issues
- Travis CI is failing HOT 2
- Update package.json file
- Rerun tests when changing tabs
- Sort error list by importance HOT 1
- Keyboard shortcuts HOT 1
- Encourage writers to open the linter when editing MDN HOT 1
- Define a release process HOT 1
- Version 10 of node.js has been released
- Add EventRef to list of acceptable macros
- The tests are not running anymore after the sidebar has closed HOT 1
- CODE_OF_CONDUCT.md file missing
- Add proper README and other github stuff
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 doc-linter-webextension.