Solved

Javascript won't run.

Posted on 2014-03-18
2
204 Views
Last Modified: 2014-03-19
I have a html file which runs a Javascript.  The code works well on my home computer locally.  It works correctly after I uploaded it to my website and then test from home using either Internet Explorer or Firefox.

At work on a managed network it doesn't work, but a visit to a javascript test website shows that javascript is enabled.

link to my webpage: http://www.reissprojects.com/TextExpander/TextExpansion1.html

This app will expand certain abbreviations when they are typed into the text box.

typing cci will expand to "customer called in"

typing um will expand to "under management for"
0
Comment
Question by:rreiss60
2 Comments
 

Author Comment

by:rreiss60
Comment Utility
Got it to work under Firefox, but not Internet Explorer on the work computer.
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
Comment Utility
The copytoclipboard method s not cross browser.  You will need to code it like it is done here:
http://www.deluxeblogtips.com/2010/06/javascript-copy-to-clipboard.html

Then hope that you are not being blocked on the work computer.  Any code that copies to the clipboard is considered dangerous code so AV or firewall software may prevent it from executing.  It may also cause a security warning from browsers depending on security setting. The security issues will generally be in play for any activity that accesses browser controls or data stores by means other tan being initiated by the user.

Cd&
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now