Click here to Skip to main content
15,887,746 members
Home / Discussions / JavaScript
   

JavaScript

 
SuggestionRe: DrawGameScreen funtion not executing Pin
Richard MacCutchan8-Dec-20 22:24
mveRichard MacCutchan8-Dec-20 22:24 
GeneralRe: DrawGameScreen funtion not executing Pin
Member 150158429-Dec-20 8:32
Member 150158429-Dec-20 8:32 
QuestionTurning Client Side Script Into Pseudocode Pin
Member 150157838-Dec-20 10:06
Member 150157838-Dec-20 10:06 
AnswerRe: Turning Client Side Script Into Pseudocode Pin
BabyYoda8-Dec-20 10:12
BabyYoda8-Dec-20 10:12 
AnswerRe: Turning Client Side Script Into Pseudocode Pin
Dave Kreskowiak8-Dec-20 14:21
mveDave Kreskowiak8-Dec-20 14:21 
AnswerRe: why in the world an object has stopped being a referance type Pin
Afzaal Ahmad Zeeshan20-Nov-20 12:46
professionalAfzaal Ahmad Zeeshan20-Nov-20 12:46 
GeneralRe: why in the world an object has stopped being a referance type Pin
Member 1499861720-Nov-20 12:59
Member 1499861720-Nov-20 12:59 
QuestionSnow fall in Javascript Pin
Member 1497619920-Nov-20 4:15
Member 1497619920-Nov-20 4:15 
AnswerRe: Snow fall in Javascript Pin
Richard Deeming20-Nov-20 4:27
mveRichard Deeming20-Nov-20 4:27 
AnswerRe: Snow fall in Javascript Pin
Akshay digitally9-Dec-20 1:20
Akshay digitally9-Dec-20 1:20 
Questionthe red ball follow cursor in JS Pin
Member 1497619916-Nov-20 16:38
Member 1497619916-Nov-20 16:38 
AnswerRe: the red ball follow cursor in JS Pin
Richard MacCutchan16-Nov-20 21:44
mveRichard MacCutchan16-Nov-20 21:44 
Questionhms@1.0.0 No repository field Pin
Gilbert526214-Nov-20 21:02
Gilbert526214-Nov-20 21:02 
AnswerRe: hms@1.0.0 No repository field Pin
Richard MacCutchan14-Nov-20 22:10
mveRichard MacCutchan14-Nov-20 22:10 
QuestionJs question Pin
Member 1499144112-Nov-20 10:28
Member 1499144112-Nov-20 10:28 
QuestionRe: Js question Pin
Richard MacCutchan12-Nov-20 21:44
mveRichard MacCutchan12-Nov-20 21:44 
Questiontoo many scripts? Pin
Member 1469595610-Nov-20 22:18
Member 1469595610-Nov-20 22:18 
AnswerRe: too many scripts? Pin
Richard Deeming10-Nov-20 22:42
mveRichard Deeming10-Nov-20 22:42 
GeneralRe: too many scripts? Pin
Member 1469595610-Nov-20 23:37
Member 1469595610-Nov-20 23:37 
AnswerRe: too many scripts? Pin
Sandeep Mewara10-Nov-20 22:46
mveSandeep Mewara10-Nov-20 22:46 
GeneralRe: too many scripts? Pin
Member 1469595610-Nov-20 23:35
Member 1469595610-Nov-20 23:35 
Question[Vanilla Javascript Newbie] How to access a function of a function from a part of code oustide this function Pin
GlowWurm19778-Nov-20 10:03
GlowWurm19778-Nov-20 10:03 
AnswerRe: [Vanilla Javascript Newbie] How to access a function of a function from a part of code oustide this function Pin
Richard MacCutchan8-Nov-20 21:58
mveRichard MacCutchan8-Nov-20 21:58 
AnswerRe: [Vanilla Javascript Newbie] How to access a function of a function from a part of code oustide this function Pin
Richard Deeming9-Nov-20 22:07
mveRichard Deeming9-Nov-20 22:07 
QuestionGet image extension Pin
Valentinor4-Nov-20 3:10
Valentinor4-Nov-20 3:10 
Is there a way to get the extension of an image if you know it's link? At first I thought of splitting the string with . and get the last part, but the problem with this is that there are some links that don't include the extension at the end so this is not an universal solution.
Because I know the link each time, is there something I can do with an image object (new Image), or how else can I get the extension? All the results I got were to check if it is an image but not it's extension, or the one I explained above, but that won't work in every scenarios.

This will be done in a extension for Firefox.

modified 9-Nov-20 16:23pm.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.