Jump to content
UBot Underground

Add A Html/js In Page With Change Attribute


Recommended Posts

Hello,

 

I have 1 question.

I want to navigate to x and after page is completed load, i want add a js code in the html page. is possible that?

 

This is my code:

set(#js, "<p id=\"test\"></p>

<script>
document.getElementById(\"test\").innerHTML = 
\"The full URL of this page is:<br>\" + window.location.href;
</script>", "Global")
clear cookies
set user agent("Chrome")
navigate("fb.com", "Wait")
wait for browser event("Everything Loaded", "")
load html($replace($document text, "</script>", "</script>{#js}"))

I want add in page this code, but not using load html...

Thank you so much!

Link to post
Share on other sites

Yes thank you. i know that.

But, i have this js code:

 

"<p id=\"test\"></p>

<script>
document.getElementById(\"test\").innerHTML =
\"The full URL of this page is:<br>\" + window.location.href;
</script>"
, "Global"

 

I want navigate to any website and add in website. source code this preview js code

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...