vkrisz81 Posted September 6, 2014 Share Posted September 6, 2014 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 More sharing options...
BrewManNH Posted September 7, 2014 Share Posted September 7, 2014 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 GudeHow 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 More sharing options...
Moderators Melba23 Posted September 7, 2014 Moderators Share Posted September 7, 2014 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 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
vkrisz81 Posted September 9, 2014 Author Share Posted September 9, 2014 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 More sharing options...
Moderators Melba23 Posted September 9, 2014 Moderators Share Posted September 9, 2014 vkrisz81,there is a bill paying site where is wrong codeAnd what do the site owners say? You have told them about this, I presume? M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
czardas Posted September 9, 2014 Share Posted September 9, 2014 (edited) 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 September 9, 2014 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
vkrisz81 Posted September 9, 2014 Author Share Posted September 9, 2014 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 More sharing options...
czardas Posted September 9, 2014 Share Posted September 9, 2014 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. operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 9, 2014 Moderators Share Posted September 9, 2014 vkrisz81, but its really dont my problemAccording 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. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts