I'm pulling my hair out trying to make what I thought was a simple
script. I sell items on Amazon and want to alter the URL that a print
button opens. Below is the actual HTML of the button:

<button onclick="_myoJS_openJSPopupWindow('https://
sellercentral.amazon.com/gp/orders-v2/packing-slip?
ie=UTF8&amp;orderID=104-5307977-6095435', 750); return false;"
name="Print order packing slip" type="button" class="amznButton">

I want to alter the URL by inserting a dummy parameter (so that a
different Greasemonkey script will execute...this already works well).

This is what I want end results to be (note dummy parameter in the
URL)

<button onclick="_myoJS_openJSPopupWindow('https://
sellercentral.amazon.com/gp/orders-v2/packing-slip?
dummy=&amp;ie=UTF8&amp;orderID=104-5307977-6095435', 750); return
false;" name="Print order packing slip" type="button"
class="amznButton">

-- 
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