Title: Update added code &#8211; how to remove?
Last modified: May 27, 2022

---

# Update added code – how to remove?

 *  [dajanas](https://wordpress.org/support/users/dajanas/)
 * (@dajanas)
 * [4 years ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/)
 * Hello,
 * one of the last updates added code to the website, how can I remove it? In my
   opinion it has no place on the published page:
 * `<script>function nxsPostToFav(obj){obj.preventDefault;var k=obj.target.split("-");
   var nt=k[0];var ii=k[1];var pid=k[2];var data={action:'nxs_snap_aj',nxsact:'manPost',
   nt:nt,id:pid,nid:ii,et_load_builder_modules:1,_wpnonce:'123456789'};jQuery('#
   nxsFavNoticeCnt').html('<p> Posting... </p>');jQuery('#nxsFavNotice').modal({
   fadeDuration:50});jQuery.post('https://www.EXAMPLEWEBSITE.COM/wp-admin/admin-
   ajax.php',data,function(response){if(response=='')response='Message Posted';jQuery('#
   nxsFavNoticeCnt').html('<p> '+response+'</p>'+'<input type=button onclick=jQuery.
   modal.close(); class=bClose value=Close />');});}</script>`
 * and
 * `<div style="display: none;" id=nxsFavNotice><div id=nxsFavNoticeCnt>Posting....
   </div></div>`
 * What is the point? I don’t want such code to be added unnecessarily and without
   permission by an update. The choice should remain with the user and I don’t see
   any point for this code in the frontend here either. I use the Auto Poster in
   the admin area, so that an article is automatically shared in social networks
   after publication – this has nothing to do in the frontend.
 * How do I disable or remove this code?
 * CU

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [dajanas](https://wordpress.org/support/users/dajanas/)
 * (@dajanas)
 * [4 years ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15685700)
 * PS: Why are CSS and JS files loaded from Auto Poster in the Frontent (!)? What
   for? They have nothing to do there. How to remove?
 *  Thread Starter [dajanas](https://wordpress.org/support/users/dajanas/)
 * (@dajanas)
 * [4 years ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15697407)
 * HELLO?
 *  Thread Starter [dajanas](https://wordpress.org/support/users/dajanas/)
 * (@dajanas)
 * [4 years ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15700887)
 * Is there anyone? Support? Explanation?
 *  Thread Starter [dajanas](https://wordpress.org/support/users/dajanas/)
 * (@dajanas)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15735790)
 * Why doesn’t the responsible plugin author answer this legitimate question? What
   is the code doing there?
 *  Thread Starter [dajanas](https://wordpress.org/support/users/dajanas/)
 * (@dajanas)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15749091)
 * How – to – remove?
 *  Thread Starter [dajanas](https://wordpress.org/support/users/dajanas/)
 * (@dajanas)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15749112)
 * I removed the plugin.
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15775025)
 * Sorry, but what seems to be the problem here?
 * First of all this code is added ONLY when you open a page being logged as an 
   admin. Your regular visitors don’t see it.
 * Second, its hidden until you click “Post” button. So what is the problem?
 *  [das73](https://wordpress.org/support/users/das73/)
 * (@das73)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15795452)
 * Hi,
    I have the same problem. I found it in static page saved by supercache. 
   Definitly, it is better to load in admin part only.
    -  This reply was modified 3 years, 11 months ago by [das73](https://wordpress.org/support/users/das73/).
    -  This reply was modified 3 years, 11 months ago by [das73](https://wordpress.org/support/users/das73/).
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15831322)
 * Please update your plugin to the latest version. This problem has been fixed 
   there.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Update added code – how to remove?’ is closed to new replies.

 * ![](https://ps.w.org/social-networks-auto-poster-facebook-twitter-g/assets/icon-
   256x256.png?rev=1106267)
 * [NextScripts: Social Networks Auto-Poster](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/)
 * [Active Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/update-added-code-how-to-remove/#post-15831322)
 * Status: not resolved