Skip to content

Commit ae47d2f

Browse files
author
John Doherty
committed
added chrome as a default user agent
1 parent 389a811 commit ae47d2f

16 files changed

+11
-3
lines changed

.eslintignore

100644100755
File mode changed.

.eslintrc

100644100755
File mode changed.

.gitignore

100644100755
File mode changed.

LICENSE

100644100755
File mode changed.

README.MD

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ To ensure the source scripts, styles and images load within your site a base tag
8888
Because of this, you need to ensure all the links within your conent are absolute.
8989

9090
## Contributing
91+
9192
Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by [opening an issue on GitHub](https://github.com/john-doherty/node-iframe-replacement/issues).
9293

9394
## History

docs/bbc-news-actual-homepage.png

100644100755
File mode changed.

docs/bbc-news-fake-homepage.png

100644100755
File mode changed.

example/server.js

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Server() {
2323

2424
// respond to this request with our fake-new content embedded within the BBC News home page
2525
res.merge('fake-news', {
26-
sourceUrl: 'http://www.bbc.co.uk/news', // external url to fetch
26+
sourceUrl: 'https://www.facebook.com', //http://www.bbc.co.uk/news', // external url to fetch
2727
sourcePlaceholder: 'div[data-entityid="container-top-stories#1"]' // css selector to inject our content into
2828
});
2929
});

example/views/fake-news.hbs

100644100755
File mode changed.

index.js

100644100755
File mode changed.

0 commit comments

Comments
 (0)