Forums

How do make my plugin javascript to load resources w/o reveal path to plugins? (1 post)

  1. SocialBlogsite
    Blocked
    Posted 5 months ago #

    Is there any way to accomplish that?

    I had hardcoded the url of images to assume the plugin directory is at the default location, with the default name, but for some it won't work.
    Now, that people changed either path or name of plugins to prevent attacks, so revealing the url for those images (e.g. dynamically loaded) anywhere in the code defeats the purpose of those changes.

    Any idea?

    Thanks.

Reply

You must log in to post.

About this Topic