• So I am trying to write a new post and use the britepic javascript with it. Whenever I put the javascript into the post, and click save draft, it always erases the <script> and </script>tags from it. I dont know why it does this, but it is very annoying. What can I do so that it does not take out the script opening and closing tags. And yes I am using the HTML view when writing a new post. It also inserts br tags after each line.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Dawa1

    (@dawa1)

    I have tried following those instructions, but no matter which one I try it still erases the script tags. I only havent tried the CDATA one, but I have tried implementing the others…. The thing is that I got it somehow into another post, but when I go into that one post, and copy everything to try to put it into the new post, it still erases the script tags, and replaces everything with br tags….

    Thread Starter Dawa1

    (@dawa1)

    IT IS DRIVING ME CRAZY!!!

    Alright here is the code I am trying to put in:

    <script>
     britepic_id="919";
     britepic_src="https://www.muskiematt.com/images/Muskie%20Hold%20web.jpg";
     britepic_keywords="demo, keywords, shark, these are just tags, funny pic";
     britepic_show_ads=1;
     britepic_show_menu=1;
     britepic_href="http%3A//google.com";
     britepic_caption="Angry shark";
     britepic_width=400;
     britepic_height=380;
    </script>
    <script src="https://www.britepic.com/britepic.js"></script>
    <noscript><img src="https://www.muskiematt.com/images/Muskie%20Hold%20web.jpg" width="400" height="380"></noscript>

    and every time I hit save draft, it erases the script tags, as well as the noscript. WTH is going on?

    Thread Starter Dawa1

    (@dawa1)

    Should I maybe try putting the source of the script into the header? Would that really do anything? I dont know what else to try

    Thread Starter Dawa1

    (@dawa1)

    Any super smart goorus out there who can help? I got it working once, but cannot get it to do it again. Why the @#$% would this be happening now?? Just one of those weird things, but I have no clue where to go

    Thread Starter Dawa1

    (@dawa1)

    WHAT?!?! I just noticed that I was trying this as a user who only has author privileges, is there a way to allow this for the authors? I will have authors who will have to put JavaScript in, so what is the issue here and how can I get it to allow JavaScript for those users?

    Thread Starter Dawa1

    (@dawa1)

    What is the minimum level I can give a user permissions to be also able to use JavaScript?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CANNOT get JavaScript to show in a post’ is closed to new replies.