Monday, July 9, 2012

GreaseMonkey plugin adds support for userscripts!

In the last days, there has been a lot of commits to qupzilla-plugins repository. As you can see, two new plugins have been added.

The first one is Personal Information Manager (PIM) plugin written by Mladen Pejaković. This plugin basically mimics Opera's ability to autofill forms with your stored personal information. If you enable this plugin and save eg. your name in it, you will see on webpages yellow-bordered inputs. These inputs can be auto-filled with PIM as simply as pressing Ctrl+Enter.
Personal Information Manager's settings dialog
Facebook register form can now be autofilled with Ctrl+Enter


The second plugin is GreaseMonkey, and as some of you already know, this plugin adds support for userscripts to QupZilla!
GreaseMonkey in QupZilla supports installing userscripts with clicking Install button on userscripts.org site (that means, if you click on any link that ends with user.js, you will be asked if you want to install it to GreaseMonkey).

There are, unfortunately, some restrictions due to QtWebKit engine. Userscripts cannot make cross-origin XMLHttpRequest (eg. they can only make same-origin request). Also some GM_ functions does not work, mainly script resources and persistent settings. Those functions are present as empty functions (they do nothing), so at least they won't interrupt script execution.

But besides of this, everything should work as expected.



These new plugins will be part of upcoming 1.3.0 release that is going to be released very soon. I hope it won't take longer than 2-3 days.

9 comments:

  1. i used qupzilla since the last year and i like to see how is growing, can i ask somthing, does the idea of ​​qupzilla as default browser in windows was discarded?

    ReplyDelete
    Replies
    1. No it wasn't. But there's still nobody who would program it. I don't have enough Windows programming skill (and honestly, I am not really interested in messing with register)

      Delete
  2. nowrep,

    Thanks for Greasemonkey (userscripts) extension. I love it. It works! Thank you for all the awesome endeavor. Qupzilla rocks!

    ReplyDelete
  3. Excuse my ignorance, but how is it supposed to work? I've just built QupZilla from git, but I can't see any new plugin. When I click on a script.js file it show the code in browser window.

    Thanks in advance.

    ReplyDelete
    Replies
    1. You need to clone this repository: https://github.com/QupZilla/qupzilla-plugins
      and then copy plugin directories under src/plugins/ or follow instructions in BUILDING file in qupzilla-plugins directory

      Delete
  4. How do Iinstall grease monkey,I tried downloading but it won't let me,thanka

    ReplyDelete
    Replies
    1. Preferences -> Extensions -> check GreaseMonkey

      Delete
  5. The Personal Information Manager plugin is not available at the qupzilla-plugins repository.

    ReplyDelete
  6. I have recently discovered Qupzilla. So far, I have been unable to find a way to use the PIM. Can anyone tell me how?

    thanks....

    ReplyDelete