Researchers have developed a new approach to make commonly used pain medications last longer than the typical four- to six-hour duration.