| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 7162|Reply: 2
Collapse the left

How to Add Brow.si

[Copy link]

 Turkey

Post time: 2014-10-02 01:33
| Show all posts |Read mode
Brow.si help to improve your mobile experience.
Share, Change text size, and more..

you can check Brow.si to read more info.

How we can add to our site?

There is a simple code:
  1. <script type="text/javascript">
  2.     (function(w, d){
  3.         w['_brSiteId'] = 'Lwvppw';
  4.         function br() {
  5.             var i='browsi-js'; if (d.getElementById(i)) {return;}
  6.             var siteId = /^[a-zA-Z0-9]{1,7}$/.test(w['_brSiteId']) ? w['_brSiteId'] : null;
  7.             var js=d.createElement('script'); js.id=i; js.async=true;
  8.             js.src='//js.brow.si/' + ( siteId != null ? siteId + '/' : '' ) + 'br.js';
  9.             (d.head || d.getElementsByTagName('head')[0]).appendChild(js);
  10.         }
  11.         d.readyState == 'complete' ? br() :
  12.             ( w.addEventListener ? w.addEventListener('load', br, false) : w.attachEvent('onload', br) );
  13.     })(window, document);
  14. </script>
Copy the Code

Add this code to /template/default/touch/common/footer.htm before </body> tag.

Do not forget to clean a template cache!

Then visit your website from a mobile phone and test it!


[edited by vot]

 United States

Post time: 2014-10-08 01:48
| Show all posts
Is this still valid? It seems like brow.si doesn't exist anymore?

Comments

Pme
Yes ıts working but Brow.si website down more then 3 days you can add but its not work because site down.I dont know why downed  Post time 2014-10-08 17:04
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 05:01 GMT+3 , Processed in 0.031444 sec., 10 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list