Discuss Scratch

__Falcon-Games__
Scratcher
1000+ posts

Forum Security Change!!

That's a creative use of hyperlinks, well done. Isn't this a duplicate though?
Dnstarr
Scratcher
21 posts

Forum Security Change!!

__Falcon-Games__ wrote:

That's a creative use of hyperlinks, well done. Isn't this a duplicate though?
what do you meAN?
BabyBoyReader11
Scratcher
500+ posts

Forum Security Change!!

Paddle2See wrote:

Scratchifier wrote:

So yeah, is this something we could expect in a (somwhat soon) future update?
I can't answer that - I don't set the work lists for the developers

We came close to doing this exact thing a couple of years back - to the point where we actually designed the graphic that would pop up to show that you were leaving Scratch. I wish I could remember why it never went any further - maybe it was just a question of priorities. Probably it got pushed aside to get 2.0 out. Maybe its time has come at last?

Wasn't this the person who uploaded Gobo from behind?






oh yeah i guess it is
OnTheCode99
Scratcher
500+ posts

Forum Security Change!!

Scratchified_Extras wrote:

(#1)
Suggestion completely explained here: http://scratch.mit.edu/projects/22454157/

Any supporters? (Please read full post first!)

Sorry if it's hard to read. xP

Support, for the reasons above.
starlightsparker
Scratcher
1000+ posts

Forum Security Change!!

OnTheCode99 wrote:

Support, for the reasons above.
Remember, the forums are not a polling service, when giving your support, please give a new reason that's constructive, instead of that.
A-MARIO-PLAYER
Scratcher
1000+ posts

Forum Security Change!!

Noahsantos2024 wrote:

(#264)
Hi! Thanks Gobo!
this topic has nothing to do with gobo or scratch cat or their friends

Last edited by A-MARIO-PLAYER (Aug. 30, 2024 07:35:12)

Catzcute4
Scratcher
500+ posts

Forum Security Change!!

ok, maybe we could have a whitelist, but otherwise ABSOLUTE-SUPPORT == TRUE
DifferentDance8
Scratcher
1000+ posts

Forum Security Change!!

I know the OP is most likely not active at all anymore, but why not just… put your explanation in the post itself rather than leading to a google search page?
starlightsparker
Scratcher
1000+ posts

Forum Security Change!!

DifferentDance8 wrote:

I know the OP is most likely not active at all anymore, but why not just… put your explanation in the post itself rather than leading to a google search page?
it was a demonstration of how these type of links can be abused. I’d say its clever.
i_eat_coffee
Scratcher
1000+ posts

Forum Security Change!!

DifferentDance8 wrote:

I know the OP is most likely not active at all anymore, but why not just… put your explanation in the post itself rather than leading to a google search page?
it's a direct demonstration of how it works, and it's honestly way easier to understand
i_eat_coffee
Scratcher
1000+ posts

Forum Security Change!!

it could be implemented simply like this:
linkOpened = function(url) {
  let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
  if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
}
A-MARIO-PLAYER
Scratcher
1000+ posts

Forum Security Change!!

i_eat_coffee wrote:

(#271)
it could be implemented simply like this:
linkOpened = function(url) {
  let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
  if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
}
but this still says “you're leaving scratch” if you're going to another scratch page linked from a forum post
i_eat_coffee
Scratcher
1000+ posts

Forum Security Change!!

A-MARIO-PLAYER wrote:

i_eat_coffee wrote:

(#271)
it could be implemented simply like this:
linkOpened = function(url) {
  let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
  if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
}
but this still says “you're leaving scratch” if you're going to another scratch page linked from a forum post
my bad, i forgot

linkOpened = function(url) {
  if (new URL(url).hostname.endsWith('scratch.mit.edu')) {
    window.location.href = url;
  }else{
    let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
    if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
  }
}

edit: technically this never said “you're leaving scratch” tho

Last edited by i_eat_coffee (Aug. 31, 2024 18:11:09)

SupaYoshiBro
Scratcher
100+ posts

Forum Security Change!!

i_eat_coffee wrote:

A-MARIO-PLAYER wrote:

i_eat_coffee wrote:

(#271)
it could be implemented simply like this:
linkOpened = function(url) {
  let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
  if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
}
but this still says “you're leaving scratch” if you're going to another scratch page linked from a forum post
my bad, i forgot

linkOpened = function(url) {
  if (new URL(url).hostname.endsWith('scratch.mit.edu')) {
    window.location.href = url;
  }else{
    let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
    if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
  }
}

edit: technically this never said “you're leaving scratch” tho
thats a good idea actually, this one time somebody told me to go onto a scratch project that they were advertising, it actually led to a chrome download that i would write if it was possible to say on scratch without getting muted (known as (removed by moderator - please don't name browser extensions))

Last edited by cosmosaura (Sept. 7, 2024 18:33:04)

MonkeyBean2
Scratcher
500+ posts

Forum Security Change!!

i_eat_coffee wrote:

A-MARIO-PLAYER wrote:

i_eat_coffee wrote:

(#271)
it could be implemented simply like this:
linkOpened = function(url) {
  let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
  if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
}
but this still says “you're leaving scratch” if you're going to another scratch page linked from a forum post
my bad, i forgot

linkOpened = function(url) {
  if (new URL(url).hostname.endsWith('scratch.mit.edu')) {
    window.location.href = url;
  }else{
    let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
    if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
  }
}

edit: technically this never said “you're leaving scratch” tho
What is the point of setting `shortenedUrl`
MonkeyBean2
Scratcher
500+ posts

Forum Security Change!!

A little icon could be added after links that go outside of scratch, like the one wikipedia uses.



i_eat_coffee
Scratcher
1000+ posts

Forum Security Change!!

MonkeyBean2 wrote:

i_eat_coffee wrote:

A-MARIO-PLAYER wrote:

i_eat_coffee wrote:

(#271)
it could be implemented simply like this:
linkOpened = function(url) {
  let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
  if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
}
but this still says “you're leaving scratch” if you're going to another scratch page linked from a forum post
my bad, i forgot

linkOpened = function(url) {
  if (new URL(url).hostname.endsWith('scratch.mit.edu')) {
    window.location.href = url;
  }else{
    let shortenedUrl = url; if (url.length > 8) shortenedUrl = url.slice(0,5) + '...';
    if (confirm('Are you sure you want to go to ' + url + '?')) { window.location.href = url; }
  }
}

edit: technically this never said “you're leaving scratch” tho
What is the point of setting `shortenedUrl`
the url can be too long
SupaYoshiBro
Scratcher
100+ posts

Forum Security Change!!

(removed by moderator - who totally wasn't a moderator aka me))
glitcX
Scratcher
1000+ posts

Forum Security Change!!

I bet it's coming soon, as there's been lots of updates recently
glitcX
Scratcher
1000+ posts

Forum Security Change!!

MonkeyBean2 wrote:

A little icon could be added after links that go outside of scratch, like the one wikipedia uses.
Mockup:
InsertLink.Com

Powered by DjangoBB