TL;DR: you can force opening a new Window over a new Tab, but not the other way around.
Background information: [Wayback/Archive] javascript – Open a URL in a new tab (and not a new window) – Stack Overflow.
Posted by jpluimers on 2025/01/28
TL;DR: you can force opening a new Window over a new Tab, but not the other way around.
Background information: [Wayback/Archive] javascript – Open a URL in a new tab (and not a new window) – Stack Overflow.
Posted in Chrome, Development, Firefox, JavaScript/ECMAScript, Opera, Power User, Safari, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2024/09/10
There are quite a lot of cool responses to b0rk asking this a while back: [Wayback/Archive] 🔎Julia Evans🔍 on Twitter: “does anyone know of a good demo (blog post / video) of how to use a Javascript debugger in a browser to investigate a bug? I’ve used debuggers in C but never Javascript”
Archived just in case I need to do more web development stuff.
Posted in Chrome, Development, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2024/08/27
I put the proper Bookmarklet wrapper around the functions from Bookmarklet for Archive.is to navivate to the canonical link (because especially Firefox needs them):
An immediately invoked function that returns no value or an expression preceded by the
voidoperator will prevent the browser from attempting to parse the result of the evaluation as a snippet of HTML markup:javascript:(function(){ //Statements returning a non-undefined type, e.g. assignments })();
It means they now have become these:
javascript:(function(){location=document.querySelector('link[rel="canonical"]')?.href})();
javascript:(function(){prompt("Anchor",document.querySelector('link[rel="canonical"]')?.href)})();
--jeroen
Posted in archive.is / archive.today, Archiving, Bookmarklet, Chrome, Development, Firefox, Internet, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/08/11
Interesting take of which I was subconsciously aware for a while as well: [Wayback/Archive] Thom :linux: :kde: :systemd:: “My concerns about the future o…” – Exquisite.social
My concerns [www.osnews.com] about the future of Firefox keep becoming reality [www.osnews.com] and yet nobody who relies on Firefox – Canonical, Fedora, KDE, GNOME, etc. – seem to give a shit.
Y’all realise Mozilla is about to lose 80% of its revenue, right? And y’all do understand what this will mean for Firefox, right? Why aren’t you taking any steps or making any plans to prepare for what this will inevitably mean for the most important and crucial desktop Linux application?
I feel like Kassandra [en.wikipedia.org] over here.
It is not a Desktop Linux problem alone: it is a Firefox problem at heart which will also (and in much larger numbers) affect other platforms as it also means one less browser engine: the Gecko browser engine used by Firefox and other browsers highly depends on Mozilla funding.
Given the long lasting keyboard productivity problems in Firefox on MacOS and Windows (even without any extensions installed), I don’t think that my frequency of Firefox usage will increase beyond occasional use.
A few examples hampering power usage of Firefox:
Posted in Development, Firefox, Power User, Software Development, Web Browsers, Windows Development, xCode/Mac/iPad/iPhone/iOS/cocoa | Leave a Comment »
Posted by jpluimers on 2024/08/08
Last year I posted about Some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs.
It depended on HighlanderComments to exist in order for getting its .connectURL which contains the canonical blog post URL (i.e. from https://wiert.me it obtains https://wiert.wordpress.com).
Nowadays HighlanderComments does not always exist, but in that case <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://wiert.wordpress.com/xmlrpc.php?rsd"> does exist.
Its’ href value can be obtained by querying document.querySelector('link[rel="EditURI"]').href and truncate it, so I made some conditional code that first tries the HighlanderComments and defers code obtaining it from the link element I mentioned above.
I also added proper Bookmarklet wrappers so the function results don’t leak to the console or Browser (Firefox really does not like Bookmarklets without this wrapper).
javascript:(function(){
//Statements returning a non-undefined type, e.g. assignments
})();
Firefox also dislikes pasting code into the development console.
Code:
Posted in Bookmarklet, Chrome, Development, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/07/14
[Wayback/Archive] funnymonkey: “To disable Mozilla’s data grab…” – Free Radical
To disable Mozilla’s data grab,
- enter:
about:preferences#privacyin the address bar.
- Then, scroll down to “Website Advertising Preferences” and
- DESELECT the option for “Allow websites to perform privacy-preserving ad measurement“
--jeroen
Posted in Firefox, Power User, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/06/03
Very useful Web Browser extensions (which you can also use in Edge, see [Wayback/Archive] Add, turn off, or remove extensions in Microsoft Edge – Microsoft Support).
Via [Wayback/Archive] 𝚑𝚎𝚗𝚔 𝚟𝚊𝚗 𝚎𝚜𝚜 on X: “Sick of seeing the web just locally when using Google? Use Google Search location changer to end this problem. Chrome: … Firefox: …”
--jeroen
Posted in Chrome, Chrome, Firefox, Google, Power User, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/05/31
Having been a avid uBlock Origin user since when it came out in 2014 even before both Adblock and Adblock Plus headed over to the dark side.
I need to check out if [Wayback/Archive] uBlock Origin Lite is good enough now that Google is phasing out Manifest V2 (on which uBlock Origin and other ad blockers depend to provide full functionality).
When it isn’t, I might switch to Firefox or Brave as it should still support Manifest V2 as per
Firefox for instance has some drawbacks with input handling when editing WordPress posts which Chromium based web-browsers (including Brave) don’t have.
Via:
Related:
Posted in Chrome, Chrome, Firefox, Google, Power User, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/04/29
[Wayback/Archive] Grant Gulovsen: “Someone recently posted a hot tip about adding “before:2023” to Google web searches and I forget who it was but wow what a huge difference it makes. So thank you to whoever that was. It gets rid of so much AI-generated SEO crap.” – Mastodon
The actual source seemed to be either of these:
Posted in Chrome, Chrome, Firefox, Google, GoogleSearch, Power User, Web Browsers | Leave a Comment »
Posted by jpluimers on 2023/12/11
[Wayback/Archive] Frederik Braun �: “Annoyed that a website is doin…” – security.plumbing
Annoyed that a website is doing something custom on right-click?
Did you expect the browser’s context menu (Back, Reload, Save Page As, View Source etc.)?Just hold the ⇧Shift key while clicking and Firefox will show the built-in context menu.
It reminded me of Windows 11 first crippling the context menu, then allowing shift right-click to show the Windows 10 context menu:
Posted in Firefox, Power User, Web Browsers, Windows, Windows 10, Windows 11 | Leave a Comment »