diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/technews.coffee')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/technews.coffee | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/technews.coffee b/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/technews.coffee deleted file mode 100644 index 7a9807eb..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/technews.coffee +++ /dev/null @@ -1,17 +0,0 @@ -page = require('webpage').create() - -page.viewportSize = { width: 320, height: 480 } - -page.open 'http://news.google.com/news/i/section?&topic=t', - (status) -> - if status isnt 'success' - console.log 'Unable to access the network!' - else - page.evaluate -> - body = document.body - body.style.backgroundColor = '#fff' - body.querySelector('div#title-block').style.display = 'none' - body.querySelector('form#edition-picker-form') - .parentElement.parentElement.style.display = 'none' - page.render 'technews.png' - phantom.exit() |