XSS Sanitizer Plugin (v0.2) released

Well, after shamefully waiting over a year to do any kind of updates to this plugin, I've finally made some changes and merged in pull requests from others. Next steps are going to be fix some of the issues. Some great suggestions have come up in the Issues area on Github. In fact, I plan …

Continue reading XSS Sanitizer Plugin (v0.2) released

How to fix Parallels Desktop from hanging on startup

Recently, Parallels Desktop did not shut down correctly for me. When I went to start it back up, it just sat there with a spinning wheel, and a message saying "suspending." I did finally resolve the issue. Here's how I did it. 1) Quit Parallels. 2) Open up the Activity Monitor. On a Mac, this …

Continue reading How to fix Parallels Desktop from hanging on startup

Click event slow in Chrome and Safari

Well, I came across an interesting quirk. Click events in Chrome and Safari were taking a couple of seconds before they were being fired. It was quite the head scratcher. Here's essentially what I was doing: At first, I just changed the <a> tag to be a <span> tag, and that worked. But, I couldn't …

Continue reading Click event slow in Chrome and Safari

How to inject two or more dependencies with the same name

Let's say you have two services named UserService and both are included in your Grails classpath. This can happen, for example if you have a "core" package, and an "application" package that extends services from "core". Here's what that might look like in our case: Well, if you try to use "UserService" in your Grails …

Continue reading How to inject two or more dependencies with the same name

Selecting Popup Windows in Selenium

This example shows how to start a Selenium Server and run a Selenium client in Java. The example opens up a popup window by clicking on the link in index.html. It then selects the popup window by first using the "name=popupWindowName" option for selectWindow. It then grabs the original window (using "name=null"). And, finally, it …

Continue reading Selecting Popup Windows in Selenium