CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
fabiodurgante
Posts: 22
Joined: Sun Jan 07, 2018 5:02 pm

CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

Post by fabiodurgante » Sun Aug 26, 2018 8:53 pm

Hello, I'm trying to save image, I'm trying to save 9kw, save everything, but the pagado header is on top of the captcha image, how can I put the captcha image a bit lower to stay below the head of the page ???
Attachments
firefaucet.png
firefaucet.png (3.91 KiB) Viewed 568 times
User avatar
thecoder2012
Posts: 289
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

Post by thecoder2012 » Sat Sep 01, 2018 8:19 am

fabiodurgante wrote:Hello, I'm trying to save image, I'm trying to save 9kw, save everything, but the pagado header is on top of the captcha image, how can I put the captcha image a bit lower to stay below the head of the page ???
Full example (with url) is very helpful. You can hide the element (header things) with Javascript.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
fabiodurgante
Posts: 22
Joined: Sun Jan 07, 2018 5:02 pm

Re: CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

Post by fabiodurgante » Sat Sep 22, 2018 2:02 am

hey how i do ???
You can hide the element (header things) with Javascript.

send example for me
this example make button active
URL GOTO=javascript:document.querySelector("#invisibleCaptchaShortlink").removeAttribute("disabled");

my header is
div id="navbar-main"

how hidden this header ????????
User avatar
thecoder2012
Posts: 289
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

Post by thecoder2012 » Fri Nov 02, 2018 6:05 pm

fabiodurgante wrote:hey how i do ???
You can hide the element (header things) with Javascript.

send example for me
this example make button active
URL GOTO=javascript:document.querySelector("#invisibleCaptchaShortlink").removeAttribute("disabled");

my header is
div id="navbar-main"

how hidden this header ????????
Same way. See howto_js_toggle_hide_show.asp

Example:
URL GOTO=javascript:document.querySelector("#navbar-main").style.display="none";
OR
URL GOTO=javascript:document.getElementById("navbar-main").style.display="none";

EDIT:
User solution:
fabiodurgante wrote:
Wed Dec 05, 2018 11:29 pm

Code: Select all

// del this class <div class="classname">
const elements = window.content.document.getElementsByClassName("classname");
while (elements.length > 0) elements[0].remove();

// del this class <div class="classname2" style="background-color:#009688;text-align: center;top:63px;">
const elements1 = window.content.document.getElementsByClassName("classname2");
while (elements1.length > 0) elements1[0].remove();
Last edited by thecoder2012 on Thu Jul 04, 2019 2:56 pm, edited 1 time in total.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
fabiodurgante
Posts: 22
Joined: Sun Jan 07, 2018 5:02 pm

Re: CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

Post by fabiodurgante » Wed Dec 05, 2018 11:29 pm

Hello after 1 month I was able to make it work perfect

JS

Code: Select all

// del this class <div class="classname">
const elements = window.content.document.getElementsByClassName("classname");
while (elements.length > 0) elements[0].remove();

// del this class <div class="classname2" style="background-color:#009688;text-align: center;top:63px;">
const elements1 = window.content.document.getElementsByClassName("classname2");
while (elements1.length > 0) elements1[0].remove();
Post Reply