• 1 Post
  • 110 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle




  • I thought so too at first, but my version seems to be made for multiple countries (even if it’s not equally binding), so I assume the same is true for East-European countries;

    then again, Snoy is notoriously stingy with countries allowed to have PSN accounts, maybe they do have country-tailored licenses, and use vague language such as “accoring to local applicable laws” only to muddy the waters in case they do get in trouble.
    Or maybe their web devs just underpaid | micromanaged | burned out | lazy.








  • As far as the content of the EULA, sure, use the laws of the request’s IP address; the rest of the website, however, does not allow you to select a different localization, only the place of origin.

    Furthermore, rarely do I see EULAs that aren’t written in English, and it’s not like the EULA in question is not a generic one translated for my country:

    […] [non] influiscono su eventuali garanzie o garanzie legali dell’utente in qualità di consumatore ai sensi delle leggi locali applicabili (ad esempio, diritti dell’utente in caso di malfunzionamento del Software)

    Non-lawyerly translation:
    […] [do not] affect the legal rights of the user as a consumer accoring to local applicable laws (for example, the rights of the user in case of Software malfunction)

    … which means either someone bothered localizing a generic EULA, or that excerpt is the legal version of “unless it’s illegal idk im not a lawyer”.






  • Here it is:

    #!/usr/bin/zsh
    
    nl=$'\n'
    dnl=$'\n\n'
    
    url=$1
    msgcontent=$url; shift
    argi=1
    for arg ($@); do
        argi=$(($argi + 1))
        msgcontent=${msgcontent}${nl}Argument\ ${argi}': '${arg}
    done
    
    title="${0:A}"
    msg="An application attempted to open a web page:${dnl}\"${msgcontent}\"${dnl}Copy the URL to clipboard?"
    
    kdialog --title $title --yesno $msg
    answer=$?
    
    if [[ $answer = 0 ]]; then wl-copy $url; fi
    

    If you want to translate it to Bash, keep in mind that arrays behave differently between the two shells, and syntax like for arg ($@); do would likely misbehave or not work at all.

    Also, there’s an issue where some applications do something weird, and the URL seems to be a zero-length argument. I have absolutely no idea what’s up with that.


  • You can set some browser-unrelated program or script as your desktop environment’s default browser, for example I wrote a Zsh script that creates a KDE dialog and asks me to copy the URL to the clipboard.

    I’m not currently at my PC, but if you want it I can paste it in a comment here when I get to it - it shouldn’t be too hard to translate it to Bash, either.

    Other than that? /usr/bin/true is a pretty nice default browser for applications to start without your consent, very minimal and lightweight.