Back to LanguageTool Homepage - Privacy - Imprint

Integrated Language Tool Not Functioning


(Nitika Nadgar) #1

I have integrated the tool into a project I'm working on. At first it worked, but now it redirects me to the community page. Is there any way to figure out what the issue is that is causing the tool to not work?

Thanks!


(Daniel Naber) #2

Is this a public page we can have a look at? If not, please try F12 in your browser to follow the requests and responses that the browser sends/receives.


(Nitika Nadgar) #3

Unfortunately, the page is deployed.

I think you are asking me to open the developer console which has this message:

(index):393 A Parser-blocking, cross site (i.e. different eTLD+1) script, https://openthesaurus.stats.mysnip-hosting.de/piwik.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message.See https://www.chromestatus.com/feature/5718547946799104 for more details.

I am on a 5G network.


(Daniel Naber) #4

When you say you integrated LT, did you follow http://wiki.languagetool.org/integration-on-websites? That's the only way officially supported, just copying code from the LT homepage might not work. Using an iframe to integrate LT might not work either.


(Nitika Nadgar) #5

Thanks for responding so quickly!
I did follow the instructions from the wiki, and at first it did work, but then suddenly stopped working. I'm not using an iframe.


(Daniel Naber) #6

I just tried following the instructions on the wiki and it works for me. Maybe you can also start with an otherwise empty page and then add the code from our wiki page to make that work first.


(Nitika Nadgar) #7

I erased what I had and repasted the code, and also tried it in a Firefox browser instead. This what the developer tool in Firefox said:


(Daniel Naber) #8

I'm attaching a simple HTML page that works for me, does it work for you, too?

integration-test.html (3.4 KB)


(Nitika Nadgar) #9

yes, that works.


(Nitika Nadgar) #10

It seems that if I use the code for the tool on my main index.html page it works, but if I integrate it into an AngularJS model, it stops working. Thanks for your help!