Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  

Security check: INTRUDER ALERT!


programming / comp.lang.javascript / latest

Re: filling form automatically with a bookmarklet does not trigger validation of fields

comp.lang.javascript

Posted: 2 Days 15 Hours ago by: JJ

HTML alone can not enable a disabled submit button, or disabled an enabled one. Only JavaScript can do that. Meaning that the validation is done by JavaScript. By an event handler code. With some luck, bypassing the validation script and

filling form automatically with a bookmarklet does not trigger validation of fields

comp.lang.javascript

Posted: 2 Days 17 Hours ago by: Alfred

I am filling a form automatically with a bookmarklet, but I fail to trigger the validation of the fields. The code is // fill form field var my_username="user123"; document.getElementsByClassName("form-field")[0].firstChild.value=my_us

Re: Looking for a JavaScript interpreter

comp.lang.javascript

Posted: 3 Days 16 Hours ago by: TNO

JSedit is more appropriate in that scenario and it's made by the same company Do a web search for "Adersoft JSEdit" and you might find a usable version. I don't know if it's maintained actively anymore but an evaluation version can be

Re: Looking for a JavaScript interpreter

comp.lang.javascript

Posted: 4 Days 6 Hours ago by: dcwh...@gmail.com

Anton, I know this was a query of yours from months ago. But if you decide to go with the legacy JScript interpreter that Windows/WScript offers, a very useful IDE/Editor is VBSEdit. I've used it for years, primarily for VBScript. http

Re: File not found "iframe"

comp.lang.javascript

Posted: 5 Days 10 Hours ago by: Jonas_Thörnvall

Thanks Julio, i was so sure i had checked big small letters, because i know that Linux/Unix servers case sensitive. But apparently i must looked at wrong place/file.

Re: File not found "iframe"

comp.lang.javascript

Posted: 5 Days 10 Hours ago by: Julio Di Egidio

A 404 simply means there is no available resource at that address. You can see all HTTP errors by activating the Network tab of the debugger. The problem is Unix paths are case sensitive, while Windows paths aren't, and you have mixed "

File not found "iframe"

comp.lang.javascript

Posted: 5 Days 11 Hours ago by: Jonas_Thörnvall

https://jtmidi.000webhostapp.com/ Someone good with debug and understand webservers, if you press synth properties a htmlfile with script is loaded into an iframe. If you then change synth to SC-88 in dropdownlist it will give a 404 file

Re: Get ::before value

comp.lang.javascript

Posted: 10 Days 17 Hours ago by: Julio Di Egidio

You just guessing? I see no trace that such thing is in the workings. And, even if eventually it will (if you start asking for it...), it wouldn't just be for one isolated property: indeed, see my link on how a browser works, the point

Re: Get ::before value

comp.lang.javascript

Posted: 10 Days 17 Hours ago by: Julio Di Egidio

<https://developer.mozilla.org/en-US/docs/Web/Performance/How_browsers_work> Julio

Re: Get ::before value

comp.lang.javascript

Posted: 11 Days 16 Hours ago by: TNO

You misinterpret what I was referring to with 'this'. I am fully aware that the runtime value is not available. The difference being that this value could be accessible from the CSSOM, therefore not the same as above. As mentioned in

Re: Get ::before value

comp.lang.javascript

Posted: 11 Days 20 Hours ago by: Julio Di Egidio

There are no hacks, there is just no access from JS to the runtime value of those properties. "The target-counter() function does exactly this in CSS, not JS", i.e. same as above. Julio

Re: Get ::before value

comp.lang.javascript

Posted: 13 Days 16 Hours ago by: TNO

This is not possible currently. There are hacks that might work but with the complexity involved it's probably better to do this with JavaScript. There is a new CSS standard in the works `target-counter()` to make this possible in the fu

Re: 😍👎💙💚💛😍😍😍👎💙💚😍

comp.lang.javascript

Posted: 14 Days 4 Hours ago by: Big Gay Dinosaur

thank you

Re: Deobfuscating script

comp.lang.javascript

Posted: 14 Days 10 Hours ago by: Cezary Tomczyk

Interesting. Will look in to it more closely. Thanks. Cezary Tomczyk https://www.ctomczyk.pl

Re: Get ::before value

comp.lang.javascript

Posted: 14 Days 19 Hours ago by: Julio Di Egidio

Right. I suppose it has to do with how the browser is structured, anyway the docs (MDN) are quite explicit (though it's a bit all over the place), that it's stuff that doesn't make it to the DOM nor to the "accessibility tree", e.g. see

Re: Get ::before value

comp.lang.javascript

Posted: 15 Days 6 Hours ago by: Andrew Poulos

I guess it's something similar with the "numbers" for ordered list items in that you can't query what a browser is actually displaying. Andrew Poulos

Re: Get ::before value

comp.lang.javascript

Posted: 15 Days 8 Hours ago by: Andrew Poulos

Thanks for link. Funny that the browser knows what text to display but I will need to script some workaround to get it. Andrew Poulos

Re: Get ::before value

comp.lang.javascript

Posted: 15 Days 17 Hours ago by: Julio Di Egidio

As far as I can tell, there is no way to access that value. Indeed, you cannot even select the generated text (I mean, not even with your mouse). See also here: <https://stackoverflow.com/questions/532073/how-can-i-read-the-applied-css-

Get ::before value

comp.lang.javascript

Posted: 15 Days 23 Hours ago by: Andrew Poulos

Some content gets generated by CSS and I need to get the "live" value. The element in question has this CSS ::before { counter-increment: num; content: counter(num) ". "; } I tried getComputedStyle(elem, '::before').getPrope

Re: Deobfuscating script

comp.lang.javascript

Posted: 16 Days 6 Hours ago by: TNO

searching github for tokens sometimes helps. It may be this at least partially: https://github.com/SamuelHauptmannvanDam/nearvear/blob/9131f8e5e30cb4e70b85781b6b4e6320ff5cf617/public/talk.js

Deobfuscating script

comp.lang.javascript

Posted: 16 Days 17 Hours ago by: Cezary Tomczyk

Hello. I'm trying to deobfuscate following code https://acsbapp.com/apps/app/dist/js/app.js. So far tried https://lelinhtinh.github.io/de4js/, but it didn't help. Any tip where to look yet would be much appreciated.

Re: Select in one device but view on another

comp.lang.javascript

Posted: 17 Days 8 Hours ago by: Andrew Poulos

I'm on Windows and the local web server is IIS. I couldn't do the Apache directives. Instead I gave IIS a "faux" certificate to allow me to use https though connecting to it from another device on the same network still meant working

Re: Select in one device but view on another

comp.lang.javascript

Posted: 17 Days 10 Hours ago by: Thomas 'PointedEars'

Seriously, that is all that you have to say? What about the effort that I put in to understand what you meant, the question that *I* asked? You do not inspire people to help you again with this behaviour. :-(

Re: Select in one device but view on another

comp.lang.javascript

Posted: 18 Days 2 Hours ago by: Andrew Poulos

Thanks. Andrew Poulos

Re: Select in one device but view on another

comp.lang.javascript

Posted: 18 Days 6 Hours ago by: Thomas 'PointedEars'

Re: Select in one device but view on another

comp.lang.javascript

Posted: 18 Days 7 Hours ago by: Thomas 'PointedEars'

This can be easily be tampered with. OK. Meaning? --------------------------^ Parse error. Set up a Web server either A) on the desktop computer or B) on another computer that acts as a remote server that can be accessed wit

Re: ANN: Dogelog Runtime, Prolog to the Moon (2021)

comp.lang.javascript

Posted: 19 Days 23 Hours ago by: Mostowski Collapse

More progress in the Unicode domain, so that we can leave Unicode behind and move to other things. Unicode code points, that they can represent a numeric value. Some exotic and not so exotic examples are seen here: unicode_numerical_valu

Re: Select in one device but view on another

comp.lang.javascript

Posted: 20 Days 10 Hours ago by: TNO

If you are using basic standards compliant stuff in your webpage and not bleeding edge technologies it's probably fine. If you want to test things like orientation of the phone in 3d space or some service-worker stuff you might have som

Re: ANN: Dogelog Runtime, Prolog to the Moon (2021)

comp.lang.javascript

Posted: 21 Days 7 Hours ago by: Mostowski Collapse

**Bringing Unicode to Prolog (Dogelog Runtime)** Was checking out what Logtalk does. They have Prolog text here: https://github.com/LogtalkDotOrg/logtalk3/tree/master/library/unicode_data/unicode_categories These Prolog texts contain fa

Re: Select in one device but view on another

comp.lang.javascript

Posted: 24 Days 4 Hours ago by: Andrew Poulos

Ok, but is testing within Chrome is as good as testing on a device that users are using. Andrew Poulos

Re: Select in one device but view on another

comp.lang.javascript

Posted: 24 Days 8 Hours ago by: Jon Ribbens

On the desktop: Right click -> Inspect -> Responsive Design Mode

Re: Select in one device but view on another

comp.lang.javascript

Posted: 24 Days 8 Hours ago by: JJ

I don't think this can be solved using JavaScript.

Select in one device but view on another

comp.lang.javascript

Posted: 24 Days 8 Hours ago by: Andrew Poulos

There's an elearning web page I'm working on. It generates a quiz (as a collection of a HTML page, JavaScript, and images) that gets downloaded. The quiz needs to be responsive ie also run well on a phone. Within the elearning page there

33 recent articles found.

rocksolid light 0.7.0
clearneti2ptor