I made extensions, I want to make a personal function by adding the users id to the txt file, when the button is pressed, the condition will be used (If found in the text file id of this person, the function is executed.).

I found several access codes for the txt file but all lead to an error:

The request from an outside source is blocked: The policy of one source prohibits the reading of a remote resource on http://mysite.ru/file.txt . (Reason: the Access-Control-Allow-Origin CORS header is missing.)

Or how is it possible to implement this function easier?

  • What extensions are we talking about? - Vladimir Gamalyan
  • @VladimirGamalian google chrome extension - SloGS

0