Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F136619
example.js
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
epriestley
Mar 31 2014, 11:55 PM
2014-03-31 23:55:07 (UTC+0)
Size
434 B
Referenced Files
None
Subscribers
None
example.js
View Options
function
hasInlineImages
(
el
)
{
for
(
var
ii
=
0
;
ii
<
el
.
getNumChildren
();
ii
++
)
{
var
child
=
el
.
getChild
(
ii
);
if
(
child
.
getType
()
==
"INLINE_IMAGE"
)
{
var
blob
=
UrlFetchApp
.
fetch
(
"https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQrynF6f9UOdCBs47WAlLdFU319YmB6H43ymqbKgNyrU8dEdtDtpQ"
).
getBlob
()
el
.
insertInlineImage
(
ii
,
blob
);
el
.
removeChild
(
child
);
return
true
;
}
}
return
false
;
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/cd/jw/aab54llslvurymlm
Default Alt Text
example.js (434 B)
Attached To
Mode
P1105 example.js
Attached
Detach File
Event Timeline
Log In to Comment