The link to the online application contained in the article quoted is no longer valid. The online application is now at https://gaj.sh.gov.cn/crj/144zy.jspThe online process is fairly new.. but based on the description here might save you quite a queue (In my April 2018 visit I waited about 90min)
Shanghai 144-hour visa-free transit policy adopts online pre-application process
AFF Supporters can remove this and all advertisements