Title: Remove Scripts and CSS only on mobile
Last modified: September 30, 2020

---

# Remove Scripts and CSS only on mobile

 *  Resolved [andvsb](https://wordpress.org/support/users/andvsb/)
 * (@andvsb)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/remove-scripts-and-css-only-on-mobile/)
 * Hi,
    is there a way to remove scripts and css only for mobile in the CSS & Javascript
   manager? thanks.

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

 *  [Shakasols](https://wordpress.org/support/users/shakasols/)
 * (@shakasols)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/remove-scripts-and-css-only-on-mobile/#post-13541497)
 * Hi Asset CleanUp Team,
 * Great plugin, thanks!
 * I too would be very interested in the ability to remove and adjust scripts based
   on device – ie mobile, desktop et cetera.
 * This function would make purchasing the PRO version a no brainer for me.
 * Very much hope to hear from you.
 * Cheers,
 * Ed
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/remove-scripts-and-css-only-on-mobile/#post-13549640)
 * [@shakasols](https://wordpress.org/support/users/shakasols/) [@andvsb](https://wordpress.org/support/users/andvsb/)
   there’s a new feature in the Pro version that would prevent the browser from 
   downloading the CSS/JS file based on the visitor’s screen size. For instance,
   something like “(min-width: 768px)” could be set to have the file downloaded 
   only for the desktop view (for mobile, it won’t load). Here’s the documentation
   about it: [https://assetcleanup.com/docs/instruct-browser-download-file-visitor-screen-size/](https://assetcleanup.com/docs/instruct-browser-download-file-visitor-screen-size/)–
   let me know if you have any questions about it!
 *  [Shakasols](https://wordpress.org/support/users/shakasols/)
 * (@shakasols)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/remove-scripts-and-css-only-on-mobile/#post-13549945)
 * Thanks Gabe,
 * I will purchase soon and give it a go. 🙂
 * Cheers,
 * Ed

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

The topic ‘Remove Scripts and CSS only on mobile’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

## Tags

 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 3 replies
 * 3 participants
 * Last reply from: [Shakasols](https://wordpress.org/support/users/shakasols/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/remove-scripts-and-css-only-on-mobile/#post-13549945)
 * Status: resolved