hip_hop_x
Regular Member
- Aug 27, 2009
- 305
- 65
Hey there,
I was trying to code an userscript for G adwords, the problem is that i can't really detect events that are happening, not to mention that i can't really fetch any of the data...
Notice: This is not the full userscript, jquery was included and works but i can't really parse the page.
I did try to use window.open (instead of ready or window.addEventListener ("load", etc... ) but those doesn't detect the click either.
I also tested to initialize all the code after a timeout of 20 seconds (when ajax was fully loaded), but the same, no results.
Not even this simple alert doesn't work, not really sure how to be able to fetch data. (i did try to replace with classes, same nothing)
Any help would really be good.
I was trying to code an userscript for G adwords, the problem is that i can't really detect events that are happening, not to mention that i can't really fetch any of the data...
Notice: This is not the full userscript, jquery was included and works but i can't really parse the page.
I did try to use window.open (instead of ready or window.addEventListener ("load", etc... ) but those doesn't detect the click either.
I also tested to initialize all the code after a timeout of 20 seconds (when ajax was fully loaded), but the same, no results.
Not even this simple alert doesn't work, not really sure how to be able to fetch data. (i did try to replace with classes, same nothing)
Code:
$(document).ready(function(){
$('button').click(function(){
alert('click');
});
});
Any help would really be good.