# Help to create my first plugin

**URL:** https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328
**Category:** DEVONagent
**Created:** [April 10, 2023, 2:20pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328 "2023-04-10T14:20:26Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![IvanPsy](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/ivanpsy/32/22597_2.png) [@IvanPsy](https://discourse.devontechnologies.com/u/IvanPsy)
#### Post date: [April 10, 2023, 2:20pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/1 "2023-04-10T14:20:26Z")

</div>

Greetings,  
I’ve just purchased DA Pro and tried to create my first plugin, with no results.

The website is: [https://www.frontiersin.org/](https://www.frontiersin.org/), and I want to be able to search terms inside their website (database?).

There is a search option, I’ve checked by searching “foam”, and this was the resulting URL: [www.frontiersin.org/search?query=fomo](http://www.frontiersin.org/search?query=fomo)

Following your manual, I’ve created the plugin and set this URL: [www.frontiersin.org/search?query=](http://www.frontiersin.org/search?query=)_agentQuery_&start=_agentOffset_  
with no results.

So I’ve found another section of the website where I can search inside their articles (again with the term “fomo”: [https://www.frontiersin.org/articles?domain=all&query=fomo](https://www.frontiersin.org/articles?domain=all&query=fomo)  
Then I set up the plugin with the URL: [https://www.frontiersin.org/articles?domain=all&query=\_agentQuery\_](https://www.frontiersin.org/articles?domain=all&query=_agentQuery_)  
Again with no results at all.

What am I doing wrong? (so that I can learn for the future)

TNX!

---

<div class="post-metadata">

### Author: ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)
#### Post date: [April 10, 2023, 2:42pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/2 "2023-04-10T14:42:27Z")

</div>

The FrontiersIn site requires JavaScript to search and this is not supported.  
I would suggest disabling **Preferences \> Web \> Enable JavaScript** in DEVONagent and attempting searches in the desired search engines first. If it doesn’t work or reports it needs JavaScript, you know.

---

<div class="post-metadata">

### Author: ![IvanPsy](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/ivanpsy/32/22597_2.png) [@IvanPsy](https://discourse.devontechnologies.com/u/IvanPsy)
#### Post date: [April 10, 2023, 3:34pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/3 "2023-04-10T15:34:46Z")

</div>

I’ve disabled Javscript, but it doesn’t work.

Ok…hiw about crawling the website instead of relying on their esarca engine? How?

---

<div class="post-metadata">

### Author: ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)
#### Post date: [April 10, 2023, 3:47pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/4 "2023-04-10T15:47:36Z")

</div>

> [@IvanPsy](#):
>
> I’ve disabled Javscript, but it doesn’t work.

Correct. JavaScript doesn’t work. That’s what I said… or hoped to say.

You can try a search set **searching** the site added to the **Sites** tab.

---

<div class="post-metadata">

### Author: ![IvanPsy](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/ivanpsy/32/22597_2.png) [@IvanPsy](https://discourse.devontechnologies.com/u/IvanPsy)
#### Post date: [April 10, 2023, 4:05pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/5 "2023-04-10T16:05:55Z")

</div>

> [@BLUEFROG](#):
>
> You can try a search set **searching** the site added to the **Sites** tab.

Can you please explain step by step?

Do you mean something like the picture, then I add it to a set so that I can get the query whenever I need it?

 ![CleanShot 2023-04-10 at 18.04.36@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/1/a/1a3e5354b68c826d6a6140a33c76a0ae1c0c9b89.jpeg)

---

<div class="post-metadata">

### Author: ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)
#### Post date: [April 10, 2023, 8:26pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/6 "2023-04-10T20:26:41Z")

</div>

I’m AFK at the moment.

Look at **Window \> Search Sets**. There is a **Sites** tab where you can enter URLs to be included in a DEVONagent search.

 ![CleanShot 2023-04-11 at 09.29.56@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/b/8/b80724683910534104b47fb4ecbab2449f1e81b8.jpeg)

---

<div class="post-metadata">

### Author: ![ibuys](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/ibuys/32/18638_2.png) [@ibuys](https://discourse.devontechnologies.com/u/ibuys)
#### Post date: [April 11, 2023, 2:23pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/7 "2023-04-11T14:23:03Z")

</div>

Good luck. I was never able to get any of the custom search plugins I tried to put together to work.

---

<div class="post-metadata">

### Author: ![IvanPsy](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/ivanpsy/32/22597_2.png) [@IvanPsy](https://discourse.devontechnologies.com/u/IvanPsy)
#### Post date: [April 18, 2023, 1:37pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/8 "2023-04-18T13:37:25Z")

</div>

I did it, with no results (please see in the screenshots).

Furthermore, it seems it have searched on Bing and Google, but it was expected to search only on the Frontiers In website.

 ![CleanShot 2023-04-18 at 15.32.31@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/1/3/13ffea4e3e936f65cc72048a393d84798cb6e49d.jpeg)

 ![CleanShot 2023-04-18 at 15.32.51@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/0/6/064e30d97579c4b9d4d195790d01a9552466b3c0.png)

 ![CleanShot 2023-04-18 at 15.36.16@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/1/5/1532584649d23595500a31a340ccdde1be855425.png)

---

<div class="post-metadata">

### Author: ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)
#### Post date: [April 18, 2023, 3:29pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/9 "2023-04-18T15:29:52Z")

</div>

> [@BLUEFROG](#):
>
> There is a **Sites** tab where you can enter URLs **to be included** in a DEVONagent search.

Note what I said previously _(with emphasis added)_.

When you use the **Search** command for a site, it has to be searched via some engine. In this case it uses the built-in Web plugin. This utilizes Google, Yahoo, and Bing to do the searching.

---

<div class="post-metadata">

### Author: ![system](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/4/4e6ff70c96be2eb307a274d890bba8d71ba671b3.png) [@system](https://discourse.devontechnologies.com/u/system)
#### Post date: [April 17, 2026, 3:29pm UTC](https://discourse.devontechnologies.com/t/help-to-create-my-first-plugin/75328/10 "2026-04-17T15:29:58Z")

</div>

This topic was automatically closed 1095 days after the last reply. New replies are no longer allowed.
