Jump to content



Photo

Disable Javascript Notification

javascript change attribute

  • Please log in to reply
3 replies to this topic

#1 fastlinks

fastlinks

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 129 posts
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 04 October 2018 - 04:07 PM


<script>
  var texts = {
  	endChatConfirm: 'Really end chat?',
  	Player: 'Player',
  	me: 'Me',
  	newMessage: 'New message',
  	reportConfirm: 'Sure?'
  }
</script>

I am working on a page where it have the above javascript, when the bot try to navigate away or close the page, it will pop up a javascript confirmation (it require confirmation to run next action, closing the notification dont help).. even on chrome it will need you to confirm to leave.

i have tried "allow pop up = No" but not working since it is a javascript.

is it possible to use change attribute to remove this javascript?

or may be "run javascript" to kill the pop up?



#2 ptv001

ptv001

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 132 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 04 October 2018 - 05:19 PM

show the url to have a look.

#3 fastlinks

fastlinks

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 129 posts
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 05 October 2018 - 03:06 AM

I cant disclose url base on client mutual agreement.

Anyone know how to stop this javascript?



#4 UBotBuddy

UBotBuddy

    UBot Studio Training

  • ADMIN
  • 3520 posts
  • LocationVirginia
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 05 October 2018 - 01:11 PM

How about this?

 

https://www.screencast.com/t/sz28unnI

 

Buddy


UBot Training for FREE! Yes, that is correct!





Also tagged with one or more of these keywords: javascript, change attribute

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users