Title: Make theme spamming HTML files?
Last modified: August 31, 2016

---

# Make theme spamming HTML files?

 *  Resolved [theloadeddog](https://wordpress.org/support/users/theloadeddog/)
 * (@theloadeddog)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/make-theme-spamming-html-files/)
 * Hi TTF,
 * It looks like the Make theme is spamming my HTML files. I find the following 
   towards the end of each HTML file:
 *     ```
       <script type='text/javascript'>
       /* <![CDATA[ */
       var ttfmakeGlobal = {"fitvids":{"selectors":"iframe[src*='www.viddler.com'],iframe[src*='money.cnn.com'],iframe[src*='www.educreations.com'],iframe[src*='\/\/blip.tv'],iframe[src*='\/\/embed.ted.com'],iframe[src*='\/\/www.hulu.com']"}};
       /* ]]> */
       </script>
       <script type='text/javascript' src='https://mydomain.com/wp-content/themes/make/js/global.min.js?ver=1.6.7'></script>
       <script type='text/javascript' src='https://mydomain.com/wp-content/themes/make/inc/formatting/dynamic-stylesheet/dynamic-stylesheet.js?ver=1.6.7'></script>
       ```
   
 * Why is Make generating code that looks like it’s trying to embed off-site videos
   on my site without my knowledge or permission? While I don’t see anything on 
   the actual site, that fact doesn’t make me any more comfortable with what I see
   in the HTML files. At first I thought maybe my site’d been hacked but comments
   in Make’s global.js file suggest otherwise, with blip.tv specifically mentioned
   in the fitVidsInit function (and that file was from a freshly downloaded zip 
   of Make, entirely independent of my site).
 * How do I get rid of this unwanted & unauthorised spam on my site?
 * Thanks,
    tld

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

 *  [Corey – The Theme Foundry](https://wordpress.org/support/users/coreymckrill4ttf/)
 * (@coreymckrill4ttf)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/make-theme-spamming-html-files/#post-7123555)
 * Hi [@theloadeddog](https://wordpress.org/support/users/theloadeddog/)
 * The code you’re seeing isn’t spam. It is an array of URL patterns that the Fitvids.
   js script uses to recognize embedded video containers so that it can scale them
   correctly to fit the content column, should you embed any of them. You can read
   more about Fitvids and the way its custom selectors work [here](https://github.com/davatron5000/FitVids.js).
 * If you don’t need those patterns and don’t want them in your page source, you
   can add a filter to the `make_fitvids_custom_selectors` hook ([source](https://github.com/thethemefoundry/make/blob/master/src/functions.php#L407-L424))
   and have it return an empty array.
 *  Thread Starter [theloadeddog](https://wordpress.org/support/users/theloadeddog/)
 * (@theloadeddog)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/make-theme-spamming-html-files/#post-7123572)
 * Hi Corey,
 * Thanks for your reply and for the explanation — much appreciated; that makes 
   sense now. Thanks also for the info on how to remove the fitvids custom selectors—
   got it.
 * Cheers,
    tld

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

The topic ‘Make theme spamming HTML files?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/make/1.10.9/screenshot.jpg)
 * Make
 * [Support Threads](https://wordpress.org/support/theme/make/)
 * [Active Topics](https://wordpress.org/support/theme/make/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/make/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/make/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [theloadeddog](https://wordpress.org/support/users/theloadeddog/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/make-theme-spamming-html-files/#post-7123572)
 * Status: resolved