2025-12-28 04:42:00
Bear Analytics are sorted by the number of page views within the selected timeframe, with no sorting options available.
So I wrote a little script that sorts by toast count. I wanted to make this a plugin you install via your BearBlog Dashboard, but plugins do not load on the analytics page. SO, to use this script, you'll make a bookmark in your browser. (see below)
Default Sorting
Sorted by Toast
To use this plugin:
Now, visit your analytics page, and when you click that bookmark, it will run this little script and sort your analytics. When you refresh the page, it'll go back to normal.
The Code:
javascript:
/* make sure we're on the analytics page */
if (window.location.href.includes("/analytics/")){
/* search through <h3> nodes to find 'Pages' header. */
h3s = document.querySelectorAll('h3');
ul = null;
for (h3 of h3s){
if (h3.innerText.trim() == 'Pages'){
/* Get the post list's container node */
ul = h3.parentNode.querySelector('ul');
break;
}
}
/* Loop over every analytics entry.
Get the toast count of each entry.
Create an array which we will use for sorting. */
lis = ul.querySelectorAll('li');
sortables = [];
for (li of lis){
small = li.querySelector('small');
if (small == null){
/* there is no toast count for this entry */
sortables.push([-1, li]);
} else {
/* extract the NUMBER from the toast count text */
num = small.innerText.match(/[0-9]+/)[0];
sortables.push([num, li]);
}
/* Remove the list item, because we will re-add it after sorting */
ul.removeChild(li);
}
/* Sort the list items by their toast counts */
sorted = sortables.sort(
function(a, b){
return b[0]-a[0];
}
);
/* re-add all list items in the new order */
for (item of sorted){
ul.appendChild(item[1]);
}
}
2025-12-24 04:10:00
I previously posted Shark Toast Button, which has a snippet of code to add attribution to the footer of your blog. On paid blogs, the attribution text would display twice because there is an extra <footer> node when you upgrade.
The OLD attribution code was:
/** attribution **/
footer::before {
display: block;
content: "Shark Toast icons by Puckung on Flaticon";
}
The NEW (fixed) attribution code is:
/** attribution **/
body > footer::before {
display: block;
content: "Shark Toast icons by Puckung on Flaticon";
}
This CSS goes in your blog's theme. You can either remove the old attribution code & copy+paste the new one or simply add body > in front of the footer::before code.
Better Attribution for Paid Blogs:
NOTE: If you have a paid blog, you can add the attribution as HTML in your footer directive.
On your Dashboard, go to Settings -> Header & footer directives then paste this into Footer directive::
<span>Shark Toast icons by <a href="https://www.flaticon.com/packs/shark-14520784?word=shark">Puckung on Flaticon</a></span>
You would then also want to remove the attribution css code from your blog's theme.
2025-12-24 03:56:14
What Bear's social media refugees have in common | The Grizzly Gazette
2025-12-23 15:51:00
Charlie Kirk said
I think it's worth it. I think it's worth to have a cost of, unfortunately, some gun deaths every single year so that we can have the Second Amendment to protect our other God-given rights.
I've never liked that this particular quote is used to drag Charlie Kirk. I think he was awful, had awful politics, and advocated for horrible things.
But this quote, to me, is just not it. It's calloused, sure. It's cold, yes. There were 40,832 gun deaths in 2024
But what about cars? 38,604 deaths
Heart disease: 688,117
Yet we still have cars and we still allow salt in our food.
I'm personally not ready to say it's "worth it". It feels wrong to say that.
But the things we have in this life do not come without a cost. Not car ownership, not salt, and not guns.
I think our gun laws need major reform in the U.S. I don't think Charlie Kirk did. I do think we should have guns though.
I've been pro gun for a long time. Pro gun regulation AND pro gun. And a big part of that, the main part, is for the opportunity to stand against tyranny, something we are facing NOW in America.
I don't want the guns to come out, of course. Violence is abhorrent. But still, it's why I'm pro gun.
2025-12-23 07:03:00
Below is a collection of RSS related Tools and resources I have discovered. A few are still listed on my Getting Started with RSS page, but only the ones that regular (non-power) users might actually find useful.
Email reed [at] reedybear [dot] com to suggest a tool for this list. I check my email every 2 weeks or so. You can tell me about tools you've made, or tools you've found.