Chinese Citizen Apply for French Visa (Passport Talent) in USA with H1B Extension Pending Approval

My H-1B visa expired on Aug 28, 2020, and my employer in the US applied for an extension for H-1B on Aug 13, 2020. Per 240 days rule, I can legally stay in the US and continue to work while my extension is pending for approval with USCIS. I applied for a French visa last week (Passport Talent) as I”m relocating to France for work. I submitted 1) my original I-797 showing my H-1B was valid until Aug 28, 2020, 2) USCIS receipt on Aug 13, 2020 showing they have received my H-1B extension application, 3) USCIS’s explanation on 240 days rule. I received an email today from French Embassy asking me to provide additional documents to prove my legal stay in the US . Any advice on what kind of documents I should provide? Thanks!

javascript – Hide link formatting Firefox extension

I’m building a Mozilla Firefox extension to hide link’s formatting and show them as regular text. It consists of a script that runs on web-pages (content.js) that’s activated by clicking on the extension (handled with background.js). On activation, a CSS rule is injected to hide link’s formatting. Activating it again will shut changes off.

background.js additionally updates the extension’s icon (based on links being currently hidden or not) every time the active tab is changed.

I’m new to JavaScript. I’d really appreciate your comments and observations to improve it (best practices, code structure, etc).

Script that runs on web pages (content.js):

'use strict';

// Links formatting state variable
let hideLinks = false;
const hideLinksRule = `
a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none !important;
    color: inherit !important;
    background-color: inherit !important;
    border-bottom: initial !important;
}`;


let styleSheet = (function () {
    let style = document.createElement('style');
    document.head.appendChild(style);
    return style.sheet;
})();


function handleRequest(request) {
    
    // Do not modify if request is only a query
    if (request.isQuery) {
        return Promise.resolve({
            hideLinks
        });
    }

    // Toggle hide/show link formatting
    if (hideLinks) {
        styleSheet.deleteRule(0);
        hideLinks = !hideLinks;
    } else {
        styleSheet.insertRule(hideLinksRule, 0);
        hideLinks = !hideLinks;
    }

    // Return links state
    return Promise.resolve({
        hideLinks
    });

}


browser.runtime.onMessage.addListener(handleRequest);

Script to handle the extension on the browser (background.js):

// Icons paths
const showLinksIconPath = {
    path: 'icons/link-icon.png'
};
const hideLinksIconPath = {
    path: 'icons/broken-link-icon.png'
};


function onError(error) {
    browser.browserAction.setIcon(showLinksIconPath);
}


function updateIcon(response) {
    if (response.hideLinks) {
        browser.browserAction.setIcon(hideLinksIconPath);
    } else {
        browser.browserAction.setIcon(showLinksIconPath);
    }
}


function verifyTabStatus(activeInfo) {
    browser.tabs.sendMessage(
        activeInfo.tabId, {
            isQuery: true
        }
    ).then(updateIcon).catch(onError);
}


function activeTabLinkToggle() {
    browser.tabs.query({
        currentWindow: true,
        active: true
    }).then(requestLinkFormatToggle).catch(onError);                
}


function requestLinkFormatToggle(tabs) {
    
    if (!(tabs === undefined || tabs.length == 0)) {
        const activeTab = tabs(0);
        browser.tabs.sendMessage(
            activeTab.id, {
                isQuery: false
            }
        ).then(updateIcon).catch(onError);
    }

}


// Update Icon on tab change
browser.tabs.onActivated.addListener(verifyTabStatus);


// Request toggle link formatting on click
browser.browserAction.onClicked.addListener(activeTabLinkToggle);

Configuration file to put it together (manifest.json):

{

    "manifest_version": 2,
    "name": "No-link",
    "version": "1.0",

    "description": "Hide link formatting.",

    "icons": {
        "48": "icons/link-icon.png"
    },


    "permissions": (
        "tabs"
    ),


    "browser_action": {
        "default_icon": "icons/link-icon.png",
        "default_title": "No-link"
    },


    "background": {
        "scripts": ("background.js")
    },
    
    "content_scripts": (
        {
            "matches": ("<all_urls>"),
            "js": ("content.js")
        }
    )

}

You can also get the source code here.
Thank you very much for your time.

