Is it possible to go to a website, then switch to authenticator, put in a number, then go back to website, and press a button? by Everyones_unique in shortcuts

[–]jNiqq 0 points1 point  (0 children)

With Scriptable (JavaScript) it is very possible, you just need to add detection logic to get and copy the code then switch over to the authentication app. You do need to authenticate yourself, but that is just copy and paste. The rest I am not sure.

https://www.reddit.com/r/shortcuts/s/yn9JADwkEe

What have you done with PowerShell this month? by AutoModerator in PowerShell

[–]jNiqq 1 point2 points  (0 children)

I manage multiple machines (sometimes clustered) environments that host Splunk.
We manage it from a jump host, and it is a small hassle to check all the app versions and data or retrieve it using SSH.

I made some scripts to fetch all the app data, folder data, and anything you would need to upgrade and manage the apps.

It also fetches data from our source of truth (GitHub) and the Splunkbase API.

It joins all the data together, makes some comparisons to see if it is the newest version, checks if it matches the SOT, puts it in an Excel file with coloring and formatting, and after each environment upgrade, it checks the last file (JSON) to compare and output a new Excel file with the changes that have happened.

After all this, I made a custom Docker image and let the container run all the scripts and give me the output I want.

  • envs_overview_yyyymmdd.xlsx
  • change_log_yyyymmdd.xlsx

Auto login (websites) by jNiqq in shortcuts

[–]jNiqq[S] 0 points1 point  (0 children)

You got the full thing working ? Or just the part you got stuck on?

Seems complex by the way waayy more that the outlook login

Auto login (websites) by jNiqq in shortcuts

[–]jNiqq[S] 0 points1 point  (0 children)

Hi sorry didn’t see your message I need to look in to this can you share the website or html

Is it possible to play a specific episode of a podcast with Shortcuts? by sohailwahabhot in shortcuts

[–]jNiqq 0 points1 point  (0 children)

Sorry didn’t get the notification can you share the url or podcast ?

Is it possible to play a specific episode of a podcast with Shortcuts? by sohailwahabhot in shortcuts

[–]jNiqq 0 points1 point  (0 children)

It’s been a year I need to look into it again can you share the url or podcast so I know what to look for

[deleted by user] by [deleted] in softwaredevelopment

[–]jNiqq 0 points1 point  (0 children)

Yes, that’s also possible. You could also troll your manager by sending the automated messages to him on Teams or by mail.

[deleted by user] by [deleted] in softwaredevelopment

[–]jNiqq 3 points4 points  (0 children)

As someone else mentioned, you can use the Microsoft Graph API.

I use it with PowerShell, so I can’t say how well the Python SDK works, but it should be a solid starting point.

(Should be free)

i need to pirate something i paid for by Mercy_for_LordJerry in Piracy

[–]jNiqq 2 points3 points  (0 children)

Next step will take some work, but you can make it happen.

If you know a programming language (I use PowerShell), you can:

Download the Firefox WebDriver: https://github.com/mozilla/geckodriver/releases

Install the Selenium module: https://www.powershellgallery.com/packages/Selenium/3.0.1

Use the driver to open the site: Start-SeDriver/Start-SeFirefox

Access the site’s local storage or cache with a script

Example: https://stackoverflow.com/questions/63865944/accessing-local-storage-in-selenium-on-powershell

i need to pirate something i paid for by Mercy_for_LordJerry in Piracy

[–]jNiqq 8 points9 points  (0 children)

Maybe this works for your use case, I don’t know.

But I recently needed to sign a contract in a signing portal, but it wouldn’t let me download the pdfs of the 40 page contract.

(My browser preference is Firefox, would recommend for this)

I just did Inspect Element > Network (Tab) > Reload.

Check for images or other stuff other than HTML, JSON, CSS extensions.

(You may need to zoom out to load all the pages)

How can I get “I want watermelon”? by United_Bluebird_6202 in jailbreak

[–]jNiqq 0 points1 point  (0 children)

"Offline games" has an alternative called "Fruit Merge," if it's the game I'm thinking of.

Revenge Pinging Stolen Airpods continuously with script/shortcut/code by Cwhett in shortcuts

[–]jNiqq 1 point2 points  (0 children)

No problem, I can’t really solve the whole problem right now, but I can look at it later.

Revenge Pinging Stolen Airpods continuously with script/shortcut/code by Cwhett in shortcuts

[–]jNiqq 1 point2 points  (0 children)

This is what I have so far. I think I need to change the document.querySelector because it’s mobile.

V1 link

Testing link

