Someone here who can tell me why I get error 403(forbidden) when I click on a button with a simple: window.location.href? It works on the server, but for some reason not on my laptop when accessing it from another network.
When debuging it, can you see "failed requests" just above action name?
Not sure which vs version has that or that is just code analysis tool but sometimes it shows that something tried to hit that method but failed before reaching it.
and it has more info inside
Frontend people, do you know any lightweight js plugin to make html tables responsive for mobile, like a slider thing?
403 is that there is something that can handle it but it does not acknowledge the data. You want to send two date objects but it does not see it as date objects
Also in case if it we are wrong on this https://www.patrickvankleef.com/images/blog-application-insights-telemetry-data/visual-studio-code-lens-telemetry-data.png
hi , does anyone knows a way to check if the url changes all the time ?
i had a question here https://stackoverflow.com/questions/56687657/chrome-extension-chrome-webnavigation-event-fires-multiple-time?noredirect=1#comment99944009_56687657
someone posted link to this but it didnt really help my case
window.addEventListener("spfdone", process); // old youtube design window.addEventListener("yt-navigate-start", process); // new youtube design
this only fires first time i put Youtube on the URL
but if i navigated to any video inside it doesn't fire at all
i'm looking for a method that fires whenever the URL changes but so far all the ones i've tried either fires multiple times or doesn't fire at all !
i don't want to use a while loop because it's a bet risky , if it fails it can crash the entire browser
I've downloaded this https://github.com/Minishlink/web-push-php-example. There is a send notification button in it which fetch a php file which pushes a notification using webpush https://github.com/web-push-libs/web-push-php.
It was working for a while and then just stopped working. After it st...
just quick question if i'm trying to check if the URL contain "youtube.com"
if ('youtube.com' === window.location.href ){
//code here
}
or
if ('youtube.com' === location.pathname){
//code here
}
which one is right ?
@BenFortune i saw it here https://stackoverflow.com/questions/18397962/chrome-extension-is-not-loading-on-browser-navigation-at-youtube/18398921#18398921
but i don't know if its going to work as i have never seen it before
if ('something' === location.pathname){} // this one specially looks weird
window.addEventListener("someEvent", function Checker(event) { alert("Checker called");
}
whenever i call the function underneath it (aka: function should have been defined ) .. e.g."Checker(event);" it it return with error
Checker is not defined
how can i call the function checker from another function the right way ?