On first load of a new page, I notice that the navigation link targets get set to http://www.questionablecontent.net/view.php?comic= until the script fully loads. Only then do they get changed back to the proper URLs.
This causes any attempt to click them during this time to take the user to a 404 page.
I don't see why there's any reason to change the links at all until the script is completely loaded. Worst case scenario, they abort loading of the script and load a whole new page.
(To be honest, I'm not sure why the script changes the link targets at all. Can't you just add the ng-click part without changing the target?)
On first load of a new page, I notice that the navigation link targets get set to http://www.questionablecontent.net/view.php?comic= until the script fully loads. Only then do they get changed back to the proper URLs.
This causes any attempt to click them during this time to take the user to a 404 page.
I don't see why there's any reason to change the links at all until the script is completely loaded. Worst case scenario, they abort loading of the script and load a whole new page.
(To be honest, I'm not sure why the script changes the link targets at all. Can't you just add the
ng-clickpart without changing the target?)