An open API service indexing awesome lists of open source software.

https://github.com/wtf-design/wp-ui-tweaks

Quality of life tweaks for WordPress developers, a countepart to our concrete-ui-tweaks
https://github.com/wtf-design/wp-ui-tweaks

userscript

Last synced: about 1 month ago
JSON representation

Quality of life tweaks for WordPress developers, a countepart to our concrete-ui-tweaks

Awesome Lists containing this project

README

          

# ![WP](wp-wtf-gradient-optimized.svg) WTF WP UI Tweaks
User script for augmenting WordPress development and administration.

## Requirements
- A user script host extension in your web browser
- [Violentmonkey](https://violentmonkey.github.io/) is recommended

## Installation
- [Click here](https://github.com/WTF-Design/wordpress-ui-tweaks/raw/main/script.user.js) to install/update

## Features
- A login button for simple sites from simple developers

## Changelog
2.3.0
- Supply dummy HTTP Basic Authentication header to avoid both the pop-up dialog
and maintaining an ever-growing site exclude-list.

2.2.0
- Move a bunch of supposed early returns to where they should be to reduce the
number of login page requests on decidedly non-wp sites.

2.1.2
- Disable running on bare IP HTTP URLs because the upgrade-insecure-requests meta
tag might interfere with router admin interfaces and such

2.1.1
- Only try run on HTML documents as not to generate errors on SVG etc.
- Exclude thegeekstuff.com

2.1.0
- Exclude howtosolutions.net

2.0.0
- Added support for per-site custom WP login URL setting accessible as a
ViolentMonkey menu option just under the script itself. For cases where the
login is placed in a subdirectory or obfuscated by a custom URL or query
string. Uses [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
so the URLs are naturally divided per protocol, domain and port and never
leave your browser.

1.9.6
- Consider the presence of Breakdance Builder as sign of logged-innes.

1.9.5
- Exclude tecadmin.net.

1.9.4
- Replaced `@include` list with an `@exclude` list. The rationale is omitting
`@include`s should have the same effect as the `@include *` we were using
previously and the newly introduced `@exclude` is meant to curtail any HTTP
Basic Authentication prompts on sites which have chosen to use that to
protect their login page

1.9.3
- Up those rookie numbers.

1.9.2
- Fix admin detection to look for #adminbar in addition to .wp-admin.

1.9.1
- Fix site detection to also look for href links into wp-content, not just src.

1.9.0
- Upgrade insecure requests to counteract /wp-admin redirects resulting in
script blockage from mixed active content loading

1.8.0
- Fix login symbol vertical alignment where affected by site styles.

1.7.0
- Improve login page detection by looking for `/wp-admin` instead of
`/wp-login.php`. On tested sites the former seems to redirect to actual login
page when it has been changed from the latter to something else
- Improve performance by reordering early exit conditions and removing
unnecessary operations.

1.6.1
- Cleanup

1.6.0
- Finish animation cycle before pausing on mouseleave

1.5.0
- Animate login button on hover to give some user feedback

1.4.0
- Semantic versioning and improved logged-innes detection

1.3.20240910
- Supply in-house icon, disassociate from any official WP branding

1.2.20240906
- Don't run in iframes

1.1.20240905
- Switch to using a login icon instead of the WordPress one

1.0.20240904
- Initial release

## Aknowledgements
Uses [Google Material Symbols](https://fonts.google.com/icons) under the [Apache License Version 2.0](Google-Material-Symbols-LICENSE.txt) modified for animation.