4 msΒ·
Just googled the replacement hacks using unicode. If Twitter offered styles for a fee, people would probably use those workarounds, e.g. to get italics π π‘ππ
by netsharc 6y ago
Just googled the replacement hacks using unicode. If Twitter offered styles for a fee, people would probably use those workarounds, e.g. to get italics π π‘ππππ.
Although these are probably not searchable.. Edit: hmm Ctrl-F actually finds "string"!
- deleted 6y ago[deleted]
- progval 6y ago> Although these are probably not searchable.. Edit: hmm Ctrl-F actually finds "string"! Depends on the search engine. And Ctrl-F is already unusable on Twitter Web anyway, because it only works on tweets in the viewport (or close to it)
- throwaway_pdp09 6y agoCould you elaborate on what's meant by viewport in this context as, like this, it's new to me. TIA
- xrendan 6y agoWhat's currently displayed in the browser window [0] [0] https://developer.mozilla.org/en-US/docs/Glossary/Viewport https://developer.mozilla.org/en-US/docs/Glossary/Viewport
- whatch 6y agoIs it browser's limitation? I had issues, when tried to search in a very long <textarea> with scrollbar. Firefox was able to find only currently visible occurrences. That was not a viewport issue, of course, but looks very similar. Would love to know more about all this.
- progval 6y agoNo, it's because Twitter Web removes elements from the DOM when they are far from the viewport. There are two ways you can see it: 1. Open a DOM debugger, select an element in a tweet, scroll down. Eventually the element disappears. 2. In Firefox, scroll down, right click, "Take a screenshot", "Complete page". You'll see tweet far from the viewport, as well as header and sidebars are invisible. The motivation is probably to make it faster, but it's unclear to me why removing (and later re-adding) elements in Javascript would be more efficient than the browser internally dealing with it.
- tdeck 6y agoThe big problem with these hacks is that they completely break on screen readers. IIUC the software either skips them entirely or reads each letter out like "bold script t, bold script h, hold script e..."