Relative Content

Tag Archive for javascriptgoogle-chrome

why javascript code isn’t updating in Google

I am trying to code a website, when a Erorr occur because I write
button.classList.add('btn btn-sm btn-outline-primary'); which is wrong cause there is spaces in the added value, so I tried to remove the line to test the code, but when I removed it the same erorr occured, so I make sure that I’ve changed the code but the erorr keep occurring so I chicked the source code in google’s dev-tools, and I see that the code haven’t changed at all even after removing the line, this is my only js file

chrome extension how download file user

I have an extension that has added a button to a page. How to make sure that after clicking the button, a file is downloaded from the site/extension folders, the image is allowed in the extension extension, and when you click the download button, it goes in the browser