Jump to content

Recommended Posts

i am writing a script that will alert users on a particular site that they have a new status message however the problem is that when i link it it does not go to the status page because it must have a username in the url, so how would i pull the predefined javascript for the username

<script>

var username="darkfreaks"; 
</script>

 

i need to pull that and pass it in the link variable so it doesnt come up a blank page.

 

i can't just pass darkfreaks because it would only pull my username.

 

the url is something like

vampirefreaks.com/profile/update_status.php?user=darkfreaks&show_updates

Link to comment
https://forums.phpfreaks.com/topic/214335-greasemonkey-help/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.