You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The linkifyDOM.js content script script itself is very old, was copied from the legacy-sdk branch when we moved to WebExtensions. It is disabled by default, but some people opt-in to enable it.
@lgierth noted that "Linkify" experiment breaks Slack/Twitter.
Reproducing
I was able to reproduce issue with slack by enabling Linkify experiment and pasting below line to the chat input:
foo dweb:/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR bar
and trying to write something after bar
Fix
It seems linkification works fine on initial page load, and the issue is related to handling of dynamic DOM updates that happen after that.
The text was updated successfully, but these errors were encountered:
- support dynamic JS apps by rate-limiting operations
- run only one DOM-mutating task at the time
- ignore Elements that have or are under a parents marked
with HTMLElement.contentEditable property
- closes#503
- support dynamic JS apps by rate-limiting operations
- run only one DOM-mutating task at the time
- ignore Elements that have or are under a parents marked
with HTMLElement.contentEditable property
- closes#503
This PR updates very old content script responsible for making plain text IPFS paths clickable.
- Support dynamic JS apps by rate-limiting operations via global job queue
- Run only one DOM-mutating task at the time
- Ignore DOM nodes under a parent with `contentEditable` property equal true
- This fixes heavily customized input fields on Slack and Twitter and closes#503
Background
The
linkifyDOM.js
content script script itself is very old, was copied from thelegacy-sdk
branch when we moved to WebExtensions. It is disabled by default, but some people opt-in to enable it.@lgierth noted that "Linkify" experiment breaks Slack/Twitter.
Reproducing
I was able to reproduce issue with slack by enabling Linkify experiment and pasting below line to the chat input:
and trying to write something after
bar
Fix
It seems linkification works fine on initial page load, and the issue is related to handling of dynamic DOM updates that happen after that.
The text was updated successfully, but these errors were encountered: