No description
  • JavaScript 95.6%
  • HTML 4.4%
Find a file
2017-11-03 14:55:45 +11:00
js Merge branch 'master' of https://github.com/samjdavis13/WordPressAdminExtension 2017-11-03 14:55:45 +11:00
.gitignore Load wp-admin rather than wp-login.php 2017-10-06 13:34:21 +11:00
icon.png initial commit 2016-07-04 14:40:23 +10:00
Icon.sketch Add new icon for later use 2017-11-03 14:55:04 +11:00
index.html Move to yarn for package management 2017-10-06 13:34:11 +11:00
Info.plist Load wp-admin rather than wp-login.php 2017-10-06 13:34:21 +11:00
loader.png Add new icon for later use 2017-11-03 14:55:04 +11:00
package.json Move to yarn for package management 2017-10-06 13:34:11 +11:00
readme.md Bootstrap new file structure 2016-07-04 14:47:05 +10:00
Settings.plist Add jquery 2016-07-05 10:51:07 +10:00
yarn.lock Move to yarn for package management 2017-10-06 13:34:11 +11:00

WordPressAdmin Algorythm

A Safari Extension to take the user to the WordPress Login page for the current active tab, [hopefully] if it exists.

On page load:

  • Disable button
  • If admin url already saved for this domain
    • Enable button
  • else
    • If site is WordPress
      • while there are more url subdirectories
        • if siteURL + /possibleSubdirectory + /wp-admin is not a 404 page
          • Save the admin url for this domain
          • Enable button
        • break out of loop

On button press:

  • Redirect to admin url for this domain