New Paste

 

Recent Pastes

Administrate




iPocalypse Pastebin

PasteID: 6i48f
Pasted by SwReg, 2011-07-08 20:18:47 GMT
Expires Never
Paste size 972 b
Toggle Expand   Wrap   Style   Raw
Copy Contents   Copy URL
  1. // ==UserScript==  
  2. // @name SWREG Variable Pricing Checker  
  3. // @license GPL version 3 http://www.gnu.org/copyleft/gpl.html  
  4. // @description SWREG Ecommerce Variable Pricing - When provided by a product, checks if Variable Pricing is available. If activated change &vp=(price in fromat xx.xx)   
  5. // @icon http://faq.swreg.org/favicon.ico  
  6. // @info Variable Product Pricing (http://www.swreg.org/services_setup_variprice.htm)  
  7. // @info2 Variation Details http://www.swreg.org/help/product/04.htm - http://www.immacc.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=163  
  8. // @info3 read: http://www.textfiles.com/law/saucs1.txt  
  9. // @date 28/06/2011  
  10. // @version 1.01  
  11. // @include https://usd.swreg.org/cgi-bin/*  
  12. // @include https://*.swreg.org/cgi-bin/*  
  13. // @include http://*.swreg.org/cgi-bin/*  
  14. // @include http://usd.swreg.org/cgi-bin/*  
  15. // ==/UserScript==  
  16.   
  17. if (location.search && ! location.search.match(/&vp=[^&]/) ) {  
  18.  location.href += "&vp=00.01"  
 
 

 
 
 
 
 
Written by Xan Manning, 2010.
YOU NEED FLASH!