Discuss Scratch

erencemaltay
Scratcher
87 posts

Major Milestone - v100 of Edge/Chrome/Firefox!

VedanshS933 wrote:

I updated to Microsoft Edge 99! Yay! 100 is coming soon! It was a secret I opened it manullly!
Same, yesterday, i updated to chrome 99.
beingmedhu
Scratcher
100+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

erencemaltay wrote:

VedanshS933 wrote:

I updated to Microsoft Edge 99! Yay! 100 is coming soon! It was a secret I opened it manullly!
Same, yesterday, i updated to chrome 99.
i chekced the dates of version 99 and updated to Chrome 99.0.4844.51, No Flash version detected
beingmedhu
Scratcher
100+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

VedanshS933 wrote:

100 version will cause problem and also is a Major Milestone! It will cause the problem that big sites will stop working because many sites only report the first two digit numbers. So they'll report 100 as 10 and then block you thinking you are using an old version.
Will Scratch get affected? discuss about version 100 here.

Release dates for v100
March 29 - Microsoft Edge and Google Chrome
May 3 - Mozilla Firefox

What can happen in Scratch blocks?

when green flag clicked
set [User Agent v] to (join (letter (1) of (correct user agent)) (letter (2) of (correct user agent))
if <(User Agent) < [40]> then
say [You are Blocked. Please upgrade to a new version]
else
broadcast [Connect... v]
end
(I know they are Scratch Blocks)

Here if it reports 100 as 10 then is will surely block them. They need to update it to

when green flag clicked
set [User Agent v] to (join (letter (1) of (correct user agent))(join (letter (2) of (correct user agent)) (letter (3) of (correct user agent))))
if <(User Agent) < [40]> then
say [You are Blocked. Please upgrade to a new version]
else
broadcast [Connect... v]
end

In this script it detects all three numbers and then it will able to allow

Scratch On!
plaeseeeee race to march 28 and may 5th really s fast becausec i am ongg googlle dchrome, not mozzila firefox
TheElementGuy
Scratcher
67 posts

Major Milestone - v100 of Edge/Chrome/Firefox!

Using Chrome/Edge Canary, (v100! I checked) it works.
VedanshS933
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

beingmedhu wrote:

VedanshS933 wrote:

100 version will cause problem and also is a Major Milestone! It will cause the problem that big sites will stop working because many sites only report the first two digit numbers. So they'll report 100 as 10 and then block you thinking you are using an old version.
Will Scratch get affected? discuss about version 100 here.

Release dates for v100
March 29 - Microsoft Edge and Google Chrome
May 3 - Mozilla Firefox

What can happen in Scratch blocks?

when green flag clicked
set [User Agent v] to (join (letter (1) of (correct user agent)) (letter (2) of (correct user agent))
if <(User Agent) < [40]> then
say [You are Blocked. Please upgrade to a new version]
else
broadcast [Connect... v]
end
(I know they are Scratch Blocks)

Here if it reports 100 as 10 then is will surely block them. They need to update it to

when green flag clicked
set [User Agent v] to (join (letter (1) of (correct user agent))(join (letter (2) of (correct user agent)) (letter (3) of (correct user agent))))
if <(User Agent) < [40]> then
say [You are Blocked. Please upgrade to a new version]
else
broadcast [Connect... v]
end

In this script it detects all three numbers and then it will able to allow

Scratch On!
plaeseeeee race to march 28 and may 5th really s fast becausec i am ongg googlle dchrome, not mozzila firefox

Lol

TheElementGuy wrote:

Using Chrome/Edge Canary, (v100! I checked) it works.

Yay! Scratch works!!
beingmedhu
Scratcher
100+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

TheElementGuy wrote:

Using Chrome/Edge Canary, (v100! I checked) it works.
whats that?
-ElectronicArts-
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

beingmedhu wrote:

TheElementGuy wrote:

Using Chrome/Edge Canary, (v100! I checked) it works.
whats that?
browser version
960times10_5is106044
Scratcher
500+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

You don't need Canary. Use “Force major version to 100 in User-Agent” and it works, too.
-ElectronicArts-
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

960times10_5is106044 wrote:

You don't need Canary. Use “Force major version to 100 in User-Agent” and it works, too.
no if the version isnt realesed yet
VedanshS933
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

960times10_5is106044 wrote:

You don't need Canary. Use “Force major version to 100 in User-Agent” and it works, too.

It's his/her choice
beingmedhu
Scratcher
100+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

-ElectronicArts- wrote:

beingmedhu wrote:

TheElementGuy wrote:

Using Chrome/Edge Canary, (v100! I checked) it works.
whats that?
browser version
i men whats ccanary
-ElectronicArts-
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

beingmedhu wrote:

-ElectronicArts- wrote:

beingmedhu wrote:

TheElementGuy wrote:

Using Chrome/Edge Canary, (v100! I checked) it works.
whats that?
browser version
i men whats ccanary
testing things
erencemaltay
Scratcher
87 posts

Major Milestone - v100 of Edge/Chrome/Firefox!

-ElectronicArts- wrote:

beingmedhu wrote:

-ElectronicArts- wrote:

beingmedhu wrote:

TheElementGuy wrote:

Using Chrome/Edge Canary, (v100! I checked) it works.
whats that?
browser version
i men whats ccanary
testing things
Now i know what Canary means!
beingmedhu
Scratcher
100+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

erencemaltay wrote:

-ElectronicArts- wrote:

beingmedhu wrote:

-ElectronicArts- wrote:

beingmedhu wrote:

TheElementGuy wrote:

Using Chrome/Edge Canary, (v100! I checked) it works.
whats that?
browser version
i men whats ccanary
testing things
Now i know what Canary means!
OOO A Testera at googgle
mbrick2
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

beingmedhu wrote:

OOO A Testera at googgle
Or just using chrome canary
mbrick2
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

Revised the code (minor differences)
function getBrowserData() {
    let ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; 
    if(/trident/i.test(M[1])){
        tem=/\brv[ :]+(\d+)/g.exec(ua) || []; 
        return {name:'IE',version:(tem[1]||'')};
        }   
    if(M[1]==='Chrome'){
        tem=ua.match(/\bOPR|Edge\/(\d+)/)
        if(tem!=null)   {return {name:'Opera', version:tem[1]};}
        }   
    M=M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];
    if((tem=ua.match(/version\/(\d+)/i))!=null) {M.splice(1,1,tem[1]);}
    return {
      name: M[0],
      version: M[1]
    };
 }
let uadata = getBrowserData()
console.log(uadata.version)
kccuber
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

mbrick2 wrote:

Revised the code (minor differences)
function getBrowserData() {
    let ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; 
    if(/trident/i.test(M[1])){
        tem=/\brv[ :]+(\d+)/g.exec(ua) || []; 
        return {name:'IE',version:(tem[1]||'')};
        }   
    if(M[1]==='Chrome'){
        tem=ua.match(/\bOPR|Edge\/(\d+)/)
        if(tem!=null)   {return {name:'Opera', version:tem[1]};}
        }   
    M=M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];
    if((tem=ua.match(/version\/(\d+)/i))!=null) {M.splice(1,1,tem[1]);}
    return {
      name: M[0],
      version: M[1]
    };
 }
let uadata = getBrowserData()
console.log(uadata.version)
Can I use this in my Scratch Mod for a browser detector? I will give credit. Sorry for the offtopic.
VedanshS933
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

kccuber wrote:

mbrick2 wrote:

Revised the code (minor differences)
function getBrowserData() {
    let ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; 
    if(/trident/i.test(M[1])){
        tem=/\brv[ :]+(\d+)/g.exec(ua) || []; 
        return {name:'IE',version:(tem[1]||'')};
        }   
    if(M[1]==='Chrome'){
        tem=ua.match(/\bOPR|Edge\/(\d+)/)
        if(tem!=null)   {return {name:'Opera', version:tem[1]};}
        }   
    M=M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];
    if((tem=ua.match(/version\/(\d+)/i))!=null) {M.splice(1,1,tem[1]);}
    return {
      name: M[0],
      version: M[1]
    };
 }
let uadata = getBrowserData()
console.log(uadata.version)
Can I use this in my Scratch Mod for a browser detector? I will give credit. Sorry for the offtopic.

If it's 100 it's not offtopic
mbrick2
Scratcher
1000+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

kccuber wrote:

(#77)

mbrick2 wrote:

Revised the code (minor differences)
function getBrowserData() {
    let ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; 
    if(/trident/i.test(M[1])){
        tem=/\brv[ :]+(\d+)/g.exec(ua) || []; 
        return {name:'IE',version:(tem[1]||'')};
        }   
    if(M[1]==='Chrome'){
        tem=ua.match(/\bOPR|Edge\/(\d+)/)
        if(tem!=null)   {return {name:'Opera', version:tem[1]};}
        }   
    M=M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];
    if((tem=ua.match(/version\/(\d+)/i))!=null) {M.splice(1,1,tem[1]);}
    return {
      name: M[0],
      version: M[1]
    };
 }
let uadata = getBrowserData()
console.log(uadata.version)
Can I use this in my Scratch Mod for a browser detector? I will give credit. Sorry for the offtopic.
Sure (u asked alrready)
beingmedhu
Scratcher
100+ posts

Major Milestone - v100 of Edge/Chrome/Firefox!

mbrick2 wrote:

beingmedhu wrote:

OOO A Testera at googgle
Or just using chrome canary
i am saying hes a tester at googgle thats amazin

Powered by DjangoBB