Using URL parameters on Salesforce standard pages

Salesforce has many URL parameters can be used on its standard page, with this kind of parameters, you can do some URL hacking on it, as below:

Note: All of parameters must be encoded with UTF-8.

Login page

There are two ways to login and access into Salesforce from url.

1. https://<SFDC Instance Url>/

Parameter Description
un Username
pw Password
startURL The url will be redirected to after logged in

e.g. login directly and redirect to Account list view.

https://test.salesforce.com/?un=yourname%40force.com&pw=123456&startURL=%2F001

2. /secur/frontdoor.jsp

Parameter Description
sid Session ID
retURL The url will be redirected after logged in

e.g. login with session ID and redirect to Account list view.

https://test.salesforce.com/?sid=fyfxtCUtm2A3JwaRRDBE28&retURL=%2F001

Edit / New page

Parameter Description
retURL The url will be redirected after opperation done.
Note : this parameter works on almost all of Salesforce page.
cancelURL The url will be redirected after canceled, it has priority over retURL
saveURL The url will be redirected after saved, it has priority over retURL
<Field input name> Set a default value for field, field name needs to be the input name, which you can find it from Chrome Developer Tools as below capture.
<Field input name>_lkid Set a default id value for lookup field, e.g. acc3_lkid=001A000000i1zzz

Field input name on edit page

e.g. Redirect to Account list after canceled

https://ap.salesforce.com/001/e?cancelURL=%2F001&nooverride=1

e.g. Set default values for field “Name” and “AccountCode__c” of Account

https://ap.salesforce.com/001/e?00N10000007LHTd=012345&acc2=NewAccount

Report

Parameter Description
break[n] Summarize information by, e.g. break0=CUST_OWNER_NAME
scope Show scope, e.g. scope=user
user : My Objects
team : My team’s Objects
useronly : User owned objects
queue : Queue owned objects
organization : All objects
colDt_c Date Field, e.g. colDt_c=DUE_DATE
colDt_q Date Range, e.g. colDt_q=curfy
sdate Date Range From, yyyy/MM/dd
edate Date Range To, yyyy/MM/dd
pc[n] Condition field name, e.g. pc0=LAST_ACTIVITY
pn[n] Condition, e.g. pn[0]=eq
eq : equals
ne : not equal to
lt : less than
gt : greater than
le : less or equal
ge : greater or equal
co : contains
nc : does not contain
sw : starts with
pv[n] Condition value
details Shows detail, yes or no
sort Sort by field, e.g. sort=ACCOUNT.NAME
Reference :
http://blog.livedoor.jp/minoaw/archives/1388267.html
http://raydehler.com/cloud/clod/salesforce-url-hacking-basics-with-returl-saveurl-and-cancelurl.html