Moving button in screen [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
We have a feature on our website to prove us that the user is an actual human.
Here is how it's working.
After registering a button is shown and told to users to click on it ro prove that you are a human.
Once being mouseovered it start to move randomly all over the screen.
We use jquery to do this.
The main problem is that users are stopping javascript on their browser or edit the js with browser developer.
Some have created html forms to bypass this (yes we have csrf protection on all our forms they simply edit their form to the new csrf values)
This cheat is causing us to loose money.
We would appreciate help..
Best regards
P.S: We are familiar with captcha(google, solvemdia etc etc) but our proving system has to be this

The button will have the same ID therefor it's simple for someone to programmatically click it even if it does move on the screen.
The best way you could prove that the user is human would be to use a proven method such as a CAPTCHA(http://www.captcha.net/)
You can use the freely available reCAPTCHA(https://www.google.com/recaptcha/intro/index.html) from Google as suggested by #A.Wolff.

Related

how do i display a grid of images (and have them them transparent until a keyboard key is pressed) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 months ago.
Improve this question
any language.
im wanting to make a program that will show what ability's im using in a game and have the picture of the ability's in a grid like ortholinear keyboard keys. it would be cool if the abilitys where tansparent untill the key is pressed then go opaque until i let go.
iv been trying to find out how to do it with python but im not having much luck. i started with tkinter and i dont realy think that has the tools i need then i tryed matplotlib that seams tobe morefor data stuff
if somone could point me in the right direction id appreciate it
I suggest you give this link a read: Monitor keypress in tkinter without focus
You can refer to the answer that is not accepted, it shows how to accept key even if the program is not focus on.
My suggestion is that, you create a "ability layout" in tkinter, then you assign the key of the ability layout to the actual keyboard. The background or layout opacity is constantly low, and once it is pressed, you trigger the opacity to be high.
The problem you may face is that, you might get ban if you tried to run it, as we are unsure about the game ban mechanics.

PDF annotation in browser and save to database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last month.
Improve this question
I would like direction on how to display the content of a PDF in the web browser and allow the user to annotate the content and save the position(coordinates) of the annotation in a database so it can be re-used when the page is reloaded.
Display the PDF is not an issue. However how do I go about drawing a circle or any other shape and save these annotations into a database?
I found some licensed products such as PDFTron but its very expensive.
I've been doing some research on this topic but it doesn't seems to be a very straight forward thing to do. Maybe I am missing something here.
Not concerned about the tech-stack here, javascript, node, ruby or python it doesn't matter. Even if the pdf will have to be converted to HTML or something else that is fine too. The end goal is to allow the user to annotate the content and save.
Can someone point me on the right direction to achieve this?
Thanks

Text Editor with "run button" that does not have public account [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am teaching 4th and 5th grade tech to some very bright students and I have found they show more interest in typing while coding as opposed to coding activities like code.org. I am looking for a text editor with a run button so they can see results quickly. I need one for free or one that's not very expensive, and it has to be private. I know repl.it is free, but it's not private, there for not safe for students. Does anyone know of a text editor we can put on chromebooks that hopefully has a run button or can eaily give us a preview of the code? We will be using HTML, CSS, and JS.
There are plenty of options. Check out:
https://playcode.io/
https://jsfiddle.net/
https://codepen.io/
Also, there are numerous other options, try to google for "javascript sandbox"
If you want to use web page, jsfiddle or codepen,
If you want to use desktop app, vscode with live server extension.
You can never go wrong with JSFiddle :)
It has a clean interface and a registration/sign in option to save your work.

How can I create JavaScript sliders that emulate the ones on the New York Times "Rent or Buy" web site? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I love the way the sliders on this web site work. How in the world can I make ones that look and act like them? In particular, I love that everything they are connected to update on the fly. I love that they are non-linear. They have a large touch input grab zone but a small slider icon. And I love that the don't engage if a mobile users touches them but then slides their finger off. It does a great job of preventing accidental touches.
https://www.nytimes.com/interactive/2014/upshot/buy-rent-calculator.html
I tried using a JS library called ionRangeSlider, but it doesn't feel as slick as the NYT ones. And it doesn't prevent accidental touch inputs.
Any help would be very appreciated.
You could probably achieve something similar using a traditional slider coupled with chartJS.
If you're looking for a more exact technology stack, builtwith.com may help:
https://builtwith.com/?https%3a%2f%2fwww.nytimes.com%2finteractive%2f2014%2fupshot%2fbuy-rent-calculator.html

Need to Find A JQuery solution similar to app for Ipad [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I had a meeting with our president this morning who was wanting to have our team page function similar to the following app for her Ipad:
http://itunes.apple.com/us/app/appstream-for-ipad/id375288393?mt=8
There is a lot of movement and I am not sure where to really begin. In our case the thumbnails would be pictures of our people and when you clicked the photo a pop up box with description and contact information would be available for the user. I am wondering if anyone has seen a JQuery plugin I could use to simulate this affect or something else I could build on.
Any help would be greatly appreciated.
For anyone that is interested, here is what I wound up doing.
I used a JQuery plugin called "quicksand" for the animation part of it, then set up some an AJAX request on a timer to call a php page with a list of all employees in random order. Give a similar effect to what we were looking for, thanks for all the help.
One way i could think is to just have the thubnail images and then load the appropriate profiles in a fancy box
http://fancybox.net/
Or do it all manually, by having a hidden, absolute positioned Overlay and then present it on click

Categories

Resources