265 posts What we do in life, echoes in eternity!
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
Prothemeus says

I’m not sure if this is encountered by others but I think it’s important as it may have an impact on sales. The problem is that most of the times I visit a product demo (this applies to most authors) on Themeforest through the Live Preview button on my iPad, it crashes my iPad browser no matter which browser I use.

I also don’t have enough time to close the iFrame as it crashes the browser before I can remove it.

Am I the only one?

56 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has referred 1+ members
  • Has been part of the Envato Community for over 2 years
+3 more
weibergmedia says

Hi Prothemeus,

I have encountered the same issue, also when trying to view other templates and themes from different authors. Same applies to my iPhone 5.

20 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
softcircles says

same thing happens to me few hours ago, I thought its browser issue. I restarted it and it was fine. will check it again.

95 posts Web Geek
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Helped several times protecting Envato Market against copyright violations
  • Located in India
+4 more
templatin says

Same here.

I have reported the problem to Envato support (Ticket #BAY-159-21143) couple of days back and waiting for their reply.

Some features of my theme demo don’t work when Themeforest iframe is enabled. So, the buyers will think there’s a bug in the demo and hence make an impact on sales.

49 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Had an item featured on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Located in Australia
+3 more
medium_rare says

Same issue here – the top frame does strange things to my templates, this seems to have gone on a while. Can any envato staff weigh in??

639 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 more
Pirenko says

I have developed a script that removes the frame and reloads the page on mobile devices. This way I don’t have this issue :)

1243 posts
  • Provided great contribution to our forums
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
Smartik says

I’ve just added this script in my latest item and I will include it all my comming themes and templates:

Between <head> tags:
<script>if ( top !== self ) top.location.replace( self.location.href );</script>
639 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 more
Pirenko says

@ Smartik: I think you should not add any extra code to your themes and templates. And also this seems to apply to all devices and this is not what was intended with this thread.

95 posts Web Geek
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Helped several times protecting Envato Market against copyright violations
  • Located in India
+4 more
templatin says

@Smartik: I have tested the script and its working perfect. This is what I was looking for.

@Pirenko: The extra code is supposed to be added only in demos (Live preview) for removing the frame but not in the final package which will be given to the buyers.

1243 posts
  • Provided great contribution to our forums
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
Smartik says

@ Smartik: I think you should not add any extra code to your themes and templates. And also this seems to apply to all devices and this is not what was intended with this thread.

This is a general example of how you can remove the iframe and redirect to original demo link. Also you should include this in demo only, no need to include it in theme/template itself.

If you want to apply it only for mobile devices then ofcourse it need more work. You can find a script that detects the device written in JS or PHP or anything else and apply it condittionally. It’s up to you.

An example would be:
JS: https://github.com/barisaydinoglu/Detectizr
PHP: https://github.com/dmolsen/Detector

by
by
by
by
by
by