Board Thread:General Coding Help/@comment-4568327-20170731221759

Hello, I apologize if this is not the correct place to post this.

On The Sims Wiki, we currently have a "License adder tool", written in Javascript, that displays a dropdown menu and a button on every file page that allows users to quickly insert an image license template onto the page. The problem is that we've been getting a lot of vandalism from IP users adding incorrect licenses using the tool.

Is there a way to prevent the tool from being shown to IP users while still being shown to logged in users (Or, even better, prevent users who are not autoconfirmed from using the tool)? I am aware that The Sims Wiki has Special:Gadgets enabled, but I would like to see if there is a non-gadget solution available.

For reference, the permalink to the Javascript code for the tool is available here. 