掲示板

Restrict js file

7年前 に Shashi Kant によって更新されました。

Restrict js file

New Member 投稿: 4 参加年月日: 16/09/23 最新の投稿
We are not able to restrict js file which is provided by Liferay open source code.
if we are appending with URL (html/js/aui/cookie/cookie.js),we are able to see cookie.js file . can we restrict this.?
thumbnail
7年前 に Nikhil Nishchal によって更新されました。

RE: Restrict js file

Regular Member 投稿: 177 参加年月日: 12/06/22 最新の投稿
You can customize it from portal-ext
javascript.everything.files=\
\
#
# YUI modules
#
\
aui/async-queue/async-queue.js,\
aui/base-build/base-build.js,\
aui/cookie/cookie.js,\
aui/event-touch/event-touch.js,\
aui/overlay/overlay.js,\
aui/querystring-stringify/querystring-stringify.js,\
aui/widget-child/widget-child.js,\
aui/widget-position-align/widget-position-align.js,\
aui/widget-position-constrain/widget-position-constrain.js,\
aui/widget-position/widget-position.js,\
aui/widget-stack/widget-stack.js,\
aui/widget-stdmod/widget-stdmod.js,\



But be careful if it may required by another JS.
7年前 に Shashi Kant によって更新されました。

RE: Restrict js file

New Member 投稿: 4 参加年月日: 16/09/23 最新の投稿
Thank you Nikhil.
7年前 に Shashi Kant によって更新されました。

RE: Restrict js file

New Member 投稿: 4 参加年月日: 16/09/23 最新の投稿
how to restrict js file content in the browser ? below code is enable the content of the js when hit the path of the .js file
javascript.everything.files=\
\
#
# YUI modules
#
\
aui/async-queue/async-queue.js,