XF 2.2 How to exclude javascript from friendly urls.

simunaqv

Well-known member
Hi,
I am working on an addon that loads javascript on demand. The javascript loads fine as long as friendly urls are not enabled. After enabling friendly urls the link to the javascript resources gets messed up. Following is the example:

Without friendly urls: With friendly urls enabled:
Is there a way to exclude certain resources from getting affected by the friendly urls?
Regards,
 
Top Bottom