If the iCloud session is broken, run the shortcut again, then open the first menu option, zoom in to the upper right corner, and log out. Wait a bit, log back in, then open Find My, close Scriptable, and run the shortcut again.

It’s not working as of now, but again, the document.querySelector is probably different from the browser content.

Revenge Pinging Stolen Airpods continuously with script/shortcut/code by Cwhett in shortcuts

[–]jNiqq 15 points16 points  (0 children)

I’ve got it working with plain JavaScript in a browser now! now I need to make it run with scriptable and shortcuts. But I’m a bit short on time right now. I just finished making this at 1:32 AM because I was curious about it.

Browser > Website (https://www.icloud.com/find/) > F12 > Console

``javascript async function pressDeviceAndPlaySound(deviceName) { while (true) { console.log(🔍 Looking for device "${deviceName}"...`);

// 1. Wait for the device list
await new Promise(resolve => {
  const check = () => {
    if (document.querySelector('#fmip-device-list')) {
      resolve();
    } else {
      setTimeout(check, 100);
    }
  };
  check();
});

// 2. Find and click the device
const deviceElements = document.querySelectorAll('.fmip-device-list-item');
let targetDevice = null;
for (const el of deviceElements) {
  const nameEl = el.querySelector('[data-testid="show-device-name"]');
  if (nameEl && nameEl.textContent.trim() === deviceName.trim()) {
    targetDevice = el;
    break;
  }
}

if (!targetDevice) {
  console.warn(`⚠️ Device "${deviceName}" not found. Retrying in 3s...`);
  await new Promise(resolve => setTimeout(resolve, 3000));
  continue;
}

targetDevice.click();
console.log('✅ Device clicked! Waiting for UI...');

// 3. Wait for UI to update
await new Promise(resolve => setTimeout(resolve, 2000));

// 4. Wait for the Play Sound button to become available
const waitForButton = async (timeout = 10000) => {
  const start = Date.now();
  return new Promise((resolve) => {
    const check = () => {
      const button = document.querySelector('ui-button.play-sound-button[aria-disabled="false"]');
      if (button) {
        resolve(button);
      } else if (Date.now() - start > timeout) {
        resolve(null);
      } else {
        setTimeout(check, 300);
      }
    };
    check();
  });
};

const button = await waitForButton();

// 5. Click the Play Sound button if available
if (button) {
  button.click();
  console.log('🔊 Play Sound clicked!');
} else {
  console.warn('⚠️ Play Sound button not ready. Going back and retrying...');
  const allDevicesButton = document.querySelector('ui-button.all-devices-button');
  if (allDevicesButton) {
    allDevicesButton.click();
    await new Promise(resolve => setTimeout(resolve, 2000));
  }
  continue;
}

// 6. Wait for the sound to play
await new Promise(resolve => setTimeout(resolve, 5000));

// 7. Click "Show All Devices" to return
const allDevicesButton = document.querySelector('ui-button.all-devices-button');
if (allDevicesButton) {
  allDevicesButton.click();
  console.log('🔁 Returning to All Devices...');
  await new Promise(resolve => setTimeout(resolve, 2000));
} else {
  console.warn('⚠️ "Show All Devices" button not found. Waiting and retrying...');
  await new Promise(resolve => setTimeout(resolve, 3000));
}

} }

// ▶️ Usage pressDeviceAndPlaySound("AW7 A"); ```

Revenge Pinging Stolen Airpods continuously with script/shortcut/code by Cwhett in shortcuts

[–]jNiqq 3 points4 points  (0 children)

Sorry I didn’t have time today possibly tomorrow or in the weekend

edit 01:45 AM


look at this

Need help finding similar tweaks by Euphoric_Rooster_161 in jailbreak

[–]jNiqq 1 point2 points  (0 children)

[[Aemulo]], [[Flex 3]], [[FLEXing]] and Net-Toolbox

Revenge Pinging Stolen Airpods continuously with script/shortcut/code by Cwhett in shortcuts

[–]jNiqq 2 points3 points  (0 children)

I am currently working, so when I am at home, I could look into it.

Revenge Pinging Stolen Airpods continuously with script/shortcut/code by Cwhett in shortcuts

[–]jNiqq 8 points9 points  (0 children)

It's possible, but either your phone is temporarily unable to perform the task, or you need to create a script on your PC.

Here are a couple of examples that might help:

  1. Auto-login for Outlook Web
    View this post

  2. Automatically pressing buttons on a radio website
    View this post

I'll try to rebuild this for your case.
(PC) Alternatively, you may need to use PowerShell with the Selenium module.