• Running user scripts in an Android browser?

    From luserdroog@21:1/5 to All on Wed Apr 20 10:29:22 2022
    Not sure if this is OT as it's more about the operating environment
    than the language per se, but ... I've written some javascript to
    extract data from a webpage DOM and present it in a format more
    to my liking. I can run it on a desktop or laptop by loading the
    web page in Firefox and pasting my script into the console.

    But none of the browsers on my phone offer a javascript console.
    Does anyone know of a workaround for this or and Android browser
    with more hackability?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From retired developer@21:1/5 to luserdroog on Thu Apr 21 00:59:32 2022
    On 20.04.22 19:29, luserdroog wrote:


    But none of the browsers on my phone offer a javascript console.
    Does anyone know of a workaround for this or and Android browser
    with more hackability?

    what about using google and the keywords like:
    "chrome developer tools on mobile"
    of course, without quotes?

    there are several hits, like:

    https://dev.to/dev0x0/using-google-chrome-console-on-any-mobile-device-9ec

    https://support.dynamicyield.com/hc/en-us/community/posts/360009429757-How-to-Debug-Mobile-Experiences-in-the-Desktop-Chrome-s-Developer-Tools-


    Have a nice day...

    --
    An old Windows has old security holes.
    A new Windows has new security holes.
    Another OS has other security holes.
    For safety you must care yourself.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luserdroog@21:1/5 to retired developer on Sat Apr 23 18:55:17 2022
    On Wednesday, April 20, 2022 at 5:59:41 PM UTC-5, retired developer wrote:
    On 20.04.22 19:29, luserdroog wrote:


    But none of the browsers on my phone offer a javascript console.
    Does anyone know of a workaround for this or and Android browser
    with more hackability?
    what about using google and the keywords like:
    "chrome developer tools on mobile"
    of course, without quotes?

    there are several hits, like:

    https://dev.to/dev0x0/using-google-chrome-console-on-any-mobile-device-9ec

    https://support.dynamicyield.com/hc/en-us/community/posts/360009429757-How-to-Debug-Mobile-Experiences-in-the-Desktop-Chrome-s-Developer-Tools-


    Have a nice day...


    Thanks, with much fiddling I was able to get it to work but only when
    connected over USB to a laptop also running chrome. Not quite the
    workflow I was hoping for. So I put my code in an email to the website
    support with screenshots and an explanation of why their output wasn't
    quite right and needed help of this sort.

    So, maybe they'll fix it for me and then I won't have to run a user script
    at all. fingers crossed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Sun Apr 24 15:05:48 2022
    luserdroog:

    Not sure if this is OT as it's more about the operating environment
    than the language per se, but ... I've written some javascript to
    extract data from a webpage DOM and present it in a format more
    to my liking. I can run it on a desktop or laptop by loading the
    web page in Firefox and pasting my script into the console.

    But none of the browsers on my phone offer a javascript console.
    Does anyone know of a workaround for this or and Android browser
    with more hackability?

    Nope. As far I know all mobile browsers rely on desktop computers via
    USB to provide debugging via the desktop version of the respective browser.


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luserdroog@21:1/5 to Arno Welzel on Mon May 2 22:01:20 2022
    On Sunday, April 24, 2022 at 8:05:54 AM UTC-5, Arno Welzel wrote:
    luserdroog:
    Not sure if this is OT as it's more about the operating environment
    than the language per se, but ... I've written some javascript to
    extract data from a webpage DOM and present it in a format more
    to my liking. I can run it on a desktop or laptop by loading the
    web page in Firefox and pasting my script into the console.

    But none of the browsers on my phone offer a javascript console.
    Does anyone know of a workaround for this or and Android browser
    with more hackability?
    Nope. As far I know all mobile browsers rely on desktop computers via
    USB to provide debugging via the desktop version of the respective browser.


    Thanks, I've turned to a more elaborate, but probably more fun route.
    I installed Fdroid and then Termux and inside Termux I got emacs,
    git, and nodejs appearing to work (still need to get evil mode going).
    So I can either save the page from the browser and then manipulate
    the saved html, or fetch the page without a browser and use an html
    parser or something like `cheerio` to generate a DOM that I can then
    query.

    My other option is to write my own html parser in like C or something.
    That sounds like a lotta work, sigh.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?SMOkcnJhIFJhYm1v?=@21:1/5 to All on Wed Jul 6 09:15:02 2022
    Hey guy. Would You want to get rich with me doing programming? If yes, call me !!!!!!!!!

    ✆☎☏📱📞 : 372 53900660


    luser...@gmail.com kirjutas Kolmapäev, 20. aprill 2022 kl 19:29:27 UTC+2:
    Not sure if this is OT as it's more about the operating environment
    than the language per se, but ... I've written some javascript to
    extract data from a webpage DOM and present it in a format more
    to my liking. I can run it on a desktop or laptop by loading the
    web page in Firefox and pasting my script into the console.

    But none of the browsers on my phone offer a javascript console.
    Does anyone know of a workaround for this or and Android browser
    with more hackability?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)