Popup asking whether data should be removed on plugin uninstall

How about something similar to this: function wpse65611_script() { wp_enqueue_style( ‘wp-pointer’ ); wp_enqueue_script( ‘wp-pointer’ ); wp_enqueue_script( ‘utils’ ); // for user settings ?> <script type=”text/javascript”> jQuery(‘#embed-github-gist .delete a’).click(function(){ jQuery(‘#embed-github-gist .delete a’).pointer({ content: ‘<h3>Delete this or delete everything?</h3><p><a id=”this” class=”primary button” href=”https://wordpress.stackexchange.com/questions/65611/url1″>Delete data</a> <a id=”everything” class=”button” href=”‘+jQuery(‘#embed-github-gist .delete a’).attr(‘href’)+'”>Delete plugin</a></p>’, position: { my: ‘left top’, at: … Read more

tech