Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by KittenKatja

  1. KittenKatja

    JavaScript Anti-Anti-DevTools?

    Can you at least tell me how I can replicate this for my own websites? Also, it seems to be inside one of the main scripts, as I also got a script blocker (uMatrix), as when it stops triggering, it also stops making the website work properly. (making me still unable to inspect the elements I...
  2. KittenKatja

    JavaScript Anti-Anti-DevTools?

    I do not have permissions from the site owner/devs.
  3. KittenKatja

    JavaScript Anti-Anti-DevTools?

    Didn't I state my intentions already?
  4. KittenKatja

    JavaScript Anti-Anti-DevTools?

    I just wanna inspect this website and change the look with CSS using Stylus. (a script injector) Also, it seems like code is being run while debugger is active, which seems to contradict what debugger should be doing.
  5. KittenKatja

    JavaScript Textbox's color doesbt change

    I don't know if I'm being rude for making another person's code more compact unprompted... <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>IP Address Info</title> <style> #ipAddressLabel, #subnetMaskLabel, #ipAddressId {...
  6. KittenKatja

    JavaScript Is it me or the computer?

    event.clientX works. Thanks!
  7. KittenKatja

    JavaScript Is it me or the computer?

    I forgot about min and max. :laugh: But how can I limit the raw value to the viewport without affecting full-screen mode?
  8. KittenKatja

    JavaScript Is it me or the computer?

    The Lowest Y value is 9.12906610703043%, and the highest is 109.02413431269676%. (0% and 99.9074074074074% in full-screen) But the X value stays within 0% to 99.94791666666667%. (Even with DevTools open) How can I limit it to only the website? I'm also using clamp(x).toFixed(4) + "%" in the...
  9. KittenKatja

    JavaScript Is it me or the computer?

    But it's an arrow function, and I'm not inserting anything from outside the function to be used inside the function. It's like declaring a const without a value. Also, it works anyway, as the problem is the equation, not the arrow function.
  10. KittenKatja

    JavaScript Is it me or the computer?

    I got addEventListener( "mousemove", () => { let x = event.screenX / 100 * window.innerWidth; let y = event.screenY / 100 * window.innerHeight; let a = document.documentElement.style; a.setProperty("--mouseX", x + "%"); a.setProperty("--mouseY", y...
  11. KittenKatja

    HTML & CSS Slide in and out

    I have a span element, with JS, I make it visible with "display: flex;" and insert source for the video or image element inside. The problem is that I can't accurately place it where I want it to be, or make it act with JS. I want to put it into the bottom right corner, regardless of how...
  12. KittenKatja

    JavaScript Syncing videos?

    I don't want to sync 2 videos as often as the browser allows me, once every start of the video is enough for me, because that seems to be the only time when the two videos go async. But I also want to sync 2 mute videos.
  13. KittenKatja

    JavaScript Syncing videos?

    I'd like to sync two videos. One is behind the other video and has the blur filter. Currently, ontimeupdate="if(this.currentTime == 0){let a = document.getElementById('background_blur');a.currentTime = 0;a.play()}" only works, if the video has sound, and is not muted. Would canvas safe some ram...
  14. KittenKatja

    Answered Add class on click?

    I want to use it inside a function. There is a way to target the element of the event, isn't it?
  15. KittenKatja

    Answered Add class on click?

    I'd like to add the class "clicked" to an <a> element on click. this.class.add('clicked') & this.classList.add('clicked') do not work. Bonus: I'd also like to know how to target all the children of an element.
Back
Top Bottom