Comments (7)
If you have extension in the menu you'll see that this is because of permissions (‘Permission needed to read and change data’). Firefox extensions are granted permission to run on the current page only when you click on the icon, which is quite annoying, because for Copy as Markdown, it opens this GitHub repository page.
However, I've seen many other extensions bypass this somehow, so I assume there's another permission that this extension can request during install to run on all pages without need to click it in toolbar.
from copy-as-markdown.
This still appears to happen, but on every browser restart, on any page. I have to click the extension icon in the toolbar, after that the context menu appears and always works perfectly fine, until you restart the browser again
from copy-as-markdown.
We show the option only in certain contexts.
Depending on where you right click after selecting a piece of text (that may include images, video, audio, or other stuff), the context menu gets added or not.
Our code only adds the context menu when you right click on an image, link, or just text selection.
You can try right clicking at a different position after making a selection to see if this is the case. You can try sharing a link to the page that you are testing this on for me to test.
from copy-as-markdown.
Thank you :) I'm not sure that I can share a link (private web site) but I'll keep my eyes open for when this happens again, make sure to click on the text, and if it's a public web site then I'll share it.
from copy-as-markdown.
I was beginning to think that this must be a user error, but I finally found an example
https://docs.gitlab.com/ee/ci/jobs/ci_job_token.html#limit-your-projects-job-token-access
right-clicking on the link scheduled for removal produces a context menu with the Copy as Markdown missing.
Indeed it is missing from anywhere in the page.
Disable/Enable, reload the page, and it's working again.
I'm still not convinced that this is a real bug and not just my mistake though ¯_(ツ)_/¯
from copy-as-markdown.
Looks like you got it working.
from copy-as-markdown.
Came here to post the same, it seems like there is a permission this extension could request that would allow it to work without being reactivated manually after firefox restarts/updates. It seems like every other time I want to copy a link as markdown I first have to go click the extension in the extensions toolbar menu again.
from copy-as-markdown.
Related Issues (20)
- Can't access options HOT 1
- When copy texts including code block from github issues, code block not added with ``` HOT 1
- Could this plugin support Microsoft Edge? HOT 1
- Keyboard Shortcut HOT 3
- Firefox extension wraps strike-through text with single tilde instead double tilde HOT 2
- Shortcut not working ? HOT 1
- link title is not right HOT 1
- Support `*` as default for lists according to Maring Fireball original Markdown specification HOT 1
- Features for ChatGPT / GPT4 dialogs HOT 2
- Multiple line codeblocks with triple backticks HOT 6
- Optionally copy as HTML
- When nothing is selected copy the [Title](Url) of the webpage
- Hello! Online images cannot be copied and pasted into notes HOT 4
- Copying Markdown from a web page and pasting it into a note causes extra characters to appear.
- Firefox extension needs to be manually activated before it works HOT 1
- adding shortcut key functions to commands
- Ability to copy with stripped links?
- Misses out some superscripts when copying formulas
- Mobile support: Add contextual menu on toolbar icon click (instead of linking to the github)
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 copy-as-markdown.