Jbackend and Template Ionic Material
-
alphaa
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 36
-
Thank you received: 0
-
-
8 years 9 months ago #5046
by alphaa
Thanks admin!
No i want to block a script in my content from json like :
"content": "\r\n<script async=\"async\" src=\"//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\r\n<p>
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 9 months ago #5057
by admin
You can strip html tags in many different way (e.g. using regexp on strings, using DOM parsing, using $sce, and so on). Decision is up to you.
Please Log in or Create an account to join the conversation.
-
alphaa
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 36
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 9 months ago #5074
by admin
I am not sure but it seems there's a problem with the protocol (file://) which leads to local files.
Please Log in or Create an account to join the conversation.
-
alphaa
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 36
-
Thank you received: 0
-
-
8 years 9 months ago #5075
by alphaa
Yes.Its work fine in browser but when i have export the project ionic (www only) in android studio for building app, the content do this error .
I don't know if i must import plugin and config.xml from ionic project to android studio or not, if yes how can i do it plz?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.165 seconds