Skip to content

Instantly share code, notes, and snippets.

View nbhasin2's full-sized avatar

Nishant Bhasin nbhasin2

View GitHub Profile
@nbhasin2
nbhasin2 / sample_experiment_mr2_100.json
Last active January 11, 2022 22:05
sample_experiment_mr2_100
{
"data": [
{
"appId": "org.mozilla.ios.Fennec",
"appName": "firefox_ios",
"application": "org.mozilla.ios.Fennec",
"arguments": {},
"branches": [
{
"feature": {
@nbhasin2
nbhasin2 / temp_experiment.json
Last active May 20, 2022 15:11
temp_experiment.json
{
"data": [
{
"appId": "org.mozilla.ios.Fennec",
"appName": "firefox_ios",
"application": "org.mozilla.ios.Fennec",
"arguments": {},
"branches": [
{
"feature": {
@nbhasin2
nbhasin2 / LoginManagerChild.jsm
Last active August 18, 2022 05:09
LoginManagerChild.jsm
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* Module doing most of the content process work for the password manager 2.
*/
// Disable use-ownerGlobal since LoginForm doesn't have it.
/* eslint-disable mozilla/use-ownerGlobal */
@nbhasin2
nbhasin2 / hellos1.json
Last active August 24, 2022 20:55
hellos1.json
{
"permissions": {},
"data": [{
"schemaVersion": "1.8.0",
"slug": "ios-test",
"id": "ios-test",
"arguments": {},
"application": "org.mozilla.ios.Fennec",
"appName": "firefox_ios",
"appId": "org.mozilla.ios.Fennec",
@nbhasin2
nbhasin2 / Ex1_AssociatedUniversal.md
Last active September 8, 2022 14:29
Example1 - Associated Domain Universal Link Markdown

Example 1 image

<key>com.apple.developer.associated-domains</key>
<array>
	<string>applinks:universallink.page</string>
</array>

Example 2

image

<key>com.apple.developer.associated-domains</key>
<array>
	<string>applinks:universallink.page?mode=developer</string>
</array>
{
"applinks": {
"apps": [],
"details": [
{
"appID": "9JA89QQLNQ.com.apple.wwdc",
"paths": [ "/wwdc/news/", "/videos/wwdc/2015/*"]
},
{
"appID": "ABCD1234.com.apple.wwdc",
{
"applinks": {
"details": [
{
"appIDs": [ "ABCDE12345.com.example.app", "ABCDE12345.com.example.app2" ],
"components": [
{
"#": "no_universal_links",
"exclude": true,
"comment": "Matches any URL with a fragment that equals no_universal_links and instructs the system not to open it as a universal link."