Archived

This topic is now archived and is closed to further replies.

30113721

How to include a domain into def.js?

Recommended Posts

In the official manual it looks like that: sdk view

image.png

The strange situation with colon after include. Will it be right to write a colon in the single quotes?

for example: "actions": ,

"entryPoints": ,

"js":,

},or colon must be outside of the qoutes? like this: "actions": ,

"entryPoints": ,

"js":,

},In my extension working only the first variant, but I'm still doubt within.

Share this post


Link to post
Share on other sites

Whats wrong with this @include story? I have reject with reason:

If you extension is only suitable for specific websites,

please use "include" to make sure the js are only injected in certain sites.

Some other websites may has ".chatlinenick" too,

so your may cause problem and the websites opened in retro mode,

injected jquery incompatibility problem.

Here is my repo: Bitbucket. SmLock extension / source

Share this post


Link to post
Share on other sites