projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8c455f
)
domains/coconuts.co.js
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 04:00:14 +0000
(12:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 04:00:14 +0000
(12:00 +0800)
domains/coconuts.co.js
patch
|
blob
|
history
diff --git
a/domains/coconuts.co.js
b/domains/coconuts.co.js
index
b78e8ad
..
71d98aa
100644
(file)
--- a/
domains/coconuts.co.js
+++ b/
domains/coconuts.co.js
@@
-42,6
+42,10
@@
if (node.nodeName == 'STYLE' && node.getAttribute('media') && getAttribute('media').match(/print/)) {
node.innerHTML = '';
}
+ if (node.nodeName == 'LINK' && node.getAttribute('media') && getAttribute('media').match(/print/)) {
+ node.setAttribute('href' , '');
+ node.setAttribute('media' , 'speech');
+ }
var newsheet = '';