I have not found any alternative.
Native visuals can use urls because they are not sandboxed in iframes.
I understand Microsoft does this for safety so improper developed custom visuals can't collide but it would be nice if we wern't limited in functionality.