267 posts What we do in life, echoes in eternity!
  • Affiliate Level 3
  • Author Level 8
  • Collector Level 4
  • Weekly Top Seller
+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?

127 posts
  • Elite Author
  • Author Level 7
  • Weekly Top Seller
  • Collector Level 4
+6 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.

36 posts
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
  • 1 Year of Membership
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.

196 posts Web Geek
  • Elite Author
  • Author Level 7
  • India
  • Super Copyright Ninja
+6 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.

74 posts
  • Featured Author
  • Elite Author
  • Top Monthly Author
  • Featured Item
+8 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??

698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 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 :)

1368 posts
  • Weekly Top Seller
  • 5 Years of Membership
  • Author Level 6
  • Beta Tester
+5 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>
698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 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.

196 posts Web Geek
  • Elite Author
  • Author Level 7
  • India
  • Super Copyright Ninja
+6 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.

1368 posts
  • Weekly Top Seller
  • 5 Years of Membership
  • Author Level 6
  • Beta Tester
+5 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