Langsung ke konten utama

How to run javascript on Chrome mobile address bar

 One thing that became dull to me is the ability to analyze things that went wrong (AKA debugging).

Like "why it's not working now?" "what can i do to make it works?."

I never tried to try find "anything" to make it works, and just leave it like mediocre.

That's true and it hurts when you loss your skill that you used to harnessed.

Enough for the chit-chat, lets back to the topic.

To run javascript on Chrome mobile address bar, like usual, you typed `javascript:yourScript` but instead of pressing enter or Go, click on the suggestion below it with the globe icon.

That's it! So simple yet i never thought that way.

All come from my search on how to view source on chrome mobile since i can't run any javascript before.

And i thought that running things like view source is expected to be the chrome built-in special keyword like `chrome://`.

And it's `view-source:URL`, and surprisingly enough it's what help me figure things out.

Komentar

Postingan populer dari blog ini

Running proot program over termux xorg

  # Running xorg and xvfb on Termux pkg add tur-repo apt update -y && apt upgrade -y pkg install x11-repo # Mempermudah nantinya apt install fish starship pulseaudio tmux -y chsh -s fish exit # Kembali ke termux dan ini hasilnya: # Beri akses ke internal storage termux-setup-storage # Install xorg-server apt install xorg-server xorg-server-xvfb -y # Sampai sini harusnya akan ada error muncul jika mencoba menjalankannya: # Fix error dengan cara install mesa zink apt install mesa-zink/tur-packages # Install xwayland untuk termux-x11 apt install libwayland-protocols libepoxy xwayland # Download termux-x11 .zip dari github lalu extract file zip-nya dan install file termux-x11.apk dan .deb-nya (dengan cara dpkg -i file.deb) # Kenapa install dari github? Karna termux-x11-nightly dari repo termux bermasalah # Setelah semua selesai, tinggal install program yg membutuhkan X server, misalkan xterm (30MB) atau openbox (700MB) apt install xterm -y # Jalankan X11 DISPLAY=:0 termux-x11 #...

How to export Godot game to Android from Linux

1.Go to Editor -> Manage export template -> Download and install ->Close. 2.Download command-tools cli for linux at https://developer.android.com/studio/ # command-tools .  Scroll down until you see the Command line tools  section. Then add `export ANDROID_HOME="/path/to/android-sdk"`  to your  `.bashrc`  or  `.zshrc` (for other shell, try to edit it accordingly), and unzip the file to: `/path/to/android-sdk/` Example: `$HOME/Android/android-sdk` 3.Download Openjdk latest version. Set JAVA _HOME  to your `.bashrc` : `export JAVA_ HOME=$(which java|rev|cut -d'/' -f3-|rev)` Install required tools&packages from sdkmanager: `$ANDROID _HOME/cmdline-tools/bin/sdkmanager --sdk_ root=$ANDROID_HOME "platform-tools" "build-tools;34.0.0" "platforms;android-34" "cmdline-tools;latest"` "cmake;3.10.2.4988404" "ndk;23.2.8568313" You can also choose which version you want to download, just playing around wi...

how to install postgresql and use it with php on termux

first of all you need to install it: apt install postgresql then specify data dir for it by typing: initd -D YOUR_DATA_DIR example YOUR_DATA_DIR is /data/data/com.termux/files/home/mydb note that you don't need to make the dir first, you just need the dir name then initdb will create it automatically :) in this example like this: initdb -D /data/data/com.termux/files/home/mydb The files belonging to this database system will be owned by user "u0_a171". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory test ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... sysv selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Asia/Jakarta creating configuration files...