It is based on the Mr.Z-man's close Afd script. It has been more than 4 years since Mr.Z-man's script has been updated. Many users has reported many bugs. But they have never been fixed. So, I have rewritten the script and have fixed most of the issues and updated it's code.
So far, have tested the script in Firefox, Opera, Safari and IE and it has run without any trouble. If the script worked in your browser then please add your browser's name above.
Before installing this script remove Mr.Z-man's close Afd script from your common.js/vector.js
To install the script add
importScript('User:Jim Cartar/AfD closer.js'); //User:Jim Cartar/AfD closer
in your common.js and bypass the cache.
Please report bugs here. Thank you.