Scratchaddons: [New addon] Make all links clickable on Scratch?

Created on 17 Aug 2020  Â·  10Comments  Â·  Source: ScratchAddons/ScratchAddons

Describe the new addon

Make all links clickable even if they're not inside scratch.mit.edu

Link to the new addon

Inspired by https://github.com/Hans5958/userscripts/blob/master/Scratch/More%20Links%20in%20Scratch.user.js

new addon addon enhancement

Most helpful comment

FYI, my implementation uses the Linkify library, which to my opinion, is pretty lightweight. But if people can make it more simpler then sure.

All 10 comments

Make all links clickable even if they're not inside scratch.mit.edu

ScratchAddons is made for scratch.mit.edu only, right?

@BoomerScratch Yep, by that I mean links inside Scratch, to other websites.

FYI, my implementation uses the Linkify library, which to my opinion, is pretty lightweight. But if people can make it more simpler then sure.

i began, and then i gave up

i began, and then i gave up

I see you tried to do it as it is, and it is laggy. Well, it's because I did it to every p and div possible, which is really a bad thing to do, but it's because I wanted a quick solution, and it ran fine to me.

If I have time, I might be try to implement this myself. Some day.

I could implement this. It will use Twemoji's text node finder.

On Sat, Aug 29, 2020, 12:47 PM Hans5958 notifications@github.com wrote:

i began, and then i gave up

Yeah, because I did it to every p and div possible, which is really a bad
thing to do, but it's because I wanted a quick solution, and it ran fine to
me.

If I have time, I might be try to implement this myself. Some day.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ScratchAddons/ScratchAddons/issues/71#issuecomment-683314545,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQENB7EY2JZ4LHZUUI3IPLSDEWINANCNFSM4QCFLEEA
.

@WorldLanguages assign me?

I could implement this. It will use Twemoji's text node finder.

I have made one with Linkify, which is better than @JeffaloBob's implementation, btw.

@Hans5958, a two line version is pretty epic =P

@Hans5958, a two line version is pretty epic =P

Yeah, but it is impractical inefficient, because it searches on all div elements possible.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GrahamSH-LLK picture GrahamSH-LLK  Â·  8Comments

pufferfish101007 picture pufferfish101007  Â·  4Comments

WorldLanguages picture WorldLanguages  Â·  10Comments

RedGuy12 picture RedGuy12  Â·  5Comments

BoomerScratch picture BoomerScratch  Â·  12Comments