auto press enter [don't working]

Page 1 of 1

1 Replies - 442 Views - Last Post: 08 August 2016 - 12:22 PM

#1 skitlesas   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 08-August 16

auto press enter [don't working]

Posted 08 August 2016 - 12:17 PM

Hello i have problems with my scrtip, i want this script paste in chrome console but don't work.
I need auto press enter when my script write text.
TEXT PLACE: https://gyazo.com/a8...d9f7865e8192128
TEXT SCRIPT[CHROME]: https://gyazo.com/65...5a7000fb9199ba0
My script:
pQ+=$(".amount").html();
and
$('TEXTAREA').val(pQ);

When i paste my scritp in chrome console i get this: https://gyazo.com/f0...85a8879343c6222
When i try add this:
var e = jQuery.Event("keypress");
e.which = 13; //choose the one you want
e.keyCode = 13;

and
$('TEXTAREA').val(pQ); $("TEXTAREA").trigger(e);

I need like script write text in TEXT PLACE, when script add focus and when auto press enter (not in textarea)
GIF LIKE I WANT THIS WORK: https://gyazo.com/1f...10a04e158a9b678

Is This A Good Question/Topic? 0
  • +

Replies To: auto press enter [don't working]

#2 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 16479
  • View blog
  • Posts: 65,313
  • Joined: 12-June 08

Re: auto press enter [don't working]

Posted 08 August 2016 - 12:22 PM

Nope.. screams rules violation when you are trying to get around chat bans. I am closing the topic and ask you do not pursue it further here.

If you have questions on the rules feel free to shoot me a PM.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1