bypass facebook recaptcha in selenium with python - javascript

I want to bypass facebook captcha verification automaticaly. How can i do this?i wrote a bot and manage to solve the captcha. And remove the textarea attribute style= display:'none' to 'block' and i can paste it in textarea but 'submit' button not clickable. How can I convert the button enable? especially with selenium.
Is there anybody to help me?

Related

Programmatically click button in browser console not working

I am trying to write a script that clicks on "Buy Now" button on a webpage. You may refer to this link for reference. I have wrote this script:
document.querySelectorAll('._3S6yHr._1i2f2k button')[1].dispatchEvent(new Event('click'))
and this:
document.querySelectorAll('._3S6yHr._1i2f2k button')[1].click()
but none seems to work. How can I overcome this restriction? Any possible workarounds?
PS: jQuery is not available on the page.

I need to add Instagram follow button on my website where user can follow without redirecting the instagram website

<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-59f4a28b67531349"></script>
This script redirect to the Instagram website. I don't want it to redirect to the website. Can anyone please solve the issue. User will follow instantly when user click the button.
Simply put: you can't.
Instagram doesn't allow you to instantly follow someone with the push of a button from a different source.
If they did allow that, it could be very easily abused I.E a script that clicks the button automatically.

how to display message box on clicking submit button in google form?

I have written a script in spreadsheet of a corresponding google form. I need to display a Message box displaying the value of "rand" as shown in the script code below in the picture.
Can anyone help me with the code for displaying the required message box. Please go through the script which is written in the script editor of the spreadsheet(corresponding to the google form).
Please go through the code and suggest any solution
Sciptcode
Unfortunately you can't interact with a google form from apps script. Your apps script is triggered on form submit and it does not give any feedback to the google form. If you want to give your user a confirmation message you should consider sending him an email from your triggered script.

Smart Modal disabling window?

The contractor that did our site used a version of smart modal jQuery plugin, not the one from Ben Marshall but this one:
https://code.google.com/p/esp1179/source/browse/trunk/smart-modal/jquery.smartmodal.js?r=22, on our login dialogs.
When an invalid login happens, the form seems to be disabled and I can't figure out why as I DO NOT explicitly disable the form or any of it's controls, with the exception of hiding the login button and showing the spinner.
https://www.scic.com/schedule
Click any of the register links that have a price showing for the course and then enter jibberish in the Username and password inputs.
The file that is calling the dialog is loadpopups.js.
Can someone check it out and help me figure out why it is happening? I'm about to pull out the only hair I have remaining.
The div element containing the error message, called "error_msg" is large and z-index'd over the entire surface of the form. Here's a screenshot from firebug:
You can fix this by adding this to your .error_msg{} style declaration (around line 2484 from the way my firefox sees the output of /css/c/style/):
height: 30px

Buidling an Extension to Trigger an onClick Action in the website?

I'm new to google chrome extensions, but I'm quite familiar with HTML and some javascript. My main area of expertise is Objective-C (but that's a different area).
I wanted to build a chrome extension where I want to replace a website's button with a different custom button (The button uses a specific class/ID). For example if a website were to have a button that said "Tweet Us" I would want to change it to "Email Us", change the onClick action and the button image.
I was wondering if anyone knows of any tutorials or samples that touch on this. Most that I've ran into focus more on building UIs by the bookmark browser, but I don't really have use for that.
Start with reading this.
Add to the manifest.json the URL you want to manipulate under "matches".
Also add to the manifest.json your JavaScript + css (under "content_scripts").
In the JavaScript write some code that deletes the current button and replace it with your button and
your event for that button.
The easiest way to write it is with Jquery.

Categories