I posted a question a couple of days ago regarding me making a copy of a popular website.
What I'm looking to do is to do an exact copy of a mobile version of a website, I'm aware its a responsive design, so I enabled emulation in chrome and copied the source it showed, however it throws out errors constantly, which I guess is due to security issues, but I'm totally baffled at how to get around it, below are the errors i'm receiving.
GET file://static.o2.co.uk/shared/js/lib/jquery-2.0.3.min.js?bust=161309052014 net::ERR_FILE_NOT_FOUND require.js:34
Uncaught Error: Script error for: jquery
http://requirejs.org/docs/errors.html#scripterror require.js:8
GET file://static.o2.co.uk/shared/js/lib/le-mtagconfig.js?bust=161309052014 net::ERR_FILE_NOT_FOUND require.js:34
Uncaught Error: Script error for: lib/le-mtagconfig
http://requirejs.org/docs/errors.html#scripterror require.js:8
Uncaught Error: Load timeout for modules: o2/o2.min,plugins.jquery
http://requirejs.org/docs/errors.html#timeout require.js:8
GET file://lptag.liveperson.net/tag/tag.js?site=63960994 net::ERR_FILE_NOT_FOUND le-mtagconfig.js:1
GET file://servedby.o2.co.uk/container/2746;14241;1752;iframe/?ft_referrer=file…//C%3A/Users/Reece/Desktop/Mobile/testing123.html&ns=&cb=371028.8053844124 net::ERR_FILE_NOT_FOUND tracking.min.js:1
XMLHttpRequest cannot load file:///C:/Users/Reece/Desktop/Mobile/api/userdetails?disambiguation_id=. Cross origin requests are only supported for HTTP. angular.js:7836
Error: A network error occurred.
at Error (native)
at http://static.o2.co.uk/mymobile/js/lib/angular.min.js:72:139
at z (http://static.o2.co.uk/mymobile/js/lib/angular.min.js:68:173)
at h (http://static.o2.co.uk/mymobile/js/lib/angular.min.js:66:157)
at z (http://static.o2.co.uk/mymobile/js/lib/angular.min.js:91:280)
at http://static.o2.co.uk/mymobile/js/lib/angular.min.js:92:417
at g.$eval (http://static.o2.co.uk/mymobile/js/lib/angular.min.js:100:328)
at g.$digest (http://static.o2.co.uk/mymobile/js/lib/angular.min.js:98:210)
at g.$apply (http://static.o2.co.uk/mymobile/js/lib/angular.min.js:101:157)
at http://static.o2.co.uk/mymobile/js/lib/angular.min.js:17:415 angular.js:9101
ReferenceError: $ is not defined
From what I understand so far, it won't run the code as its not being hosted on the original site, but surely theres a way for me to get an exact copy of the site
Any help is greatly appreciated !
When loading up the page on firefox, I receive the following warnings;
Error: http://static.o2.co.uk/mymobile/js/lib/angular.min.js is being assigned a //# sourceMappingURL, but already has one
Error: http://static.o2.co.uk/mymobile/js/lib/angular-route.min.js is being assigned a //# sourceMappingURL, but already has one
Error: http://static.o2.co.uk/mymobile/js/lib/angular-sanitize.min.js is being assigned a //# sourceMappingURL, but already has one
Error: Script error for: jquery
http://requirejs.org/docs/errors.html#scripterror require.js:8
Error: Script error for: lib/le-mtagconfig
http://requirejs.org/docs/errors.html#scripterror