Unable to join google meet when WebRTC Control extension is enabled in Google Chrome

I am unable to join google meet whenever WebRTC Control extension is enabled in Google Chrome.
This is the error I am getting:

Couldn't start the video call because of an error.

So every time I had to disable the extension before joining the meeting. Why is that so? And after joining the meeting it is completely okay to enable the extension again.

computer architecture – Risc-V extension for dismissible loads

Certain architectures have “dismissible loads” in addition to normal loads: when the load is denied, instead of issuing an exception (leading to a segmentation fault), a default value (e.g., zero) is written to the destination register. This allows the compiler to move loads before a conditional branch, which may be important for performance on non speculative cores.

I was wondering if there was a Risc-V extension for this. I haven’t found any.

Chrome extension security – Information Security Stack Exchange

I am a newbie in crypto-assets.

I want to install a chrome extension called metamask. I do not trust this kind of software. (Maybe because i am a newbie)

What i want to do is to know what a chrome extension can do on my computer ? Is it possible for example for a chrome extension to read a local file, sniff my network interface, keylog my keyboard ?

Does chrome extension run in a sandbox (like a javascript in a webpage for example)

Thanks

sharepoint online – How to update SPFx extension instances tenant wide automatically?

In SPFx, I deployed a listviewcommandset extension to add a context menu option to list items. After adding to app catalogue, I had to manually add the app to the site. And then to update it, I had to delete the app from the site and recycle bin, increase the version number, re deploy the app to the catalogue and then add the app to the site again. Is there a way I can simplify the process and have it so that once I deploy, all sites just get the update automatically?

product – Magento 1.9: I need to move the Pincode checker extension above Add to cart button

I am developing the website called cravestore.in. I want to move my Pincode Checker extension above the add to card image like image#2. I was able to do that from inspect element but I can’t find the exact file where I can do changes. Also, I have searched file using template path hints but I can’t find the exact path or file. Attached are the screenshots. Also I want to know how do I know the exact source of the file I am editing in inspect console of Google Chrome.

enter image description here
enter image description here

usa – I-539 Visa Extension Question

My husband is an American citizen, we filled the I-130 in May 2020. I came to visit him in March using my tourism visa. However, I was supposed to return in April to Colombia (my home country) but I haven’t been able to return because the border is closed due to COVID-19. So, in July I filled the I-539 online to extend my tourism visa.

I am really worried because my last day on my I-94 is SEP-16, and the border is still closed. On SEP-19, Colombia might open the border but it is not sure. I had a return flight booked for SEP-6 but it was also canceled. USCIS has not answered my visa extension, they can take up to 5 months. Should I update my I-539 application with a new letter explaining that the flight for SEP-6 was also canceled? Do you think that if I overstay this is going to affect my I-130 application? Is there someone in the same situation as me? Has somebody applied for a visa extension?

sharepoint online – Show or hide SPFx extension based on user permissions

I like to show or hide extension as per user permission in SPFx ,suppose if user present in SP-group extension is visible or hide it

 @override
  public onListViewUpdated(event: IListViewCommandSetListViewUpdatedParameters): void {
    var Libraryurl = this.context.pageContext.list.title; 
   
    
    const compareTwoCommand: Command = this.tryGetCommand('COMMAND_2');
    if (compareTwoCommand) {
      // This command should be hidden unless exactly one row is selected.
      const listname:string =this.context.pageContext.list.title
      const Librarylistname:string ="Documents"
      
      compareTwoCommand.visible =(event.selectedRows.length > 0 && Libraryurl == "Documents" )
    }
  }

sharepoint online – show hide extension user permission

I like to show or hide extension as per user permission in spfx ,suppose if user present in SP-group extension is visible or hide it

 @override
  public onListViewUpdated(event: IListViewCommandSetListViewUpdatedParameters): void {
    var Libraryurl = this.context.pageContext.list.title; 
   
    
    const compareTwoCommand: Command = this.tryGetCommand('COMMAND_2');
    if (compareTwoCommand) {
      // This command should be hidden unless exactly one row is selected.
      const listname:string =this.context.pageContext.list.title
      const Librarylistname:string ="Documents"
      
      compareTwoCommand.visible =(event.selectedRows.length > 0 && Libraryurl == "Documents" )
    }
  }