Jump to content

javascript insert.


vkrisz81
 Share

Recommended Posts

Hi. I can pick up variable from site, i can stop running finctions.. But i dont know how can i if possibleinsert my own javascript function? I want to make better a site with my jquery code but if the script is not present at page loading it cant be called... Can i make it?

Link to comment
Share on other sites

This is an AutoIt forum, not a Javascript forum. I'd ask in a javascript forum as you're likely to get better answers.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

  • Moderators

vkrisz81,

And before you got any help, we would want a lot more explanation of why you want to insert javascript into a page. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

vkrisz81,

And before you got any help, we would want a lot more explanation of why you want to insert javascript into a page. ;)

M23

answer is easy ;)

there is a bill paying site where is wrong code. wrong because in ie does not run properly so the field does not appears, but i have to stop a running script(javascript) which does not allow this to appera. but if i make a clearinterval for this running javascript function, other parts of site will not work too but this is wrong for me. so i remake that function without wrong part and start it.. i would like to do it! but i cant, because i can only manage alreadyloaded functions on webpage. so this is not javascript forum topic because they dont know how can autoit handle loaded page scripts.

my main problem is, that if a js fiunction is on page, i can reach, but if i put own function to page i cant call it, because it was not present at page loading.

a very simpley sample: i want to put into any other div a js

function a(){alert('ssd');}

can i call it after paste it as onlcick="a();" or can not?

at this point i cant call it..

Link to comment
Share on other sites

  • Moderators

vkrisz81,

there is a bill paying site where is wrong code

And what do the site owners say? You have told them about this, I presume? :huh:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

I would tell the owners if their payment method is not working for you. Better still use a more reliable website. If you are able to write javascript, then I don't really see where AutoIt fits in. Why bother with AutoIt, which is less suited to the purpose? Also, I'm not convinced that you are not trying to clone this, or other websites. I know it's a bit straight to the point, but surely you can see why I might think that.

Edited by czardas
Link to comment
Share on other sites

ok guys no problem that you call me only hacker and cheater.. i wish i would be so clever to be a hacker.. but i think i would be not here and i would not ask any than.. so you may walk on a bad way.. but its really dont my problem :S

the main thing you just focus who and what will ask/tell, instead of solve problem..

as i said i dont like ff or chrome because after every 3rd page these drop up an advert page so i very hate them. i like ie but bill page owner says use other berowser than if i have problem.. so they dont solve problem, and you dont help me to solve this problem..

anyway thank you for helpful.. if you would help ^^

Link to comment
Share on other sites

Anyone playing around with javascript should be indifferent about what browser is used to run the code. Some browsers are less secure and IE is certainly among them. AutoIt has no real significance here! This is a javascript question, nothing more and nothing less. You have been given a possible solution by the website owners, who obviously have a reason for that particular responce. This is concerned with online money transfer + javascript and you also want to throw AutoIt into the mix, instead of simply testing a different browser as advised. That's a bit silly if you ask me.

Link to comment
Share on other sites

  • Moderators

vkrisz81,

 

but its really dont my problem

According to what I understand of your explanation it most certainly is - just use another browser to access this particular page as recommended by the owner. And we are certainly not going to help you inject code into it - thread locked. :naughty:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...