WordPress.org

Ready to get started?Download WordPress

Forums

Mozilla Persona (BrowserID)
[resolved] [Plugin: Mozilla BrowserID] [Plugin: BrowserID] Load scripts only when needed (3 posts)

  1. marv51
    Member
    Posted 2 years ago #

    Hi Marcel,
    I think that the BrowserID scripts should be loaded in the footer of the page. This enables the plugin to load the scripts only when needed.

    Here is a diff/patch showing the small changes needed to make this happen:
    http://pastebin.com/QmkS8iBx

    Kind regards,
    Marvin

    http://wordpress.org/extend/plugins/browserid/

  2. marv51
    Member
    Posted 2 years ago #

    Hi,
    I also removed the <script> parts to pass variables to Javascript:
    http://pastebin.com/MsziBAFR (This includes the patch above)

    This could be even more simplified if you would merge the two Javascript files...

    Marvin

  3. marv51
    Member
    Posted 2 years ago #

    Marked as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.