On 15 sep, 20:47, Gordon Pettey <[email protected]> wrote:
> If I'm understanding correctly, it sounds like you're placing
> javascript in the HTML page, rather than a userscript. You don't put a
> userscript "into the page". You create a file, such as
> myownscript.user.js, with your Javascript. You then direct Firefox to
> that file (like c:\users\elfio\desktop\myownscript.user.js in the
> address bar) and Greasemonkey will ask to install it. It will then
> load and run on whatever page(s) you've got in @include.

Ok, that is how it works. But with the few knowledge I have about
javascript (I just have 3 days learning javascript and greasemonkey) I
know that the order of the blocks tagged like <script> are important
in the structure of a page. I don't know if is equaly important with
the user script. I mean I don't know where I am putting my code (in
which part of the real page) and I also don't know if it is important.

I think that because in other things I could solve them being careful
with the order (or I think so xD)

For example, the original page makes some calls to externals script
like that:
<script type="text/javascript" src="js/Video.js"></script>
It calls the Video.js script, no?
I'll be able to use the variables and the functions that are defined
in that file?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to