How do I select reCAPTCHA challenge for invisible reCAPTCHA - javascript

I am trying to implement google invisible reCAPTCHA (v2) on my site.
I want to customize the challenge whenever it is thrown to user.
How do I select which challenge to show to fraudulent users/bots?
I want to show arithmetic challenge instead of selecting the lights in images grid, I'm not able to find the option anywhere. Is it even possible to do that?

Currently, Google doesn't offer this as an option I think it's for a security reason as making it only digits will make it easier for OCRs to figure the answer easier as opposed to alphabet + numbers
I can't figure out a reason why you would only show numbers other than making it easier for the users If so you could check out reCAPTCHA v3 it provides a better user experience as
reCAPTCHA v3 returns a score for each request without user friction. The score is based on interactions with your site and enables you to take appropriate action for your site.
Instead of the usual challenges.

Related

HTML/JS - Asking the user to input a number, then displaying a different page on the same site based on the input

I'm using HTML, CSS and JS to build a website, the website has many functions and one important function is that i want to ask the user to manually enter a number from 1 to 40, then once the number is inputted the page changes to display a different page on the same website with information based on the inputted number. One way im thinking of doing is using a form then making the action be a switch statement for all 40 pages. But i'm struggling to find anything similar on Google or Youtube. And im unsure how to link the switch statement to my form, if that would even work. Any help would be appreciated!!
If you just want to redirect than you can add this line window.location.replace("<your link to page>"); in a function and call it when the user clicks the submit button. and make sure to pass the number to the page to process it. (this might be easier if you use php too, but won't be hard with javascript as far as i know)

How to use programming logic (e.g. JS) on Google Forms?

Ok, maybe this question is not extremely well-formulated, but I have a problem and I want to solve it, hence the existence of this question. There is a Google Forms form in which, in its current state, users answer questions and, after they have answered such questions, they themselves have to compute their results (a simple algorithm) (it's, to be precise, it's a Vark-style questionnaire (not that it matters)). That is cumbersome and prone to error, so I am in charge of making the form itself compute the thing and show it to the user afterwards.
So I figured I just gotta be able to program an output based on inputs of Google Forms. Such an output would ideally dinamically change on the screen (as the user changes his answers), but it can also be shown after the questionnaire has been answered. What is the way to go? I searched a bit about it and it seems one could use Google App Scripts to make an add-on for forms... Is this overkill or the way to go?
Thanks!
There is already an inbuilt system as to where the Google Forms form calculates the score. However, there is a catch , the questions need to be in MCQ format .

Chrome Extension Popup Questions

I'm trying to make a bot for a website, to make purchases faster and automated. In order to do so, I am using javascript (atom) and chrome extensions. I need some help with the following things to do with chrome extension popup, which will improve the UI of my program (user interface)
1.Is there a way for the user to set a time for the code to excecute at? For example, a 24 hour clock they can edit using text boxes in the popup. Maybe this triggers a new tab which has a coutdown clock, at the end of which the code is excecuted on the website.
2.Can I create text boxes, so that the user can fill in various details such as item name and size value, that can be integrated with my main javascript code to change which product is purchased by the bot?
3.How do I create dropdown boxes for things like the category, with multiple options. Again, this must correspond with the main JS code.
4.Can I create a login page that must be filled in with a unique login before the user can access the main login page?
5.Can I create little switches?
6.Is there a way for me to customise the buttons with certain fonts, colours and sizes, and to customise the backgroud colour etc. I really want it to pop!
I know that this is a lot of questions, so please feel free to answer one or two rather thatn all of them! I have an incredibly basic understanding of HTML, so I may have some followup questions for you.
Thanks in advance,
Louis

Use reCAPTCHA v2 in the background?

I'm trying to work out if it's possible to use Google's reCAPTCHA v2 service to check if someone is human in the background to make the user experience even more simple?
For example, if I have something I want to let users do which involves them just pressing one button ("like" for example) and I want to check if they're human, adding an extra checkbox for them to tick makes the task twice as hard for the user.
I know reCAPTCHA uses some user tracking and other metrics to decide if someone is human, and I was wondering if I can leverage these measures without showing the reCAPTCHA checkbox every time? If it comes back "we're not sure if this person is human" then we could show the checkbox or the full-blown text guessing dialogue box, but for most users I want it to be as simple as possible.

Search box with choice of search engines

So here's the deal. I'm creating a personal start page for every time I open up a new tab or window on my browser. In my current start page, I have a search field which immediately searches in Google for me. However, many times I search for images or videos or wikipedia etc. I want to eliminate having to click on (for example) Images after my Google search. I would like to have a dropdown box next to my search, and be able to choose images, following which it would automatically search in Google Images, instead of going to standard Google.
Here's an example of what I'm thinking about:
https://dribbble.com/shots/871091-Search-Box
So the default would be blue, which will do a standard Google search. If I want to search for an image, I click the red icon in the dropdown before the search, which would automatically do a Google Image search. I'd prefer having a dropdown box, and not an option list.
Is this possible? If so, can someone help me with how to go about doing it? I am not a web developer, but I am comfortable with basic and intermediary concepts of HTML, CSS and JavaScript. Linking me some tutorials to this would be helpful, if they exist. I wasn't able to find any in my searches, but maybe I've been using the wrong terms.
Cheers.
The feature you're looking for is called search engines. You can map a keyword to a search engine.
For instance I can type y nyancat in the omnibar to search for "nyancat" on YouTube.
Similarly you can set one up for google images.

Categories