Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Java scripts and EZ pages.

    Hello,
    I have a small, but annoying issue. I would like to put a "no right click" java script on my EZ pages, as they are technical articles I'd rather not see plagiarized. Yes, I know, a script isn't going to stop someone from copying the articles, but it does allow me to say "You were warned that the information was covered by a copyright" when I do find them, and I have a nice C&D letter I get to send to them along with it.

    I have been able to install the script on a global level, but I know when I am shopping, I like to be able to open more than one window from the same site, and the java prevents that. My goal is to limit the script to cover all of the EZ pages, but I have been unable to figure out how to do it.

    Any help, or suggestions would be appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Java scripts and EZ pages.

    To affect *only* *ALL* EZ-Pages, place your JS code in a file named like this: /includes/modules/pages/page/jscript_no_right_click.js

    http://www.zen-cart.com/wiki/index.p...e-Specific_Use
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. PHP scripts in ezpages or define pages possible?
    By bangsters in forum General Questions
    Replies: 14
    Last Post: 2 Mar 2018, 10:21 AM
  2. v139h EZ Pages - location and php scripts
    By snorkerz in forum General Questions
    Replies: 5
    Last Post: 10 Feb 2012, 03:33 PM
  3. Adding New Pages with PHP scripts
    By High Flyin' Ryan in forum Customization from the Admin
    Replies: 2
    Last Post: 14 Dec 2010, 09:18 PM
  4. EZ Pages, DreamWeaver Content, & Java
    By ScriptJunkie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Sep 2008, 11:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg