SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2008
    Location
    In the middle of nowhere
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Help for make greasemonkey script for insert text in after URL

    Hi everybody,

    I need help for make a greasemonkey script.

    I only want to input a text at the end of an specific URL, previously indicated in the greasemonkey script, and load a popup, before URL charged, for input the text.

    What can I do?

    Thanks for all!

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to specify the URL after the @include to trigger your script on a certain page:

    Code:
    // ==UserScript==
    // @include       YOUR URL GOES HERE
    // ==/UserScript==
    then just use the DOM to append your element.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •